Templates: Introduction

Besides generating documents from scratch, dynadocx has many options for working with templates. This allows to change existing contents in documents: texts, tables, lists, checkboxes and others.

There are other additional options available for working with placeholders (variables). E.g., cleaning variables or limiting the replacements to be performed.

Use the syntax ${ } to define placeholders (variables). E.g.: ${VAR}, ${NAME}, ${value}, ${new_content}...

Any document can function as a template. It is possible to generate documents with MS Word, LibreOffice, GoogleDrive or any other DOCX editor.

DOCX documents use UTF-8 as charset. It is highly recommended that all added contents use UTF-8 directly. In case of using a different charset, dynadocx will automatically try to transform it to UTF-8.