Structure
Behavior
...
{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 output rows in the abstract report, the first and third cell templates are used. If there are three or more output rows, the first row template is used for the first row, the last row template for the last row and the second row template is used for all output rows inbetween. Zebra striped tables are not supported.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 VerticalTableNode.keepWithPrevious
is set to true
, 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. keepWithPrevious
only applies to rows in the same row group.
Examples
Example 1: Showing a simple case with one style per importance
View file |
---|
name | template-rows_simple_case.docx |
---|
|
View file |
---|
name | output-rows_simple_case.docx |
---|
|
View file |
---|
name | abstract-report-rows_simple_case.json |
---|
|
Example 2: Showing hierarchical rows
View file |
---|
name | template-rows_hierarchies.docx |
---|
|
View file |
---|
name | abstract-report-rows_hierarchies.json |
---|
|
View file |
---|
name | output-rows_hierarchies.docx |
---|
|
Example 3: Showing top, middle and bottom styles
View file |
---|
name | template-rows_top_middle_bottom.docx |
---|
|
View file |
---|
name | abstract-report-rows_top_middle_bottom.json |
---|
|
View file |
---|
name | output-rows_top_middle_bottom.docx |
---|
|
Example 4: Showing a combination of hierarchical rows and top, middle, bottom styles
View file |
---|
name | output-rows_hierarchies_and_topmiddlebottom_combined.docx |
---|
|
View file |
---|
name | abstract-report-rows_hierarchies_and_topmiddlebottom_combined.json |
---|
|
View file |
---|
name | template-rows_hierarchies_and_topmiddlebottom_combined.docx |
---|
|
View file |
---|
name | abstract-report-rows_row_header_name.json |
---|
|
View file |
---|
name | output-rows_row_header_name.docx |
---|
|
View file |
---|
name | template-rows_row_header_name.docx |
---|
|
View file |
---|
name | output-rows_row_header_width.docx |
---|
|
View file |
---|
name | abstract-report-rows_row_header_width.json |
---|
|
View file |
---|
name | template-rows_row_header_width.docx |
---|
|
View file |
---|
name | abstract-report-rows_no_row_headers.json |
---|
|
View file |
---|
name | output-rows_no_row_headers.docx |
---|
|
View file |
---|
name | template-rows_no_row_headers.docx |
---|
|
Example 8: Showing how keepWithPrevious works
View file |
---|
name | output-keepwithprevious_simple.pdf |
---|
|
View file |
---|
name | template-keepwithprevious_simple.docx |
---|
|
View file |
---|
name | output-keepwithprevious_simple.docx |
---|
|
View file |
---|
name | abstract-report-keepwithprevious_simple.json |
---|
|
Example 9: Showing how keepWithPrevious works if there is only a single row on the previous page
View file |
---|
name | output-keepwithprevious_single_row_kept_with_rowgroup.pdf |
---|
|
View file |
---|
name | template-keepwithprevious_single_row_kept_with_rowgroup.docx |
---|
|
View file |
---|
name | output-keepwithprevious_single_row_kept_with_rowgroup.docx |
---|
|
View file |
---|
name | abstract-report-keepwithprevious_single_row_kept_with_rowgroup.json |
---|
|