Search results
This example shows how to upload a template to the cloud using Java. It calls the Docmosis REST API to upload a local template file to the cloud.…
This example shows how to generate a PDF from a DOCX template using PHP. It calls the Docmosis REST API to merge the data with the template and…
This example shows how to generate a PDF from a DOCX template using PHP. It calls the Docmosis REST API to merge the data with the template and…
All Docmosis Cloud code samples have been updated to work with the latest version of the Cloud service. Change the Product/Version filter on the top right of the…
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…
Page 24 of 28