主要内容

mlreportgen.dom.tableBody class

Package:mlreportgen.dom
Superclasses:

Body of formal table

Description

Specifies the body of a formal table

Properties

expand all

Children of this document element, specified as an array of DOM objects. This property is read-only.

The style of the line separating the columns of a table or table section (header, body, footer), as specified by anmlreportgen.dom.ColSep目的。

See the description of theBorderproperty for a description of the possible values.

线分离列的颜色,指定为:

Width of the line separating table columns, in the formvalueUnits. Use one of these abbreviations for the单位:

  • px— pixels (default)

  • cm— centimeters

  • in— inches

  • 毫米— millimeters

  • 个人电脑— picas

  • pt— points

For example, for a column separator of 3 points, set theColSepWidthproperty to'3pt'.

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.

The style of a line separating the rows of a table or table section (header, body, or footer).

See the description of theBorderproperty for a description of the possible values.

Color of lines separating table rows, specified as one of these values:

  • The name of a color. See themlreportgen.dom.color支持颜色列表的类参考页面。金宝app

  • A hexadecimal RGB (truecolor) value as#RRGGBB. For example,#0000ffis a shade of blue.

该文档元素的父,指定为DOM对象。此属性仅阅读。

Format objects that specify the format of a document element.

The style specified bystyleName必须在用于创建该表主体附加到的文档元素的模板中定义。

Horizontal alignment of table entries, specified as one of these values:

  • 'center'

  • '剩下'

  • '正确的'

Data Types:char

表单元含量的垂直比对,指定为以下值之一:

  • 'top'

  • 'middle'

  • 'bottom'

The inner margin is the margin between table cell content and the cell borders in the formvalueUnitswhere单位is an abbreviation for the units. Valid abbreviations are:

  • px— pixels (default)

  • cm— centimeters

  • in— inches

  • 毫米— millimeters

  • 个人电脑— picas

  • pt— points

单元阵列specif格式的对象y the format for table entries.

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 theIdproperty of the object. Specifying your own tag value can help you to identify where an issue occurred during document generation.

方法

Method

Purpose

append

Appends content to a table body.

入口

获取一个表条目。

创建一个表行。