writer2latex.xhtml

Class Converter

public class Converter extends ConverterBase

This class converts an OpenDocument file to an XHTML(+MathML) document<.

Field Summary
protected intnType
Constructor Summary
Converter(int nType)
Method Summary
voidaddTarget(Element node, String sId)
voidchangeOutFile(int nIndex)
voidconvertInner()
protected ElementcreateElement(String s)
ElementcreateLink(String sId)
ElementcreateLink(Element onode)
ElementcreateTarget(String sId)
protected TextcreateTextNode(String s)
ConfiggetConfig()
protected DrawConvertergetDrawCv()
protected L10ngetL10n()
protected MathConvertergetMathCv()
protected intgetOutFileIndex()
StringgetOutFileName(int nIndex, boolean bWithExt)
ElementgetPanelNode()
protected StyleConvertergetStyleCv()
protected TableConvertergetTableCv()
protected TextConvertergetTextCv()
protected intgetType()
voidhandleOfficeAnnotation(Node onode, Node hnode)
protected NodeimportNode(Node node, boolean bDeep)
ElementnextOutFile()
booleanoutFileHasContent()
voidreadTemplate(InputStream is)
voidreadTemplate(File file)

Field Detail

nType

protected int nType

Constructor Detail

Converter

public Converter(int nType)

Method Detail

addTarget

public void addTarget(Element node, String sId)

changeOutFile

public void changeOutFile(int nIndex)

convertInner

public void convertInner()

createElement

protected Element createElement(String s)

createLink

public Element createLink(String sId)

createLink

public Element createLink(Element onode)

createTarget

public Element createTarget(String sId)

createTextNode

protected Text createTextNode(String s)

getConfig

public Config getConfig()

getDrawCv

protected DrawConverter getDrawCv()

getL10n

protected L10n getL10n()

getMathCv

protected MathConverter getMathCv()

getOutFileIndex

protected int getOutFileIndex()

getOutFileName

public String getOutFileName(int nIndex, boolean bWithExt)

getPanelNode

public Element getPanelNode()

getStyleCv

protected StyleConverter getStyleCv()

getTableCv

protected TableConverter getTableCv()

getTextCv

protected TextConverter getTextCv()

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(InputStream is)

readTemplate

public void readTemplate(File file)