fr.opensagres.xdocreport.converter.odt.odfdom.itext
Class ODF2PDFViaITextConverter

java.lang.Object
  extended by fr.opensagres.xdocreport.converter.internal.AbstractConverterNoEntriesSupport
      extended by fr.opensagres.xdocreport.converter.odt.odfdom.itext.ODF2PDFViaITextConverter
All Implemented Interfaces:
IConverter, MimeMappingConstants

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

ODF2PDFViaITextConverter

public ODF2PDFViaITextConverter()
Method Detail

getInstance

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

toPdfOptions

public PdfOptions toPdfOptions(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.