fr.opensagres.xdocreport.document.docx.preprocessor
Class DocxDocumentXMLRelsPreprocessor
java.lang.Object
fr.opensagres.xdocreport.document.preprocessor.AbstractXDocPreprocessor
fr.opensagres.xdocreport.document.preprocessor.sax.SAXXDocPreprocessor
fr.opensagres.xdocreport.document.docx.preprocessor.DocxDocumentXMLRelsPreprocessor
- All Implemented Interfaces:
- IXDocPreprocessor
public class DocxDocumentXMLRelsPreprocessor
- extends SAXXDocPreprocessor
This processor modify the XML entry word/_rels/document.xml.rels to add
Relationship for dynamic image and hyperlink :
to add template engine script like this for Freemarker :
[#if imageRegistry??]
[#list imageRegistry.imageProviderInfos as ___info]
[/#list]
[/#if]
* to add template engine script like this for Velocity :
#if( $imageRegistry)
#foreach( $___info in $imageRegistry.ImageProviderInfos)
#end
#end
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final IXDocPreprocessor INSTANCE
DocxDocumentXMLRelsPreprocessor
public DocxDocumentXMLRelsPreprocessor()
createBufferedDocumentContentHandler
protected BufferedDocumentContentHandler createBufferedDocumentContentHandler(FieldsMetadata fieldsMetadata,
IDocumentFormatter formater,
java.util.Map<java.lang.String,java.lang.Object> context)
- Specified by:
createBufferedDocumentContentHandler in class SAXXDocPreprocessor
Copyright © 2011. All Rights Reserved.