public class TextConverter extends ConverterHelper
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Stack<org.w3c.dom.Node> |
sections |
config, converter, ofr
Constructor | Description |
---|---|
TextConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter) |
Modifier and Type | Method | Description |
---|---|---|
void |
convertTextContent(org.w3c.dom.Element onode) |
Converts an office node as a complete text document
|
protected org.w3c.dom.Element |
doMaybeSplit(org.w3c.dom.Node node,
int nLevel) |
|
protected int |
getAlphabeticalIndex() |
|
protected int |
getTocIndex() |
|
protected void |
handleAnchor(org.w3c.dom.Node onode,
org.w3c.dom.Node hnode) |
|
org.w3c.dom.Node |
traverseBlockText(org.w3c.dom.Node onode,
org.w3c.dom.Node hnode) |
applyStyle, getCellSc, getDrawCv, getFrameSc, getHeadingSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextSc
public TextConverter(OfficeReader ofr, XhtmlConfig config, Converter converter)
public void convertTextContent(org.w3c.dom.Element onode)
onode
- the Office node containing the content to convertprotected int getTocIndex()
protected int getAlphabeticalIndex()
public org.w3c.dom.Node traverseBlockText(org.w3c.dom.Node onode, org.w3c.dom.Node hnode)
protected org.w3c.dom.Element doMaybeSplit(org.w3c.dom.Node node, int nLevel)
protected void handleAnchor(org.w3c.dom.Node onode, org.w3c.dom.Node hnode)