fr.opensagres.xdocreport.converter.docx.docx4j.xhtml
Class Docx2XHTMLViaDocx4jConverter

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

public class Docx2XHTMLViaDocx4jConverter
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
Docx2XHTMLViaDocx4jConverter()
           
 
Method Summary
 void convert(InputStream in, OutputStream out, Options options)
          Convert the given entry input stream document zipped (odt, docx...) to another format.
static Docx2XHTMLViaDocx4jConverter getInstance()
           
 MimeMapping getMimeMapping()
          Returns mime mapping switch the kind of the converter (pdf, fo...).
 org.docx4j.convert.out.html.AbstractHtmlExporter.HtmlSettings toHtmlSettings(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

Docx2XHTMLViaDocx4jConverter

public Docx2XHTMLViaDocx4jConverter()
Method Detail

getInstance

public static Docx2XHTMLViaDocx4jConverter 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

toHtmlSettings

public org.docx4j.convert.out.html.AbstractHtmlExporter.HtmlSettings toHtmlSettings(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.