fr.opensagres.xdocreport.document.docx.preprocessor.sax.contenttypes
Class DocxContentTypesPreprocessor

java.lang.Object
  extended by fr.opensagres.xdocreport.document.preprocessor.AbstractXDocPreprocessor<InputStream>
      extended by fr.opensagres.xdocreport.document.preprocessor.sax.SAXXDocPreprocessor
          extended by fr.opensagres.xdocreport.document.docx.preprocessor.sax.contenttypes.DocxContentTypesPreprocessor
All Implemented Interfaces:
IXDocPreprocessor

public class DocxContentTypesPreprocessor
extends SAXXDocPreprocessor

SAX Processor which parses [Content_Types].xml to add missing image format. Ex :

 
 


Field Summary
static IXDocPreprocessor INSTANCE
           
 
Constructor Summary
DocxContentTypesPreprocessor()
           
 
Method Summary
protected  BufferedDocumentContentHandler createBufferedDocumentContentHandler(String entryName, FieldsMetadata fieldsMetadata, IDocumentFormatter formatter, Map<String,Object> sharedContext)
           
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.SAXXDocPreprocessor
closeSource, getSource, preprocess
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.AbstractXDocPreprocessor
create, createAndProcess, preprocess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final IXDocPreprocessor INSTANCE
Constructor Detail

DocxContentTypesPreprocessor

public DocxContentTypesPreprocessor()
Method Detail

createBufferedDocumentContentHandler

protected BufferedDocumentContentHandler createBufferedDocumentContentHandler(String entryName,
                                                                              FieldsMetadata fieldsMetadata,
                                                                              IDocumentFormatter formatter,
                                                                              Map<String,Object> sharedContext)
Specified by:
createBufferedDocumentContentHandler in class SAXXDocPreprocessor


Copyright © 2013. All rights reserved.