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, getWorkingDirprotected 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
TemplateProcessorgetInitialParametersDefinition in interface TemplateProcessorIOExceptionpublic Blob renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName) throws IOException
TemplateProcessorTemplateBasedDocumentrenderTemplate in interface TemplateProcessorIOExceptionCopyright © 2019 Nuxeo. All rights reserved.