ConverterBase.TexMathsStyleconverterResult, graphicConverter, imageConverter, metaData, odDoc, ofr, sTargetFileName| Constructor and Description |
|---|
EPUB3Converter() |
| Modifier and Type | Method and Description |
|---|---|
ConverterResult |
convert(org.w3c.dom.Document dom,
java.lang.String sTargetFileName,
boolean bDestructive)
Convert a document
|
ConverterResult |
convert(java.io.InputStream is,
java.lang.String sTargetFileName)
Convert a document
|
addContentEntry, addEpubNs, addEpubType, addTarget, changeOutFile, convertInner, createElement, createLink, createLink, createTarget, createTextNode, getConfig, getContentWidth, getDrawCv, getL10n, getMathCv, getOutFileIndex, getOutFileName, getPanelNode, getPlainInlineText, getStyleCv, getTableCv, getTextCv, getType, getXhtmlConfig, handleOfficeAnnotation, importNode, isHTML5, isOPS, isTopLevel, nextOutFile, outFileHasContent, popContentWidth, pushContentWidth, readResource, readResource, readStyleSheet, readStyleSheet, readTemplate, readTemplate, setCoverFile, setCoverImageFile, setIndexFile, setLofFile, setLotFile, setOPS, setTocFileaddDocument, convert, getEmbeddedObject, getImageCv, getMetaData, getTexMathsEquation, getTexMathsEquation, getTexMathsStyle, setGraphicConverterpublic ConverterResult convert(java.io.InputStream is, java.lang.String sTargetFileName) throws java.io.IOException
Converterconvert in interface Converterconvert in class ConverterBaseis - 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)ConverterResult containing the converted documentjava.io.IOException - if some exception occurs while reading the documentpublic ConverterResult convert(org.w3c.dom.Document dom, java.lang.String sTargetFileName, boolean bDestructive) throws java.io.IOException
Converterconvert in interface Converterconvert in class ConverterBasedom - a DOM tree representing the document as flat XMLsTargetFileName - 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)bDestructive - set to true if the converter is allowed to remove contents from the DOM tree (to save memory)ConverterResult containing the converted documentjava.io.IOException - if some exception occurs while reading the document