Versions Compared

Key

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

Structure

{mainTitle}

{subTitle}

importance secondary

importance primary

importance primary

value placeholder

value placeholder

importance secondary

value placeholder

value placeholder

Behavior

Facts are styled by copying the cell that corresponds to the correct (row, column) coordinates and then filling in the content.

The content is treated as HTML and styled accordingly. The styleHint property allows using CSS to further style the content.

...

Example 1: Showing a simple case without any HTML and CSS

View file
nameabstract-report-rows_indent.json
View file
nameoutput-facts_simple_case.docx
View file
nametemplate-facts_simple_case.docx

Example 2: Showing how

...

to use HTML

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

Example 3: Showing how to use styleHint and CSS styles

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

Example 4: Showing how newlines are treated

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

Example 5: Showing how

...

alignment works

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