writer2latex.epub
Class EPUBConverter

java.lang.Object
  extended by writer2latex.base.ConverterBase
      extended by writer2latex.xhtml.Converter
          extended by writer2latex.xhtml.Xhtml11Converter
              extended by writer2latex.epub.EPUBConverter
All Implemented Interfaces:
Converter

public final class EPUBConverter
extends Xhtml11Converter

This class converts an OpenDocument file to an EPUB document.


Field Summary
 
Fields inherited from class writer2latex.xhtml.Converter
nType
 
Fields inherited from class writer2latex.base.ConverterBase
converterResult, graphicConverter, imageLoader, metaData, odDoc, ofr, sTargetFileName
 
Constructor Summary
EPUBConverter()
           
 
Method Summary
 ConverterResult convert(java.io.InputStream is, java.lang.String sTargetFileName)
          Convert a document
 
Methods inherited from class writer2latex.xhtml.Converter
addContentEntry, addTarget, changeOutFile, convertInner, createElement, createLink, createLink, createTarget, createTextNode, getConfig, getDrawCv, getL10n, getMathCv, getOutFileIndex, getOutFileName, getPanelNode, getPlainInlineText, getStyleCv, getTableCv, getTextCv, getType, handleOfficeAnnotation, importNode, isOPS, nextOutFile, outFileHasContent, readStyleSheet, readStyleSheet, readTemplate, readTemplate, setIndexFile, setLofFile, setLotFile, setOPS, setTocFile
 
Methods inherited from class writer2latex.base.ConverterBase
addDocument, convert, getEmbeddedObject, getImageLoader, getMetaData, setGraphicConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPUBConverter

public EPUBConverter()
Method Detail

convert

public ConverterResult convert(java.io.InputStream is,
                               java.lang.String sTargetFileName)
                        throws java.io.IOException
Description copied from interface: Converter
Convert a document

Specified by:
convert in interface Converter
Overrides:
convert in class ConverterBase
Parameters:
is - an InputStream from which to read the source document.
sTargetFileName - the file name to use for the converted document (if the converted document is a compound document consisting consisting of several files, this name will be used for the master document)
Returns:
a ConverterResult containing the converted document
Throws:
java.io.IOException - if some exception occurs while reading the document