mlreportgen.dom.TableEntry Class
Namespace: 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.
The mlreportgen.dom.TableEntry
class is a handle
class.
Creation
Description
creates
an empty table entry.entryObj
= TableEntry
creates a table entry using the specified text. The constructor creates a
text object and appends it to the table entry. In Microsoft® Word and PDF output, text in a table entry is wrapped in a
paragraph because Word and PDF do not permit unwrapped text in table
entries. In HTML output, the text is not wrapped in a paragraph.entryObj
= TableEntry(text
)
creates a table entry containing entryObj
= TableEntry(domObj
)domObj
, where
domObj
is a DOM object such as an
mlreportgen.dom.Paragraph
object.
Input Arguments
Properties
Methods
Version History
Introduced in R2014a