This class converts an OpenDocument file to an XHTML(+MathML) document<.
addTarget
public void addTarget(Element node,
String sId)
changeOutFile
public void changeOutFile(int nIndex)
createElement
protected Element createElement(String s)
createLink
public Element createLink(Element onode)
createLink
public Element createLink(String sId)
createTarget
public Element createTarget(String sId)
createTextNode
protected Text createTextNode(String s)
getConfig
public Config getConfig()
Get the interface for the configuration of this converter
- getConfig in interface Converter
getL10n
protected L10n getL10n()
getOutFileIndex
protected int getOutFileIndex()
getOutFileName
public String getOutFileName(int nIndex,
boolean bWithExt)
getPanelNode
public Element getPanelNode()
getStyleCv
protected writer2latex.xhtml.StyleConverter getStyleCv()
getType
protected int getType()
handleOfficeAnnotation
public void handleOfficeAnnotation(Node onode,
Node hnode)
importNode
protected Node importNode(Node node,
boolean bDeep)
nextOutFile
public Element nextOutFile()
outFileHasContent
public boolean outFileHasContent()
readTemplate
public void readTemplate(File file)
throws IOException
Read a template to use as a base for the converted document.
The format of the template depends on the Converter
implementation.
- readTemplate in interface Converter
- readTemplate in interface ConverterBase
file
- a file from which to read the template
readTemplate
public void readTemplate(InputStream is)
throws IOException
Read a template to use as a base for the converted document.
The format of the template depends on the Converter
implementation.
- readTemplate in interface Converter
- readTemplate in interface ConverterBase
is
- an InputStream
from which to read the template