User`s guide

mlreportgen.dom.TableEntry class
12-291
mlreportgen.dom.TableEntry class
Package: mlreportgen.dom
Table entry
Description
Specifies the content and style of a table entry.
Tip To specify formatting for all table entries in a table, use the TableEntriesStyle
property of the Table or FormalTable object. For example, you can set border
formatting.
import mlreportgen.dom.*
t = Table(magic(5));
t.TableEntriesStyle = {Border('solid','black','1')};
Properties you set for a TableEntry object take precedence over TableEntriesStyle
format objects.
Construction
entryObj = TableEntry() creates an empty table entry.
entryObj = TableEntry(text) creates a table entry using the text included in the
specified mlreportgen.dom.Text object.
entryObj = TableEntry(text,styleName) creates a table entry containing
specified text using the specified style.
entryObj = TableEntry(domObj) creates a table entry containing domObj, where
domObj is a DOM object such as a mlreportgen.dom.Paragraph object.
Input Arguments
text — Table entry text
string