Simple interface for a structured document.
virtual void ResetPages()=0
Remove all pages and their content from the document.
virtual const istd::IChangeable & GetDocumentPage(int pageIndex) const =0
Get the document page.
virtual const idoc::IDocumentMetaInfo * GetPageMetaInfo(int pageIndex) const =0
Get meta info of the given page if exists.
virtual istd::IChangeable * InsertPage(const idoc::IDocumentMetaInfo *pageMetaInfoPtr=NULL, const iprm::IParamsSet *pageParameterPtr=NULL, int position=-1)=0
Insert a new document page at the given position.
virtual int GetPagesCount() const =0
Get number of pages in the document.
virtual bool RemovePage(int pageIndex)=0
Remove the page at the given index.
virtual const IDocumentMetaInfo & GetDocumentMetaInfo() const =0
Get meta information about the document.