public class JODReportTemplateProcessor extends AbstractTemplateProcessor implements TemplateProcessor
TemplateProcessor
for ODT based templates. Using JODReports but also custom ODT hacks. May be migrated to
pure ODT + Custom Freemarker soon.Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_TYPE |
Constructor and Description |
---|
JODReportTemplateProcessor() |
Modifier and Type | Method and Description |
---|---|
List<TemplateInput> |
getInitialParametersDefinition(Blob blob)
Extract parameters from the Template file.
|
String |
readXMLContent(Blob blob) |
Blob |
renderTemplate(TemplateBasedDocument templateBasedDocument,
String templateName)
Perform rendering of the named template against the
TemplateBasedDocument |
public static final String TEMPLATE_TYPE
public List<TemplateInput> getInitialParametersDefinition(Blob blob) throws Exception
TemplateProcessor
getInitialParametersDefinition
in interface TemplateProcessor
Exception
public Blob renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName) throws Exception
TemplateProcessor
TemplateBasedDocument
renderTemplate
in interface TemplateProcessor
Exception
Copyright © 2015 Nuxeo SA. All rights reserved.