LibreOffice Module starmath (master) 1
|
Base class implementing writing of formulas to Word. More...
#include <wordexportbase.hxx>
Public Member Functions | |
SmWordExportBase (const SmNode *pIn) | |
virtual | ~SmWordExportBase () |
Protected Member Functions | |
void | HandleNode (const SmNode *pNode, int nLevel) |
void | HandleAllSubNodes (const SmNode *pNode, int nLevel) |
void | HandleTable (const SmNode *pNode, int nLevel) |
virtual void | HandleVerticalStack (const SmNode *pNode, int nLevel)=0 |
virtual void | HandleText (const SmNode *pNode, int nLevel)=0 |
void | HandleMath (const SmNode *pNode, int nLevel) |
virtual void | HandleFractions (const SmNode *pNode, int nLevel, const char *type)=0 |
void | HandleUnaryOperation (const SmUnHorNode *pNode, int nLevel) |
void | HandleBinaryOperation (const SmBinHorNode *pNode, int nLevel) |
virtual void | HandleRoot (const SmRootNode *pNode, int nLevel)=0 |
virtual void | HandleAttribute (const SmAttributeNode *pNode, int nLevel)=0 |
virtual void | HandleOperator (const SmOperNode *pNode, int nLevel)=0 |
void | HandleSubSupScript (const SmSubSupNode *pNode, int nLevel) |
virtual void | HandleSubSupScriptInternal (const SmSubSupNode *pNode, int nLevel, int flags)=0 |
virtual void | HandleMatrix (const SmMatrixNode *pNode, int nLevel)=0 |
virtual void | HandleBrace (const SmBraceNode *pNode, int nLevel)=0 |
virtual void | HandleVerticalBrace (const SmVerticalBraceNode *pNode, int nLevel)=0 |
virtual void | HandleBlank ()=0 |
const SmNode * | GetTree () const |
Private Attributes | |
const SmNode *const | m_pTree |
Base class implementing writing of formulas to Word.
Definition at line 17 of file wordexportbase.hxx.
|
explicit |
Definition at line 14 of file wordexportbase.cxx.
|
virtualdefault |
|
inlineprotected |
Definition at line 42 of file wordexportbase.hxx.
References m_pTree.
Referenced by SmOoxmlExport::ConvertFromStarMath(), and SmRtfExport::ConvertFromStarMath().
Definition at line 120 of file wordexportbase.cxx.
References SmNode::GetNumSubNodes(), SmNode::GetSubNode(), HandleNode(), i, SAL_WARN, and size.
Referenced by SmOoxmlExport::HandleAttribute(), SmRtfExport::HandleAttribute(), HandleBinaryOperation(), HandleNode(), SmOoxmlExport::HandleOperator(), HandleTable(), HandleUnaryOperation(), and SmOoxmlExport::HandleVerticalBrace().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleNode().
|
protected |
Definition at line 143 of file wordexportbase.cxx.
References SmToken::eType, SmNode::GetToken(), HandleAllSubNodes(), HandleFractions(), SAL_INFO, SmBinHorNode::Symbol(), and TDIVIDEBY.
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleBinaryOperation(), and HandleNode().
Definition at line 157 of file wordexportbase.cxx.
References SmToken::eType, SmNode::GetToken(), HandleText(), SAL_INFO, TACUTE, and TDIVIDEBY.
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleNode().
Definition at line 21 of file wordexportbase.cxx.
References Align, Attribute, BinHor, BinVer, Blank, Brace, Expression, SmNode::GetNumSubNodes(), SmNode::GetType(), HandleAllSubNodes(), HandleAttribute(), HandleBinaryOperation(), HandleBlank(), HandleBrace(), HandleFractions(), HandleMath(), HandleMatrix(), HandleOperator(), HandleRoot(), HandleSubSupScript(), HandleTable(), HandleText(), HandleUnaryOperation(), HandleVerticalBrace(), Line, Math, MathIdent, Matrix, Oper, Place, Root, SAL_INFO, Special, SubSup, Table, Text, UnHor, and VerticalBrace.
Referenced by SmOoxmlExport::ConvertFromStarMath(), SmRtfExport::ConvertFromStarMath(), HandleAllSubNodes(), SmOoxmlExport::HandleAttribute(), SmRtfExport::HandleAttribute(), SmOoxmlExport::HandleBrace(), SmRtfExport::HandleBrace(), SmOoxmlExport::HandleFractions(), SmRtfExport::HandleFractions(), SmOoxmlExport::HandleMatrix(), SmRtfExport::HandleMatrix(), SmOoxmlExport::HandleOperator(), SmRtfExport::HandleOperator(), SmOoxmlExport::HandleRoot(), SmRtfExport::HandleRoot(), SmOoxmlExport::HandleSubSupScriptInternal(), SmRtfExport::HandleSubSupScriptInternal(), SmOoxmlExport::HandleVerticalBrace(), SmRtfExport::HandleVerticalBrace(), SmOoxmlExport::HandleVerticalStack(), and SmRtfExport::HandleVerticalStack().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleNode().
|
protected |
Definition at line 172 of file wordexportbase.cxx.
References CSUB, CSUP, SmSubSupNode::GetSubSup(), HandleSubSupScriptInternal(), LSUB, LSUP, RSUB, and RSUP.
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleSubSupScript().
Definition at line 106 of file wordexportbase.cxx.
References SmNode::GetNumSubNodes(), HandleAllSubNodes(), and HandleVerticalStack().
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleMath(), and HandleNode().
|
protected |
Definition at line 135 of file wordexportbase.cxx.
References SmToken::eType, SmNode::GetToken(), HandleAllSubNodes(), and SAL_INFO.
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleNode().
|
protectedpure virtual |
Implemented in SmOoxmlExport, and SmRtfExport.
Referenced by HandleTable().
|
private |
Definition at line 45 of file wordexportbase.hxx.
Referenced by GetTree().