public class XDocReportProcessor extends AbstractTemplateProcessor implements TemplateProcessor
TemplateProcessor
Modifier and Type | Field and Description |
---|---|
static String |
DocX_TEMPLATE_TYPE |
protected FMContextBuilder |
fmContextBuilder |
protected static org.apache.commons.logging.Log |
log |
static String |
OOO_TEMPLATE_TYPE |
static String |
TEMPLATE_TYPE |
BUFFER_SIZE
Constructor and Description |
---|
XDocReportProcessor() |
Modifier and Type | Method and Description |
---|---|
List<TemplateInput> |
getInitialParametersDefinition(Blob blob)
Extract parameters from the Template file.
|
protected String |
getTemplateFormat(Blob blob) |
Blob |
renderTemplate(TemplateBasedDocument templateBasedDocument,
String templateName)
Perform rendering of the named template against the
TemplateBasedDocument |
getSourceTemplateBlob, getWorkingDir
protected static final org.apache.commons.logging.Log log
public static final String TEMPLATE_TYPE
public static final String OOO_TEMPLATE_TYPE
public static final String DocX_TEMPLATE_TYPE
protected FMContextBuilder fmContextBuilder
public XDocReportProcessor()
protected String getTemplateFormat(Blob blob)
public List<TemplateInput> getInitialParametersDefinition(Blob blob) throws IOException
TemplateProcessor
getInitialParametersDefinition
in interface TemplateProcessor
IOException
public Blob renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName) throws IOException
TemplateProcessor
TemplateBasedDocument
renderTemplate
in interface TemplateProcessor
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.