Example Templates

A multi-page invoice with a calculated Total and calculated Payment Due Date. The table will "grow" as data is injected and if the table runs over the page the…
A standard business letter. This example has placeholders in the body of the document and in the footer. The images are static and anchored to the text. The data…
An Employment Agreement contract with numbered clauses that can be included or removed based on the data. Includes page numbers, total pages and an address footer on every page.…
You can use the conditional section <<cs_ directive in a template to include or exclude a section of content. This is similar to using an "IF" statement. If you…
Repeating data, from an array of data, can be displayed in many ways. This example contains: each item on a new line, each item on the same line, bullet…
This example shows you how to use Placeholder images in your template that will be replaced by a Base64 encoded image in your data. Static images Any image in…
This example shows you how to use tables to display repeating data (eg: objects in an array). By setting different table properties and paragraph properties you can control how…
Docmosis allows you to control how numbers are displayed in the finished document. For example: the raw data may have numbers like: 1234.5. Using the built-in function numFormat the…
Docmosis allows you to control how dates and times are displayed in the finished document. For example: the raw data may have a date like: 21-03-16. Using the built-in…
Page 1 of 4