Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 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.TODO: Explain DimensionElement.indent

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

...

Example 7: Showing the behavior when no row headers are defined

View file
nameabstract-report-rows_no_row_headers.json
View file
nameoutput-rows_no_row_headers.docx
View file
nametemplate-rows_no_row_headers.docx

Example 8: Showing how

...

keepWithPrevious works

View file
nameoutput-keepwithprevious_simple.pdf
View file
nametemplate-keepwithprevious_simple.docx
View file
nameoutput-keepwithprevious_simple.docx
View file
nameabstract-report-keepwithprevious_simple.json

Example 9: Showing how keepWithPrevious works if there is only a single row on the previous page

View file
nameoutput-keepwithprevious_single_row_kept_with_rowgroup.pdf
View file
nametemplate-keepwithprevious_single_row_kept_with_rowgroup.docx
View file
nameoutput-keepwithprevious_single_row_kept_with_rowgroup.docx
View file
nameabstract-report-keepwithprevious_single_row_kept_with_rowgroup.json