Elementname: Td

Description

Td wraps a table row, just like HTML.

Allowed attributes: align, backgroundcolor, border-bottom, border-bottom-color, border-left, border-left-color, border-right, border-right-color, border-top, border-top-color, colspan, padding, padding-bottom, padding-left, padding-right, padding-top, rowspan, valign

Child elements: Barcode, Copy-of, ForAll, Image, Loop, Paragraph, Switch, Table

Parent elements: Case, ForAll, Loop, Otherwise, SetVariable, Tr, Until, While

Attributes

align (optional)

Horizontal alignment of the cell contents. Defaults to left.

left:

The contents is left aligned (ragged right). This is the default.

right:

The contents of the cell is right aligend.

center:

The contents of the cell is aligned at the center, with ragged right and left margin.

justify:

Justified text with straight margins.

backgroundcolor (string, optional)

The name of the background color (if the cell should get a background).

border-bottom (Length (mm,in,cm,pt), optional)

The width (tickness) of the bottom border. The border is inside the cell.

border-bottom-color (string, optional)

The color of the bottom border.

border-left (Length (mm,in,cm,pt), optional)

The width (tickness) of the left border. The border is inside the cell.

border-left-color (string, optional)

The color of the left border.

border-right (Length (mm,in,cm,pt), optional)

The width (tickness) of the right border. The border is inside the cell.

border-right-color (string, optional)

The color of the left border.

border-top (Length (mm,in,cm,pt), optional)

The width (tickness) of the top border. The border is inside the cell.

border-top-color (string, optional)

The color of the top border.

colspan (number, optional)

The number of columns this cell spans. Defaults to 1.

padding (Length (mm,in,cm,pt), optional)

Shorthand for setting padding-top and the other values with this length.

padding-bottom (Length (mm,in,cm,pt), optional)

Set the inner distance (width between contents and the border) to the bottom edge.

padding-left (Length (mm,in,cm,pt), optional)

Set the inner distance (width between contents and the border) to the left edge.

padding-right (Length (mm,in,cm,pt), optional)

Set the inner distance (width between contents and the border) to the right edge.

padding-top (Length (mm,in,cm,pt), optional)

Set the inner distance (width between contents and the border) to the top edge.

rowspan (number, optional)

The number of rows for this cell. Defaults to 1.

valign (optional)

The vertical alignment of the cell.

top:

The contents is aligend at the top edge of the cell.

middle:

The contents is vertically centered.

bottom:

The contents is aligend at the bottom edge of the cell.

See also

Table Tr Paragraph Image

Commands

Version: 2.0.0 | Start page | Command reference | Other languages: German