public class DocxDocumentXMLRelsPreprocessor extends SAXXDocPreprocessor
to add template engine script like this for Freemarker :
* to add template engine script like this for Velocity :[#if imageRegistry??] [#list imageRegistry.imageProviderInfos as ___info] [/#list] [/#if]
#if( $imageRegistry) #foreach( $___info in $imageRegistry.ImageProviderInfos) #end #end
| Modifier and Type | Field and Description |
|---|---|
static IXDocPreprocessor |
INSTANCE |
| Constructor and Description |
|---|
DocxDocumentXMLRelsPreprocessor() |
| Modifier and Type | Method and Description |
|---|---|
protected BufferedDocumentContentHandler |
createBufferedDocumentContentHandler(String entryName,
FieldsMetadata fieldsMetadata,
IDocumentFormatter formater,
Map<String,Object> context) |
closeSource, getSource, preprocesscreate, createAndProcess, preprocesspublic static final IXDocPreprocessor INSTANCE
protected BufferedDocumentContentHandler createBufferedDocumentContentHandler(String entryName, FieldsMetadata fieldsMetadata, IDocumentFormatter formater, Map<String,Object> context)
createBufferedDocumentContentHandler in class SAXXDocPreprocessorCopyright © 2017. All Rights Reserved.