Skip to content

Word Append Paragraph

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

Adds a paragraph to the end of the document, with an optional style. It is the basic piece to build documents: the title, section headings and body text.

Add the text as a new paragraph, applying the indicated style (see styles). Only works within a session (Word Create or Word Open).

ParameterEditorDescription
textexpressionThe text of the paragraph.
ParameterEditorDescription
sessionsessionWord session. Within a body it is inherited automatically.
stylelistEstilo: Normal (def.) · Title · Heading1 · Heading2 · Heading3.
Word Create path = "C:/reportes/informe.docx"
└─ body:
Word Append Paragraph text = "Informe de Auditoría" style = Title
Word Append Paragraph text = "1. Resumen" style = Heading1
Word Append Paragraph text = = "Se revisaron " + total + " registros."