Docmosis-Java (v2.2.1) - Template Guide

(MAY 2010)

This manual is intended to be a complete reference for template authors responsible for designing Docmosis templates.

Designing a template is a combination of:

  • formatting and laying out the document using the features of a word processor such as Microsoft Word or LibreOffice Writer.
  • writing the special Docmosis syntax within the template to control the injection of data when generating a document.

This manual focuses on the second point.  You will find instructions on how to:

  • Insert text or images into the: body; headers and footers
  • Conditionally add or remove any content
  • Inject repeating data in to tables, bullet lists and numbered lists
  • Modify formatting during document generation based on the data
  • Dynamically insert images, barcodes or watermarking
  • Perform calculations and format numbers and dates
  • and much more...

Feedback

Invalid Input

Sorry, this field will only accept letters and numbers, and not special characters, to limit spam. Please also consider contacting support@docmosis.com if you need help with this article.

Sorry, this field will only accept letters and numbers, and not special characters, to limit spam.

Invalid Input

Product Summary

Docmosis-Java is a template-based Java PDF generation library that you can embedded in your Java application. Designed for high-performance with the ability to distribute processing load to servers separate from the main Java application. Moving from code-based libraries to a template-based approach enables non-developers to contribute to the content and formatting changes of documents.