We developed a new method in the class ExportPDFTemplate. This method is useful if you want to create a PDF as a template and attach dynamic data. The showcase application has a new tab to demonstrate this method.
Have a look at the javadoc inside the application:
exportPdfOutputStreamDynTable(TemplateData pdfData, String templateFile, String filename, ViewConfiguration viewConfig, String tableFieldname)