Class XDocReportProcessor
java.lang.Object
org.nuxeo.template.processors.AbstractTemplateProcessor
org.nuxeo.template.processors.xdocreport.XDocReportProcessor
- All Implemented Interfaces:
TemplateProcessor
XDocReport based
TemplateProcessor
- Author:
- Tiry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected FMContextBuilder
static final String
static final String
Fields inherited from class org.nuxeo.template.processors.AbstractTemplateProcessor
BUFFER_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionExtract parameters from the Template file.protected String
getTemplateFormat
(Blob blob) renderTemplate
(TemplateBasedDocument templateBasedDocument, String templateName) Perform rendering of the named template against theTemplateBasedDocument
Methods inherited from class org.nuxeo.template.processors.AbstractTemplateProcessor
getSourceTemplateBlob, getWorkingDir
-
Field Details
-
TEMPLATE_TYPE
- See Also:
-
OOO_TEMPLATE_TYPE
- See Also:
-
DocX_TEMPLATE_TYPE
- See Also:
-
fmContextBuilder
-
-
Constructor Details
-
XDocReportProcessor
public XDocReportProcessor()
-
-
Method Details
-
getTemplateFormat
-
getInitialParametersDefinition
Description copied from interface:TemplateProcessor
Extract parameters from the Template file.- Specified by:
getInitialParametersDefinition
in interfaceTemplateProcessor
- Returns:
- List of parameters for this template
- Throws:
IOException
-
renderTemplate
public Blob renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName) throws IOException Description copied from interface:TemplateProcessor
Perform rendering of the named template against theTemplateBasedDocument
- Specified by:
renderTemplate
in interfaceTemplateProcessor
- Throws:
IOException
-