Package writer2latex.xhtml
Class TextConverter
java.lang.Object
writer2latex.xhtml.TextConverter
This class handles text content
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertTextContent(Element onode) Converts an office node as a complete text documentprotected ElementcreateInline(Element node, String sStyleName) protected ElementcreateParagraph(Element node, String sStyleName) protected ElementdoMaybeSplit(Node node, int nLevel) protected intprotected intgetOutlineLevel(Element node) protected intprotected voidhandleAnchor(Node onode, Node hnode) protected voidsetAsapNode(Element node) traverseBlockText(Node onode, Node hnode) protected voidtraverseInlineText(Node onode, Node hnode) protected voidtraversePCDATA(Node onode, Node hnode)
-
Field Details
-
sections
-
-
Constructor Details
-
TextConverter
-
-
Method Details
-
convertTextContent
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
-
traverseBlockText
-
doMaybeSplit
-
traverseInlineText
-
traversePCDATA
-
handleAnchor
-
createParagraph
-
createInline
-
getOutlineLevel
-