Products Downloads


French version


 

Prerequisites

The template loader configured in the FreeMarker engine (freemarker.properties file) must contain the Adelia loader enabling runtime module templates to be used:

com.hardis.adelia.mergedocengine.freemarker.conf.ClassTemplateLoader(com.hardis.adelia.mergedocengine.ProcessTemplate.CLASS_FOR_OBJECT_BUILDER_EXPRESSION, "/com/hardis/adelia/mergedocengine/freemarker/lib")

 

For example:

template_loader=freemarker.cache.MultiTemplateLoader( \

[com.hardis.adelia.mergedocengine.freemarker.conf.FileTemplateLoader(java.io.File ("c:/TemplateWorkspace")), \

com.hardis.adelia.mergedocengine.freemarker.conf.ClassTemplateLoader(com.hardis.adelia.mergedocengine.ProcessTemplate.CLASS_FOR_OBJECT_BUILDER_EXPRESSION, "/com/hardis/adelia/mergedocengine/freemarker/lib")])

 

The APE provides module templates (or libraries) which group macros and user template programming help functions.
They are grouped by theme:

  • Core: library of macros and basic functions. The namespace for using this library is "hardisCore",
  • CSS: library enabling XSL-FO tag style classes to be used (like the Cascading Style Sheet in HTML). The namespace for using this library is "hardisCSS",
  • FO: library enabling XSL-FO tags to be supported in FreeMarker. The namespace for using this library is "hardisFo",
  • Adv: library of macros and advanced functions. The namespace for using this library is "hardisAdv".

 

↑ Top of page


 

  • Aucune étiquette