mlreportgen.dom.TableBody class
Package: mlreportgen.dom
Body of formal table
Description
Specifies the body of a formal table
The mlreportgen.dom.TableBody
class is a handle
class.
Properties
Children
— Children of document element
array of DOM objects
Children of this document element, specified as an array of DOM objects. This property is read-only.
ColSep
— Style of line separating columns
character vector
The style of the line separating the columns of a table or table section (header, body,
footer), as specified by an mlreportgen.dom.ColSep
object.
See the description of the Border
property
for a description of the possible values.
ColSepColor
— Color of line separating columns
character vector
Color of line separating columns, specified as either:
Name of a color. The name must be a CSS color name. See https://www.w3.org/wiki/CSS/Properties/color/keywords.
A hexadecimal RGB (truecolor) value as
#RRGGBB
. For example,#0000ff
is a shade of blue.
ColSepWidth
— Width of line separating table columns
character vector
Width of the line separating table columns, in the form valueUnits
.
Use one of these abbreviations for the Units
:
px
— pixels (default)cm
— centimetersin
— inchesmm
— millimeterspc
— picaspt
— points
For example, for a column separator of 3 points, set the ColSepWidth
property
to '3pt'
.
Id
— ID for this document element
character vector | string scalar
ID for this document element, specified as a character vector or string scalar. The DOM generates a session-unique ID when it creates the document element. You can specify your own ID.
Attributes:
GetAccess | public |
SetAccess | public |
NonCopyable | true |
Data Types: char
| string
RowSep
— Style of lines separating rows
character vector
The style of a line separating the rows of a table or table section (header, body, or footer).
See the description of the Border
property
for a description of the possible values.
RowSepColor
— Color of lines separating table rows
character vector
Color of lines separating table rows, specified as one of these values:
The name of a color. See the
mlreportGen.dom.Color
class reference page for a list of supported colors.A hexadecimal RGB (truecolor) value as
#RRGGBB
. For example,#0000ff
is a shade of blue.
Parent
— Parent of document element
DOM object
Parent of this document element, specified as a DOM object. This property is read-only.
Attributes:
GetAccess | public |
SetAccess | private |
NonCopyable | true |
Style
— Format specification
array of format objects
Format objects that specify the format of a document element.
Stylename
— Table body style name
character vector
The style specified by styleName
must be defined in
the template used to create the document element to which this table body is
appended.
TableEntriesHAlign
— Horizontal alignment of table entries
'center'
(default) | 'left'
| 'right'
Horizontal alignment of table entries, specified as one of these values:
'center'
'left'
'right'
Data Types: char
TableEntriesVAlign
— Vertical alignment of table cell content
'top'
| 'middle'
| 'bottom'
Vertical alignment of table cell content, specified as one of these values:
'top'
'middle'
'bottom'
TableEntriesInnerMargin
— Inner margin for table entries
character vector
The inner margin is the margin between table cell content and
the cell borders in the form valueUnits
where Units
is
an abbreviation for the units. Valid abbreviations are:
px
— pixels (default)cm
— centimetersin
— inchesmm
— millimeterspc
— picaspt
— points
TableEntriesStyle
— Style to use for table entries
cell array
Cell array of format objects that specify the format for table entries.
Tag
— Tag for this document element
character vector | string scalar
Tag for this document element, specified as a character vector or string scalar.
The DOM generates a session-unique tag as part of the creation of this object. The
generated tag has the form CLASS:ID, where CLASS is the object class and ID is the value
of the Id
property of the object. Specifying your own tag value can
help you to identify where an issue occurred during document generation.
Attributes:
GetAccess | public |
SetAccess | public |
NonCopyable | true |
Data Types: char
| string
Methods
Version History
Introduced in R2014b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)