fr.opensagres.xdocreport.converter.docx.poi.xhtml
Class XWPF2XHTMLConverter

java.lang.Object
  extended by fr.opensagres.xdocreport.converter.internal.AbstractConverterNoEntriesSupport
      extended by fr.opensagres.xdocreport.converter.docx.poi.xhtml.XWPF2XHTMLConverter
All Implemented Interfaces:
IConverter, MimeMappingConstants

public class XWPF2XHTMLConverter
extends AbstractConverterNoEntriesSupport
implements MimeMappingConstants


Field Summary
 
Fields inherited from interface fr.opensagres.xdocreport.converter.MimeMappingConstants
FO_EXTENSION, FO_MIME_MAPPING, PDF_EXTENSION, PDF_MIME_MAPPING, PDF_MIME_TYPE, XHTML_EXTENSION, XHTML_MIME_MAPPING, XHTML_MIME_TYPE, XML_MIME_TYPE, ZIP_EXTENSION, ZIP_MIME_MAPPING, ZIP_MIME_TYPE
 
Constructor Summary
XWPF2XHTMLConverter()
           
 
Method Summary
 void convert(InputStream in, OutputStream out, Options options)
          Convert the given entry input stream document zipped (odt, docx...) to another format.
static XWPF2XHTMLConverter getInstance()
           
 MimeMapping getMimeMapping()
          Returns mime mapping switch the kind of the converter (pdf, fo...).
 XHTMLOptions toXHTMLOptions(Options options)
           
 
Methods inherited from class fr.opensagres.xdocreport.converter.internal.AbstractConverterNoEntriesSupport
canSupportEntries, convert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWPF2XHTMLConverter

public XWPF2XHTMLConverter()
Method Detail

getInstance

public static XWPF2XHTMLConverter getInstance()

convert

public void convert(InputStream in,
                    OutputStream out,
                    Options options)
             throws XDocConverterException
Description copied from interface: IConverter
Convert the given entry input stream document zipped (odt, docx...) to another format.

Specified by:
convert in interface IConverter
Throws:
XDocConverterException

toXHTMLOptions

public XHTMLOptions toXHTMLOptions(Options options)

getMimeMapping

public MimeMapping getMimeMapping()
Description copied from interface: IConverter
Returns mime mapping switch the kind of the converter (pdf, fo...).

Specified by:
getMimeMapping in interface IConverter
Returns:


Copyright © 2013. All rights reserved.