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

Class implementing reading of formulas from OOXML. More...

#include <ooxmlimport.hxx>

Collaboration diagram for SmOoxmlImport:
[legend]

Public Member Functions

 SmOoxmlImport (oox::formulaimport::XmlStream &stream)
 
OUString ConvertToStarMath ()
 

Private Types

enum  LimLowUpp_t {
  LimLow ,
  LimUpp
}
 

Private Member Functions

OUString handleStream ()
 
OUString handleAcc ()
 
OUString handleBar ()
 
OUString handleBox ()
 
OUString handleBorderBox ()
 
OUString handleD ()
 
OUString handleEqArr ()
 
OUString handleF ()
 
OUString handleFunc ()
 
OUString handleLimLowUpp (LimLowUpp_t limlowupp)
 
OUString handleGroupChr ()
 
OUString handleM ()
 
OUString handleNary ()
 
OUString handleR ()
 
OUString handleRad ()
 
OUString handleSpre ()
 
OUString handleSsub ()
 
OUString handleSsubsup ()
 
OUString handleSsup ()
 
OUString readOMathArg (int stoptoken)
 
OUString readOMathArgInElement (int token)
 

Private Attributes

oox::formulaimport::XmlStreamm_rStream
 

Detailed Description

Class implementing reading of formulas from OOXML.

The toplevel element is expected to be oMath (handle oMathPara outside of this code).

Definition at line 19 of file ooxmlimport.hxx.

Member Enumeration Documentation

◆ LimLowUpp_t

Enumerator
LimLow 
LimUpp 

Definition at line 34 of file ooxmlimport.hxx.

Constructor & Destructor Documentation

◆ SmOoxmlImport()

SmOoxmlImport::SmOoxmlImport ( oox::formulaimport::XmlStream stream)
explicit

Definition at line 36 of file ooxmlimport.cxx.

Member Function Documentation

◆ ConvertToStarMath()

OUString SmOoxmlImport::ConvertToStarMath ( )

Definition at line 41 of file ooxmlimport.cxx.

References handleStream().

Referenced by SmDocShell::readFormulaOoxml().

◆ handleAcc()

OUString SmOoxmlImport::handleAcc ( )
private

◆ handleBar()

OUString SmOoxmlImport::handleBar ( )
private

◆ handleBorderBox()

OUString SmOoxmlImport::handleBorderBox ( )
private

◆ handleBox()

OUString SmOoxmlImport::handleBox ( )
private

◆ handleD()

OUString SmOoxmlImport::handleD ( )
private

◆ handleEqArr()

OUString SmOoxmlImport::handleEqArr ( )
private

◆ handleF()

OUString SmOoxmlImport::handleF ( )
private

◆ handleFunc()

OUString SmOoxmlImport::handleFunc ( )
private

◆ handleGroupChr()

OUString SmOoxmlImport::handleGroupChr ( )
private

◆ handleLimLowUpp()

OUString SmOoxmlImport::handleLimLowUpp ( LimLowUpp_t  limlowupp)
private

◆ handleM()

OUString SmOoxmlImport::handleM ( )
private

◆ handleNary()

OUString SmOoxmlImport::handleNary ( )
private

◆ handleR()

OUString SmOoxmlImport::handleR ( )
private

◆ handleRad()

OUString SmOoxmlImport::handleRad ( )
private

◆ handleSpre()

OUString SmOoxmlImport::handleSpre ( )
private

◆ handleSsub()

OUString SmOoxmlImport::handleSsub ( )
private

◆ handleSsubsup()

OUString SmOoxmlImport::handleSsubsup ( )
private

◆ handleSsup()

OUString SmOoxmlImport::handleSsup ( )
private

◆ handleStream()

OUString SmOoxmlImport::handleStream ( )
private

◆ readOMathArg()

OUString SmOoxmlImport::readOMathArg ( int  stoptoken)
private

◆ readOMathArgInElement()

OUString SmOoxmlImport::readOMathArgInElement ( int  token)
private

Member Data Documentation

◆ m_rStream

oox::formulaimport::XmlStream& SmOoxmlImport::m_rStream
private

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