Search results
See how to combine different page sizes and orientations in a template. These can also be custom page sizes, used for mailing labels, tickets, packaging details, and so…
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.…
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…
Dynamically inserting an image in to a document requires two things: The template controls where the image will appear The data determines what image is used This…
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…
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…
Depending on the particular software application you are using, it might not be possible to change your data before sending it to Docmosis. Docmosis has a range…
Use the conditional rows <<cr_ directive in a template to include or exclude single or multiple rows from a table. You can filter out multiple rows based…
Docmosis can generate and insert barcodes into documents. Docmosis supports Code 39, Code 128 and ITF 14 formats. Inserting barcodes Inserting barcodes with Docmosis uses a technique…
This example introduces the notation used to perform simple math calculations in the templates. It explains how to call math functions and format the results that are…
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…
Tables with alternating row colors. The header row color is fixed. The color of the first two data rows determine if alternating colours should be used and…
Within a Conditional Section it is possible to include an Else statement to allow alternative content to be provided in case where an expression is false. Else-If…
Templates can be combined into one resulting document, allowing content that appears in multiple documents to be separated out into a "shared" or common template. NOTE: This…
Docmosis can add hyperlinks and mailto links to documents, where the URL can be static or dynamic. With a static hyperlink the URL is known in advance.…
It’s possible to modify the “looping” features in Docmosis so that the data can be looped through in small groups or steps. The stepping feature can be…
The Stepping - Data example showed how data could be arranged into steps or groups of size “N” through the “:stepN” and “:stepNdown” directives – the “N”…
There may be times when you want to include or exclude columns in a table depending on the supplied data. Docmosis allows tables to conditionally add or…
The Conditional Columns article covered how to include or exclude columns in a table using Boolean fields and expressions. However, sometimes a column may need to be…
If a total is not provided as part of the data, it is possible to calculate a subtotal or a total from the data and display the…