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(java.lang.String entryName,
FieldsMetadata fieldsMetadata,
IDocumentFormatter formater,
java.util.Map<java.lang.String,java.lang.Object> context) |
closeSource, getSource, preprocesscreate, createAndProcess, preprocesspublic static final IXDocPreprocessor INSTANCE
protected BufferedDocumentContentHandler createBufferedDocumentContentHandler(java.lang.String entryName, FieldsMetadata fieldsMetadata, IDocumentFormatter formater, java.util.Map<java.lang.String,java.lang.Object> context)
createBufferedDocumentContentHandler in class SAXXDocPreprocessorCopyright © 2019. All Rights Reserved.