Search results
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…
This example shows how to generate a PDF from a DOCX template using C#. It calls the Docmosis REST API, sending the render instructions and data as JSON,…
This example shows how to generate a PDF from a DOCX template using C#. It calls the Docmosis REST API, sending the render instructions and data as XML,…
Start here for an an overview of basic Docmosis template syntax, it provides a structured approach to learning the basics of creating template.
Add dynamic placeholders in templates that insert and format data in generated documents while making fields easy to identify and edit.
Remove paragraphs automatically when their fields have no data, keeping generated documents free of blank lines and unwanted empty content.
Add comments in Docmosis templates to embed notes, disable sections temporarily, and create hidden declarations pages without affecting generated documents.
Tips and tricks for creating templates that maintain consistent layout and alignment, with predictable content flow and positioning.
Add or remove content conditionally in Docmosis templates so generated documents display only relevant sections by evaluating true/false expressions
Control blank lines in conditional content so generated documents remove empty lines and maintain clean formatting without unwanted gaps.
Use else and else-if conditions in templates to display different content based on varying data values. It covers how to provide alternative or fallback text when initial conditions…
Control template sections to appear or hide based on combined true/false conditions using AND, OR, and NOT logic for precise document output.
Perform calculations within templates to display computed values and formatted results based on your data in the generated document.
Create templates that modify and format text data, in your documents.
Repeat array data in templates to display items on separate lines, inline, or as numbered and bullet lists that match your data.
Display or use the total number of items in arrays within Docmosis templates to control content visibility and show counts in generated documents.
Generate well-formatted sentences from array data, handling commas, semicolons, and conjunctions like “and” correctly.
Format numbers in templates to display customised decimals, thousands separators, currency symbols, units, and percentages in generated documents.
Format and display dates and times in generated documents with customised layouts, including handling various input and output formats and showing the current date.
Page 27 of 32

Can't find what you need?

Contact Support