StarObjectModel Class Reference

the main class to read a SdrModel zone More...

#include <StarObjectModel.hxx>

Inheritance diagram for StarObjectModel:
StarObject

List of all members.

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

StarObjectModeloperator= (StarObjectModel const &orig)

Friends

std::ostream & operator<< (std::ostream &o, StarObjectModel const &model)
 small operator<< to print the content of the model

Detailed Description

the main class to read a SdrModel zone


Constructor & Destructor Documentation

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

constructor

destructor


Member Function Documentation

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().

try to read a SdrLayerSet zone: "DrLS'

Referenced by read(), and readSdrPage().

Referenced by readSdrPage().

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'

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().

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)


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
StarObjectModel const &  model 
) [friend]

small operator<< to print the content of the model


Member Data Documentation


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