LibreOffice Module starmath (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SmRtfExport Class Reference

Class implementing writing of formulas to RTF. More...

#include <rtfexport.hxx>

Inheritance diagram for SmRtfExport:
[legend]
Collaboration diagram for SmRtfExport:
[legend]

Public Member Functions

 SmRtfExport (const SmNode *pIn)
 
void ConvertFromStarMath (OStringBuffer &rBuffer, rtl_TextEncoding nEncoding)
 
- Public Member Functions inherited from SmWordExportBase
 SmWordExportBase (const SmNode *pIn)
 
virtual ~SmWordExportBase ()
 

Private Member Functions

void HandleVerticalStack (const SmNode *pNode, int nLevel) override
 
void HandleText (const SmNode *pNode, int nLevel) override
 
void HandleFractions (const SmNode *pNode, int nLevel, const char *type) override
 
void HandleRoot (const SmRootNode *pNode, int nLevel) override
 
void HandleAttribute (const SmAttributeNode *pNode, int nLevel) override
 
void HandleOperator (const SmOperNode *pNode, int nLevel) override
 
void HandleSubSupScriptInternal (const SmSubSupNode *pNode, int nLevel, int flags) override
 
void HandleMatrix (const SmMatrixNode *pNode, int nLevel) override
 
void HandleBrace (const SmBraceNode *pNode, int nLevel) override
 
void HandleVerticalBrace (const SmVerticalBraceNode *pNode, int nLevel) override
 
void HandleBlank () override
 

Private Attributes

OStringBuffer * m_pBuffer
 
rtl_TextEncoding m_nEncoding
 

Additional Inherited Members

- Protected Member Functions inherited from SmWordExportBase
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 SmNodeGetTree () const
 

Detailed Description

Class implementing writing of formulas to RTF.

Definition at line 19 of file rtfexport.hxx.

Constructor & Destructor Documentation

◆ SmRtfExport()

SmRtfExport::SmRtfExport ( const SmNode pIn)
explicit

Definition at line 15 of file rtfexport.cxx.

References m_pBuffer.

Member Function Documentation

◆ ConvertFromStarMath()

void SmRtfExport::ConvertFromStarMath ( OStringBuffer &  rBuffer,
rtl_TextEncoding  nEncoding 
)

◆ HandleAttribute()

void SmRtfExport::HandleAttribute ( const SmAttributeNode pNode,
int  nLevel 
)
overrideprivatevirtual

◆ HandleBlank()

void SmRtfExport::HandleBlank ( )
overrideprivatevirtual

Implements SmWordExportBase.

Definition at line 495 of file rtfexport.cxx.

References LO_STRING_SVTOOLS_RTF_MR, and m_pBuffer.

◆ HandleBrace()

void SmRtfExport::HandleBrace ( const SmBraceNode pNode,
int  nLevel 
)
overrideprivatevirtual

◆ HandleFractions()

void SmRtfExport::HandleFractions ( const SmNode pNode,
int  nLevel,
const char *  type 
)
overrideprivatevirtual

◆ HandleMatrix()

void SmRtfExport::HandleMatrix ( const SmMatrixNode pNode,
int  nLevel 
)
overrideprivatevirtual

◆ HandleOperator()

void SmRtfExport::HandleOperator ( const SmOperNode pNode,
int  nLevel 
)
overrideprivatevirtual

◆ HandleRoot()

void SmRtfExport::HandleRoot ( const SmRootNode pNode,
int  nLevel 
)
overrideprivatevirtual

◆ HandleSubSupScriptInternal()

void SmRtfExport::HandleSubSupScriptInternal ( const SmSubSupNode pNode,
int  nLevel,
int  flags 
)
overrideprivatevirtual

◆ HandleText()

void SmRtfExport::HandleText ( const SmNode pNode,
int  nLevel 
)
overrideprivatevirtual

◆ HandleVerticalBrace()

void SmRtfExport::HandleVerticalBrace ( const SmVerticalBraceNode pNode,
int  nLevel 
)
overrideprivatevirtual

◆ HandleVerticalStack()

void SmRtfExport::HandleVerticalStack ( const SmNode pNode,
int  nLevel 
)
overrideprivatevirtual

Member Data Documentation

◆ m_nEncoding

rtl_TextEncoding SmRtfExport::m_nEncoding
private

◆ m_pBuffer

OStringBuffer* SmRtfExport::m_pBuffer
private

The documentation for this class was generated from the following files: