Td

Td wraps a table cell, just like HTML.

Child elements

Bookmark, Box, ForAll, Image, Loop, Paragraph, Switch, Table, Value

Parent elements

Tr

Attributes

class (text, optional)
The css class to be used for formatting the table cell.
colspan (number, optional)
The number of columns for this cell. Defaults to 1.
id (text, optional)
CSS id for this table cell.
rowspan (number, optional)
The number of rows for this cell. Defaults to 1.
style (text, optional)
CSS style for this table cell.

Remarks

The child elements of the table cells are either block objects that start a new line or inline objects that are placed horizontally next to each other (from left to right) until the width of the table cell forces a line break. Block objects are Paragraph, Table and Box, inline objects are Barcode and Image.

Example

The following example places a background text behind the Td cell.


<Record element="data">
   <PlaceObject>
     <Table stretch="yes">
       <Columns>
         <Column width="5cm"/>
       </Columns>
       <Tr>
         <Td>
           <Paragraph><Value>A wonderful serenity has taken possession of my entire soul,
             like these sweet mornings of spring which I enjoy with my whole heart.</Value>
           </Paragraph>
         </Td>
       </Tr>
     </Table>
   </PlaceObject>
</Record>

See also