Skip to content

Word Append Table

Type: word-append-table  ·  Package: Word Activities v1.0.0

Adds a DataTable as a table in the document, with simple borders and, optionally, a row of bold headers. It is the way to include tabular data in a generated report: a sales detail, a results table.

Insert the table as a Word table at the end of the document. By default it writes the column names as the first row in bold (hasHeader = true). Only works within a session.

ParameterEditorDescription
tableexpressionThe DataTable to insert.
ParameterEditorDescription
sessionsessionWord session. Within a body it is inherited automatically.
hasHeaderbooleanWrite the column names as header row in bold. By default true.
Word Create path = "C:/reportes/ventas.docx"
└─ body:
Word Append Paragraph text = "Detalle de Ventas" style = Heading1
Word Append Table table = = ventas