Structure
{mainTitle} | ||
{subTitle} | ||
row header name | importance secondary | importance primary |
importance primary level 1 | ||
importance primary level 2 | ||
importance primary level 3 | ||
importance secondary | ||
importance secondary | ||
importance secondary |
Behavior
Rows are produced similarly to row groups. Their cells are copied and filled in with the actual content.
The width of the row header column can be set in the abstract report with the VerticalTableNode.rowHeaderWidth
property (in percent). If it isn’t set, the width of the column in the table style is used. The width in the table style has to be in percent as well.
There is support for styling the top, middle and bottom rows differently. For this one has to specify the same importance three times. During production the top style is used for the first row, the middle row is used for all rows in between and the bottom style for the last row. If there is only one row in the abstract report, the top style is used. If there are only two rows in the abstract report, the top and bottom styles are used. Please note: Zebra striping is not supported.
Another feature is support for hierarchical rows. For this one can add specify for which level in the rows tree the style should be applied, beginning with level 1.
The row headers can also optionally have a column header. Its style is specified in the cell left to the usual column styles. The header itself can be set with the VerticalTableNode.rowHeaderName
property. The content can be a HTML formatted value.
The row header column itself is only produced if at least one row header is defined.
If the indent
property is set, it indents the row by the following formula: indent * factor * font size. The factor can be set in the word channel’s configuration file.
If VerticalTableNode.keepWithPrevious
is set to true
then the current row is kept on the same page as the previous one. If the previous row is the only row next to the row group header, both the row group header and the previous row are moved onto the next page.
Examples
Example 1: Showing a simple case with one style per importance
Example 2: Showing hierarchical rows
Example 3: Showing top, middle and bottom styles
Example 4: Showing a combination of hierarchical rows and top, middle, bottom styles
Example 5: Showing how to use rowHeaderName
Example 6: Showing how to use rowHeaderWidth
Example 7: Showing the behavior when no row headers are defined
Example 8: Showing how the indent property works
0 Comments