You are currently offline, serving cached version

Open-source

What is docxtemplater ?

Get Started (Node)

Get Started (Browser)

Types of tags

Configuration

Angular parser

Asynchronous Data Resolving

Platform Support

Error handling

Command Line Interface (CLI)

API

Frequently asked questions

Testing

Paid modules

Image module : This module allows to add an image using the {%image} tag. You can also replace an existing image with this module.


HTML module : This module allows to include html inside a Word document (.docx). For example to add a formatted field entered by the user in a WYSIWIG editor like CKEditor. It also allows the insertion of tables, nested lists, or formatted text.


Excel module : This module allows to do templating on Excel spreadsheets (.xlsx). It allows to do simple replacements and also loops.


Table module : This module makes it easy to create a table from a configuration object (header, subheader, ...).


Slides module : This module allows to create multiple slides with a loop in a pptx. For example, you could clone slides for each of your products. The whole order of the slides can be declared from the data.


Chart module : This module allows to update chart data of an existing chart.


Error Location module : This module allows to locate errors in your templates, so that finding out why a template produces an error is simple to debug : the module adds a Word comment at each location where there is an error.


Subtemplate module : This module adds a tag to include the content of an other docx document (which can be a template itself). This allows you to define subtemplates if your templates share common parts.


Pptx-Subtemplate module : This module adds a tag to include the content of an other pptx document (which can be a template itself). This allows you to define subtemplates if your templates share common parts.


Subsection module : This module adds a tag to include the headers and footers of an other docx document to create a new subsection


QrCode module : This module allows to replace an image by an other image


Word run module : This module allows to insert raw runs (<w:r>) inside the document. This allows to include styled text without having to remove the enclosing paragraph like in the {@rawXml} tag.


Meta module : This module allows to operate on the docx document, for example set the document as readonly


Styling module : This module allows to edit style of table cells or paragraphs conditionnaly (background-color, ...).


HTML-Pptx module : This module allows to include html inside a Powerpoint presentation (.pptx). For example to add a formatted field entered by the user in a WYSIWIG editor like CKEditor. It also allows the insertion of tables, nested lists, or formatted text.


HTML-Xlsx module : This module allows to include html inside an Excel document (.xlsx).


Footnotes module : This module allows to add a footnote to the document.


Paragraph-placeholder module : This module allows to add a placeholder to a paragraph and automatically drop the paragraph if the placeholder evaluates to null or undefined


Talk with sales Contact us