Having Freemarker-like templates for PDF generation (with itext)
<p>In Java Project, i would like to use a Freemarker or something similar to it 
(<a href="http://freemarker.org/docs/pgui_quickstart_all.html" rel="nofollow">Quick start guide</a>), but to generate a PDF file (textual), with IText for example.</p>

<p>Of cource, the workflow could be like that:</p>

<blockquote>
  <p>Template (Freemarker) -> Text (IText) -> PDF</p>
</blockquote>

<p>...but I feel it is kind of a naive approach. I want to have in the PDF some formattings, tables, etc.</p>

<p>Anyone knows how to design it properly?</p>