Class TextConverter


  • public class TextConverter
    extends ConverterHelper
    This class handles text content
    • Field Detail

      • sections

        protected java.util.Stack<org.w3c.dom.Node> sections
    • 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)
      • doMaybeSplit

        protected org.w3c.dom.Element doMaybeSplit​(org.w3c.dom.Node node,
                                                   int nLevel)
      • handleAnchor

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