Creating templates

You can create new documents based on Templates. The application can handle 3 types of template documents:

  • PDF
  • OpenOffice
  • Text ( This includes other text-based like HTML, for example ).

In order to generate the final document from the template, we need to make an association with Metadata . The final document will be assigned the corresponding Metadata with the user input values, so you can use them for a future search.

The template syntax, which is used by the FreeMarker Template Engine. This engine can be used from making simply variable substitution to loops and other control structure.

In the samples we use only the basic ones, but you can learn more at FreeMarker Manual.