public class TextConverter extends ConverterHelper
Modifier and Type | Field and Description |
---|---|
protected java.util.Stack |
sections |
config, converter, ofr
Constructor and Description |
---|
TextConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter) |
Modifier and Type | Method and Description |
---|---|
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) |
applyStyle, getCellSc, getDrawCv, getFrameSc, 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 void handleAnchor(org.w3c.dom.Node onode, org.w3c.dom.Node hnode)
public void insertFootnotes(org.w3c.dom.Node hnode)
public void insertEndnotes(org.w3c.dom.Node hnode)