Tables
Tables are very important in C1PrintDocument. As in HTML, C1PrintDocument's tables may be used not only as tables, but also as powerful general-purpose layout tools. Note that tables may be nested – that is, a table cell can also be a table. This opens up wide possibilities to create layouts of arbitrary complexity.
A table (type RenderTable) consists of three horizontal table bands:
• Header (type TableHeader)
• Body (type TableBody)
• Footer (type TableFooter)
Each band (header, body and footer) can contain zero or more table rows (type TableRow). The table is also divided into vertical columns (type TableColumn). Individual cells (type TableCell) can be accessed either directly through the band they are contained in (using row and column indices) or through their row (using just the column index). Cells themselves are full-featured render objects and as such can be anything, such as text, picture, or table.
|