Skip to main content
Skip table of contents





importance secondary

importance primary

importance primary

value placeholder

value placeholder

importance secondary

value placeholder

value placeholder


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.

For compatibility reasons certain newline characters are automatically converted to the HTML equivalent, which is <br/>. These are: \r, \n and \u000b.

Facts are aligned by first looking at its value type. If it is text, it is left aligned, otherwise right. If the fact itself does not define a value type, the column’s value type is applied using the same rules. If no value type is defined the alignment defined in the table style is used.


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

abstract-report-rows_indent.json output-facts_simple_case.docx template-facts_simple_case.docx

Example 2: Showing how to use HTML

abstract-report-facts_html.json output-facts_html.docx template-facts_html.docx

Example 3: Showing how to use styleHint and CSS styles

template-facts_stylehint_css.docx abstract-report-facts_stylehint_css.json output-facts_stylehint_css.docx

Example 4: Showing how newlines are treated

output-facts_newlines.docx template-facts_newlines.docx abstract-report-facts_newlines.json

Example 5: Showing how alignment works

template-facts_alignment.docx abstract-report-facts_alignment.json output-facts_alignment.docx

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.