writer2latex.xhtml
Class TextConverter

java.lang.Object
  extended by writer2latex.xhtml.ConverterHelper
      extended by writer2latex.xhtml.TextConverter

public class TextConverter
extends ConverterHelper


Field Summary
protected  java.util.Stack sections
           
 
Fields inherited from class writer2latex.xhtml.ConverterHelper
config, converter, ofr
 
Constructor Summary
TextConverter(OfficeReader ofr, XhtmlConfig config, Converter converter)
           
 
Method Summary
 void convertTextContent(org.w3c.dom.Element onode)
          Converts an office node as a complete text document
protected  int getAlphabeticalIndex()
           
protected  int getTocIndex()
           
protected  void handleAnchor(org.w3c.dom.Node onode, org.w3c.dom.Node hnode)
           
 void insertEndnotes(org.w3c.dom.Node hnode)
           
 void insertFootnotes(org.w3c.dom.Node hnode)
           
 org.w3c.dom.Node traverseBlockText(org.w3c.dom.Node onode, org.w3c.dom.Node hnode)
           
 
Methods inherited from class writer2latex.xhtml.ConverterHelper
applyStyle, getCellSc, getDrawCv, getFrameSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextSc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sections

protected java.util.Stack sections
Constructor Detail

TextConverter

public TextConverter(OfficeReader ofr,
                     XhtmlConfig config,
                     Converter converter)
Method Detail

convertTextContent

public void convertTextContent(org.w3c.dom.Element onode)
Converts an office node as a complete text document

Parameters:
onode - the Office node containing the content to convert

getTocIndex

protected int getTocIndex()

getAlphabeticalIndex

protected int getAlphabeticalIndex()

traverseBlockText

public org.w3c.dom.Node traverseBlockText(org.w3c.dom.Node onode,
                                          org.w3c.dom.Node hnode)

handleAnchor

protected void handleAnchor(org.w3c.dom.Node onode,
                            org.w3c.dom.Node hnode)

insertFootnotes

public void insertFootnotes(org.w3c.dom.Node hnode)

insertEndnotes

public void insertEndnotes(org.w3c.dom.Node hnode)