Examples

Below you will find Business Examples and Technical Examples of using Docmosis.

Each example includes:

  • a Template (as DOC or ODT)
  • the Data (as XML or JSON)
  • the Output Files in three different formats (PDF / DOC / ODT)

 

TRY: comparing a Template and an Output File side-by-side.


Invoice

Invoice

A monthly invoice showing nicely formatted tables with rows that expand to match the data.

Repeating Sections

Repeating Sections

This example shows how to display repeating data including bullet lists and numbered lists.

Images - Part One

Images - Part One

An introduction to adding dynamic images to a document from Base64 encoded image data.

Format - Numbers

Format - Numbers

Using the numFormat function to output: currency, percentages, decimals and more.

Letter

Letter

A standard business letter with simple placeholders, static images and conditional sections.

Contract

Contract

A contract with headers and footers. Conditional sections are used to add or remove unwanted clauses.

Tables - Part One

Tables - Part One

An introduction to Tables and controlling layout with Table and Paragraph properties.

Expressions - Math

Expressions - Math

How to perform Math and Logic calculations and call Math Functions from within your templates.

Conditional Sections

Conditional Sections

Add or remove content using "IF" statements.   List numbering changes to match the data.

Repayment Schedule

Repayment Schedule

How to fill a table with data, that runs over the page and have header rows added automatically.

Expressions - Strings

Expressions - Strings

Examples of the built-in String functions for formatting your data in the generated document.

Alternating Rows

Alternating Rows

An example of a table with one header row and subsequent rows filled with alternating colours.