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
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected FMContextBuilderstatic final Stringstatic final StringFields inherited from class org.nuxeo.template.processors.AbstractTemplateProcessor
BUFFER_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtract parameters from the Template file.protected StringgetTemplateFormat(Blob blob) renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName) Perform rendering of the named template against theTemplateBasedDocumentMethods 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:TemplateProcessorExtract parameters from the Template file.- Specified by:
getInitialParametersDefinitionin interfaceTemplateProcessor- Returns:
- List of parameters for this template
- Throws:
IOException
-
renderTemplate
public Blob renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName) throws IOException Description copied from interface:TemplateProcessorPerform rendering of the named template against theTemplateBasedDocument- Specified by:
renderTemplatein interfaceTemplateProcessor- Throws:
IOException
-