mlreportgen.dom.TableEntry Class
Namespace: mlreportgen.dom
Table entry
Description
Specifies the content and style of a table entry.
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 a
mlreportgen.dom.Paragraph
object.
Input Arguments
Properties
Methods
Tips
To specify formatting for all table entries in a table, adjust the
TableEntriesStyle
property of the
mlreportgen.dom.Table
or mlreportgen.dom.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 mlreportgen.dom.TableEntry
object take
precedence over mlreportgen.dom.TableEntriesStyle
format objects.
Version History
Introduced in R2014a