public class MathConverter extends ConverterHelper
config, converter, ofr| Constructor and Description |
|---|
MathConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
boolean bSupportMathML)
Create a new
MathConverter |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(org.w3c.dom.Node image,
org.w3c.dom.Node onode,
org.w3c.dom.Node hnode)
Convert a formula
|
void |
convertAsMathML(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, getTextScpublic MathConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, boolean bSupportMathML)
MathConverterofr - the OfficeReader to query about the documentconfig - the configuration determining the type of exportconverter - the converter instancebSupportMathML - true if the formula should be exported as MathMLpublic void convert(org.w3c.dom.Node image,
org.w3c.dom.Node onode,
org.w3c.dom.Node hnode)
image - image version of the formula (or null if no image is available)onode - the math nodehnode - the xhtml node to which content should be addedpublic void convertAsMathML(org.w3c.dom.Node onode,
org.w3c.dom.Node hnode)