the main class to read a SdrModel zone More...
#include <StarObjectModel.hxx>
Public Member Functions | |
StarObjectModel (StarObject const &orig, bool duplicateState) | |
constructor | |
virtual | ~StarObjectModel () |
destructor | |
bool | read (StarZone &zone) |
try to read a SdrModel zone: "DrMd" | |
bool | updatePageSpans (std::vector< STOFFPageSpan > &pageSpan, int &numPages) const |
try to update the page span (to create draw document) | |
bool | sendMasterPages (STOFFGraphicListenerPtr listener) |
try to send the master pages | |
bool | sendPages (STOFFListenerPtr listener) |
try to send the different page | |
bool | sendPage (int pageId, STOFFListenerPtr listener, bool masterPage=false) |
try to send a page content | |
Protected Member Functions | |
bool | readSdrLayer (StarZone &zone, StarObjectModelInternal::Layer &layer) |
try to read a SdrLayer zone: "DrLy' | |
bool | readSdrLayerSet (StarZone &zone, StarObjectModelInternal::LayerSet &layers) |
try to read a SdrLayerSet zone: "DrLS' | |
shared_ptr < StarObjectModelInternal::Page > | readSdrPage (StarZone &zone) |
try to read a Page/MasterPage zone: "DrPg' | |
bool | readSdrMPageDesc (StarZone &zone, StarObjectModelInternal::Page &page) |
bool | readSdrMPageDescList (StarZone &zone, StarObjectModelInternal::Page &page) |
bool | readSdrPageUnknownZone1 (StarZone &zone, long lastPos) |
try to read a zone which appear at end of a zone: "DrPg' | |
Protected Attributes | |
shared_ptr < StarObjectModelInternal::State > | m_modelState |
the state | |
Private Member Functions | |
StarObjectModel & | operator= (StarObjectModel const &orig) |
Friends | |
std::ostream & | operator<< (std::ostream &o, StarObjectModel const &model) |
small operator<< to print the content of the model |
the main class to read a SdrModel zone
StarObjectModel::StarObjectModel | ( | StarObject const & | orig, |
bool | duplicateState | ||
) |
constructor
StarObjectModel::~StarObjectModel | ( | ) | [virtual] |
destructor
StarObjectModel& StarObjectModel::operator= | ( | StarObjectModel const & | orig | ) | [private] |
bool StarObjectModel::read | ( | StarZone & | zone | ) |
try to read a SdrModel zone: "DrMd"
bool StarObjectModel::readSdrLayer | ( | StarZone & | zone, |
StarObjectModelInternal::Layer & | layer | ||
) | [protected] |
try to read a SdrLayer zone: "DrLy'
Referenced by read(), and readSdrPage().
bool StarObjectModel::readSdrLayerSet | ( | StarZone & | zone, |
StarObjectModelInternal::LayerSet & | layers | ||
) | [protected] |
try to read a SdrLayerSet zone: "DrLS'
Referenced by read(), and readSdrPage().
bool StarObjectModel::readSdrMPageDesc | ( | StarZone & | zone, |
StarObjectModelInternal::Page & | page | ||
) | [protected] |
Referenced by readSdrMPageDescList(), and readSdrPage().
bool StarObjectModel::readSdrMPageDescList | ( | StarZone & | zone, |
StarObjectModelInternal::Page & | page | ||
) | [protected] |
Referenced by readSdrPage().
shared_ptr< StarObjectModelInternal::Page > StarObjectModel::readSdrPage | ( | StarZone & | zone | ) | [protected] |
try to read a Page/MasterPage zone: "DrPg'
Referenced by read().
bool StarObjectModel::readSdrPageUnknownZone1 | ( | StarZone & | zone, |
long | lastPos | ||
) | [protected] |
try to read a zone which appear at end of a zone: "DrPg'
bool StarObjectModel::sendMasterPages | ( | STOFFGraphicListenerPtr | listener | ) |
try to send the master pages
bool StarObjectModel::sendPage | ( | int | pageId, |
STOFFListenerPtr | listener, | ||
bool | masterPage = false |
||
) |
try to send a page content
Referenced by sendMasterPages(), and sendPages().
bool StarObjectModel::sendPages | ( | STOFFListenerPtr | listener | ) |
try to send the different page
bool StarObjectModel::updatePageSpans | ( | std::vector< STOFFPageSpan > & | pageSpan, |
int & | numPages | ||
) | const |
try to update the page span (to create draw document)
std::ostream& operator<< | ( | std::ostream & | o, |
StarObjectModel const & | model | ||
) | [friend] |
small operator<< to print the content of the model
shared_ptr<StarObjectModelInternal::State> StarObjectModel::m_modelState [protected] |
the state
Referenced by operator<<(), read(), sendMasterPages(), sendPage(), sendPages(), and updatePageSpans().