Class TextConverter

java.lang.Object
writer2latex.xhtml.TextConverter

public class TextConverter extends Object
This class handles text content
  • Field Details

  • Constructor Details

  • Method Details

    • convertTextContent

      public void convertTextContent(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()
    • setAsapNode

      protected void setAsapNode(Element node)
    • traverseBlockText

      public Node traverseBlockText(Node onode, Node hnode)
    • doMaybeSplit

      protected Element doMaybeSplit(Node node, int nLevel)
    • traverseInlineText

      protected void traverseInlineText(Node onode, Node hnode)
    • traversePCDATA

      protected void traversePCDATA(Node onode, Node hnode)
    • handleAnchor

      protected void handleAnchor(Node onode, Node hnode)
    • createParagraph

      protected Element createParagraph(Element node, String sStyleName)
    • createInline

      protected Element createInline(Element node, String sStyleName)
    • getOutlineLevel

      protected int getOutlineLevel(Element node)