StarObjectMath Class Reference

the main class to read a small StarOffice math zone .sdf More...

#include <StarObjectMath.hxx>

Inheritance diagram for StarObjectMath:
StarObject

Public Member Functions

 StarObjectMath (StarObject const &orig, bool duplicateState)
 constructor More...
 
 ~StarObjectMath () override
 destructor More...
 
bool parse ()
 try to parse the current object More...
 
bool send (STOFFListenerPtr listener, STOFFFrameStyle const &pos, STOFFGraphicStyle const &style=STOFFGraphicStyle())
 try to send a object to the listener More...
 
- Public Member Functions inherited from StarObject
 StarObject (char const *passwd, std::shared_ptr< STOFFOLEParser > &oleParser, std::shared_ptr< STOFFOLEParser::OleDirectory > &directory)
 constructor More...
 
virtual ~StarObject ()
 destructor More...
 
bool parse ()
 try to parse data More...
 
STOFFDocument::Kind getDocumentKind () const
 returns the document kind More...
 
const char * getPassword () const
 returns the document password (the password given by the user) More...
 
std::shared_ptr< STOFFOLEParser::OleDirectorygetOLEDirectory ()
 returns the object directory More...
 
std::shared_ptr< StarAttributeManagergetAttributeManager ()
 returns the attribute manager More...
 
std::shared_ptr< StarFormatManagergetFormatManager ()
 returns the format manager More...
 
const librevenge::RVNGPropertyList & getMetaData () const
 returns the meta data (filled by readSfxDocumentInformation) More...
 
librevenge::RVNGString getUserNameMetaData (int i) const
 returns the ith user meta data More...
 
void cleanPools ()
 clean each pool More...
 
std::shared_ptr< StarItemPoolgetNewItemPool (StarItemPool::Type type)
 returns a new item pool for this document More...
 
std::shared_ptr< StarItemPoolfindItemPool (StarItemPool::Type type, bool isInside)
 check if a pool corresponding to a given type is opened if so returned it. More...
 
std::shared_ptr< StarItemPoolgetCurrentPool (bool onlyInside=true)
 returns the current all/inside pool More...
 
bool readPersistData (StarZone &zone, long endPos)
 try to read persist data More...
 
bool readSfxStyleSheets (STOFFInputStreamPtr input, std::string const &name)
 try to read a spreadshet style zone: SfxStyleSheets More...
 
bool readItemSet (StarZone &zone, std::vector< STOFFVec2i > const &limits, long endPos, StarItemSet &itemSet, StarItemPool *pool=nullptr, bool isDirect=false)
 try to read a list of item More...
 

Protected Member Functions

bool readMathDocument (STOFFInputStreamPtr input, std::string const &fileName)
 try to read a math zone: StarMathDocument .sdm More...
 
- Protected Member Functions inherited from StarObject
bool readPersistElements (STOFFInputStreamPtr input, std::string const &name)
 the "persist elements" small ole: the list of object More...
 
bool readSfxDocumentInformation (STOFFInputStreamPtr input, std::string const &name)
 try to read the document information : "SfxDocumentInformation" More...
 
bool readSfxPreview (STOFFInputStreamPtr input, std::string const &name)
 try to read the preview : "SfxPreview" More...
 
bool readSfxWindows (STOFFInputStreamPtr input, libstoff::DebugFile &ascii)
 try to read the windows information : "SfxWindows" More...
 
bool readStarFrameworkConfigFile (STOFFInputStreamPtr input, libstoff::DebugFile &ascii)
 try to read the "Star Framework Config File" More...
 
bool readStarFrameworkConfigItem (STOFFEntry &entry, STOFFInputStreamPtr input, libstoff::DebugFile &ascii)
 try to read an item in a "Star Framework Config File" More...
 
 StarObject (StarObject const &orig, bool duplicateState)
 copy constructor More...
 

Protected Attributes

std::shared_ptr< StarObjectMathInternal::Statem_mathState
 the state More...
 
- Protected Attributes inherited from StarObject
const char * m_password
 the document password More...
 
std::shared_ptr< STOFFOLEParserm_oleParser
 the ole parser More...
 
std::shared_ptr< STOFFOLEParser::OleDirectorym_directory
 the directory More...
 
std::shared_ptr< StarObjectInternal::Statem_state
 the state More...
 
librevenge::RVNGPropertyList m_metaData
 the meta data More...
 

Private Member Functions

StarObjectMathoperator= (StarObjectMath const &orig)=delete
 

Detailed Description

the main class to read a small StarOffice math zone .sdf

Constructor & Destructor Documentation

◆ StarObjectMath()

StarObjectMath::StarObjectMath ( StarObject const &  orig,
bool  duplicateState 
)

constructor

◆ ~StarObjectMath()

StarObjectMath::~StarObjectMath ( )
override

destructor

Member Function Documentation

◆ operator=()

StarObjectMath& StarObjectMath::operator= ( StarObjectMath const &  orig)
privatedelete

◆ parse()

bool StarObjectMath::parse ( )

try to parse the current object

Referenced by StarFileManager::checkUnparsed(), and SDXParser::createZones().

◆ readMathDocument()

bool StarObjectMath::readMathDocument ( STOFFInputStreamPtr  input,
std::string const &  fileName 
)
protected

try to read a math zone: StarMathDocument .sdm

Referenced by parse().

◆ send()

bool StarObjectMath::send ( STOFFListenerPtr  listener,
STOFFFrameStyle const &  pos,
STOFFGraphicStyle const &  style = STOFFGraphicStyle() 
)

try to send a object to the listener

Member Data Documentation

◆ m_mathState

std::shared_ptr<StarObjectMathInternal::State> StarObjectMath::m_mathState
protected

the state

Referenced by readMathDocument(), and send().


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

Generated on Mon Jan 20 2020 23:02:19 for libstaroffice by doxygen 1.8.16