Generic implementation of a multi-page bitmap. More...
#include <TMultiPageBitmap.h>
Public Member Functions | |
virtual istd::IChangeable * | CloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const |
Make a copy of this object. More... | |
![]() | |
virtual istd::IChangeable * | InsertPage (const idoc::IDocumentMetaInfo *pageMetaInfoPtr=NULL, const iprm::IParamsSet *pageParameterPtr=NULL, int position=-1) |
Insert a new document page at the given position. More... | |
virtual const iprm::IOptionsList * | GetBitmapListInfo () const |
Get optional information about bitmaps in form of section constraints. More... | |
virtual int | GetBitmapsCount () const |
Get number of produced bitmaps. More... | |
virtual const iimg::IBitmap * | GetBitmap (int bitmapIndex) const |
Get access to produced bitmap object. More... | |
virtual iimg::IBitmap * | InsertBitmap (iimg::IBitmap::PixelFormat pixelFormat, const istd::CIndex2d &size) |
Inserts a new bitmap. More... | |
virtual iimg::IBitmap * | InsertBitmap (iimg::IBitmap::PixelFormat pixelFormat, const istd::CIndex2d &size, void *dataPtr, bool releaseFlag, int linesDifference=0) |
Inserts a new bitmap. More... | |
virtual void | RemoveBitmap (int index) |
Removes the bitmap at the given index. More... | |
virtual bool | CopyFrom (const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) |
Copy this object from another one. More... | |
virtual bool | ResetData (CompatibilityMode mode=CM_WITHOUT_REFS) |
Reset data to its default state. More... | |
![]() | |
virtual int | GetPagesCount () const |
virtual const istd::IChangeable & | GetDocumentPage (int pageIndex) const |
virtual const idoc::IDocumentMetaInfo * | GetPageMetaInfo (int pageIndex) const |
virtual void | ResetPages () |
virtual bool | RemovePage (int pageIndex) |
virtual const IDocumentMetaInfo & | GetDocumentMetaInfo () const |
virtual int | GetOptionsFlags () const |
Get constraints flags. More... | |
virtual int | GetOptionsCount () const |
Get number of managed options. More... | |
virtual QString | GetOptionName (int index) const |
Get name of specified option. More... | |
virtual QString | GetOptionDescription (int index) const |
Get human readable description for a option with the index index . More... | |
virtual QByteArray | GetOptionId (int index) const |
Get option ID. More... | |
virtual bool | IsOptionEnabled (int index) const |
Return true if the option is enabled and can be selected. More... | |
virtual bool | Serialize (iser::IArchive &archive) |
Load or store state of this object as a archive stream. More... | |
![]() | |
virtual int | GetSupportedOperations () const |
Get set of flags for supported operations. More... | |
virtual bool | IsEqual (const IChangeable &object) const |
Compare this object with another object. More... | |
virtual void | BeginChanges (const ChangeSet &changeSet) |
Starts the change transaction. More... | |
virtual void | EndChanges (const ChangeSet &changeSet) |
Ends the change transaction. More... | |
virtual void | BeginChangeGroup (const ChangeSet &changeSet) |
Starts group of changes. More... | |
virtual void | EndChangeGroup (const ChangeSet &changeSet) |
Ends group of changes. More... | |
![]() | |
virtual | ~IPolymorphic () |
![]() | |
virtual MetaInfoTypes | GetMetaInfoTypes (bool allowReadOnly=true) const |
Get list of contained meta info types. More... | |
virtual QVariant | GetMetaInfo (int metaInfoType) const |
Get document's meta info. More... | |
virtual bool | SetMetaInfo (int metaInfoType, const QVariant &metaInfo) |
Set new document's meta information for a given meta type. More... | |
virtual QString | GetMetaInfoName (int metaInfoType) const |
Get a human readable name for a given meta information type. More... | |
virtual QString | GetMetaInfoDescription (int metaInfoType) const |
Get a human readable description for a given meta information type. More... | |
virtual bool | IsMetaInfoWritable (int metaInfoType) const |
Check if meta information can be changed. More... | |
virtual bool | IsEqual (const IChangeable &object) const |
virtual bool | CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) |
![]() | |
virtual quint32 | GetMinimalVersion (int versionId) const |
Get minimal needed version to correct storing of this data. More... | |
Protected Member Functions | |
virtual IBitmap * | CreateBitmap () const |
![]() | |
virtual bool | SerializePage (iser::IArchive &archive, Page &pageItem) |
Serialize a single page item into or from the archive. More... | |
![]() | |
virtual void | OnBeginChanges () |
Callback function for begin change event. More... | |
virtual void | OnEndChanges (const ChangeSet &changeSet) |
Callback function for end change event. More... | |
Additional Inherited Members | |
![]() | |
static const ChangeSet & | GetNoChanges () |
Get empty set of changes. More... | |
static const ChangeSet & | GetAnyChange () |
Get anonymous change set. More... | |
static const ChangeSet & | GetAllChanges () |
Get anonymous change set. More... | |
static const ChangeSet & | GetDelegatedChanges () |
Get delegated change set. More... | |
![]() | |
typedef QList< Page > | Pages |
![]() | |
Pages | m_documentPages |
Generic implementation of a multi-page bitmap.
BitmapImpl | Type of the bitmap implementation. |
Definition at line 20 of file TMultiPageBitmap.h.
typedef CMultiPageBitmapBase iimg::TMultiPageBitmap< BitmapImpl >::BaseClass |
Definition at line 23 of file TMultiPageBitmap.h.
typedef BitmapImpl iimg::TMultiPageBitmap< BitmapImpl >::BitmapType |
Definition at line 24 of file TMultiPageBitmap.h.
|
virtual |
Make a copy of this object.
Reimplemented from idoc::CStandardDocumentMetaInfo.
Definition at line 40 of file TMultiPageBitmap.h.
References NULL, and istd::TDelPtr< Type, Accessor >::PopPtr().
|
protectedvirtual |
Implements iimg::CMultiPageBitmapBase.
Definition at line 56 of file TMultiPageBitmap.h.
© 2007-2017 Witold Gantzke and Kirill Lepskiy