The user guide for Velocity (VTL) can be found at: http://velocity.apache.org/engine/devel/user-guide.html.

Important

  • The formal reference such as ${hello} is not supported in RTF templates.
  • A macro cannot be used as macro parameter in any RTF report template. This is a limitation of VTL itself: Velocity treats a macro like copy-and-paste content defined in the macro (between #macro and #end) at the inserted position.
  • In an RTF report template, the style and formatting defined on a directive will have no effect on the report output. In addition, the paragraph symbol at the end of a line will also be removed.