fr.opensagres.xdocreport.document.odp
Class ODPReport

java.lang.Object
  extended by fr.opensagres.xdocreport.document.AbstractXDocReport
      extended by fr.opensagres.xdocreport.document.odp.ODPReport
All Implemented Interfaces:
IXDocReport, ODPConstants, Serializable

public class ODPReport
extends AbstractXDocReport
implements ODPConstants

Open Office ODS report.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface fr.opensagres.xdocreport.document.odp.ODPConstants
CONTENT_XML_ENTRY, DESCRIPTION_DISCOVERY, ID_DISCOVERY, MIME_MAPPING, MIMETYPE, ODP_EXTENSION, ODP_MIMETYPE, STYLES_XML_ENTRY
 
Constructor Summary
ODPReport()
           
 
Method Summary
protected  IImageRegistry createImageRegistry(IEntryReaderProvider readerProvider, IEntryWriterProvider writerProvider, IEntryOutputStreamProvider outputStreamProvider)
          Create an image registry.
protected  String[] getDefaultXMLEntries()
          Returns default entries which define XML document to merge with Java model with template engine for odt, docx...
 String getKind()
          Returns the kind of the report (ODT, docx...).
 MimeMapping getMimeMapping()
          Returns mime mapping switch the kind of the report (odt, docx...).
static boolean isODP(XDocArchive documentArchive)
           
protected  void registerPreprocessors()
          Register preprocessors.
 
Methods inherited from class fr.opensagres.xdocreport.document.AbstractXDocReport
addPreprocessor, clearData, convert, convert, createContext, createContext, createFieldsMetadata, doPostprocessIfNeeded, dump, dump, extractFields, extractFields, getConverter, getData, getDumper, getFieldsMetadata, getId, getLastModified, getOriginalDocumentArchive, getPreprocessedDocumentArchive, getTemplateEngine, getXMLEntries, isPreprocessed, load, onAfterPreprocessing, onAfterProcessTemplateEngine, onBeforePreprocessing, onBeforeProcessTemplateEngine, preprocess, process, process, process, process, removeAllPreprocessors, removePreprocessor, save, saveEntry, setCacheOriginalDocument, setData, setDocumentArchive, setFieldsMetadata, setId, setTemplateEngine, setXMLEntries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODPReport

public ODPReport()
Method Detail

getKind

public String getKind()
Description copied from interface: IXDocReport
Returns the kind of the report (ODT, docx...).

Specified by:
getKind in interface IXDocReport
Returns:

registerPreprocessors

protected void registerPreprocessors()
Description copied from class: AbstractXDocReport
Register preprocessors.

Specified by:
registerPreprocessors in class AbstractXDocReport

getDefaultXMLEntries

protected String[] getDefaultXMLEntries()
Description copied from class: AbstractXDocReport
Returns default entries which define XML document to merge with Java model with template engine for odt, docx...

Specified by:
getDefaultXMLEntries in class AbstractXDocReport
Returns:

getMimeMapping

public MimeMapping getMimeMapping()
Description copied from interface: IXDocReport
Returns mime mapping switch the kind of the report (odt, docx...).

Specified by:
getMimeMapping in interface IXDocReport
Returns:

isODP

public static boolean isODP(XDocArchive documentArchive)

createImageRegistry

protected IImageRegistry createImageRegistry(IEntryReaderProvider readerProvider,
                                             IEntryWriterProvider writerProvider,
                                             IEntryOutputStreamProvider outputStreamProvider)
Description copied from class: AbstractXDocReport
Create an image registry.

Specified by:
createImageRegistry in class AbstractXDocReport
Returns:


Copyright © 2013. All rights reserved.