InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITableModelStorage Class Referenceabstract
Inheritance diagram for ITableModelStorage:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITABLEMODELSTORAGE }
 kDefaultIID
 

Public Member Functions

Content Managers

Content managers that are registered with the model are owned by it.

virtual void RegisterContentMgr (CellType type, UID contentMgrUID)=0
 
virtual void UnregisterContentMgr (CellType type, UID contentMgrUID)=0
 
virtual int32 GetContentMgrCount (void) const =0
 Returns the number of content managers registered with the table model */.
 
virtual ICellContentMgrQueryNthContentMgr (int32 n) const =0
 
virtual ICellContentMgrQueryContentMgr (CellType type) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Strands

Strands that are registered with the model are owned by it.

enum  ETableStrand { eRow, eColumn, eCell }
 
virtual void RegisterStrand (UID strandUID)=0
 
virtual void UnregisterStrand (UID strandUID)=0
 
virtual int32 GetStrandCount (void) const =0
 
virtual ITableStrand * QueryNthStrand (int32 n) const =0
 
virtual ITableStrand * QueryStrand (ETableStrand which) const =0
 
virtual ITableStrand * QueryStrand (ClassID which) const =0
 
virtual int32 GetNotificationStrandCount () const =0
 
virtual ITableNotificationStrand * QueryNthNotificationStrand (int32 n) const =0
 

Member Function Documentation

virtual int32 ITableModelStorage::GetNotificationStrandCount () const
pure virtual

Returns the number of strands notification strands.

virtual int32 ITableModelStorage::GetStrandCount (void ) const
pure virtual

Returns the number of strands registered with the table model

virtual ICellContentMgr* ITableModelStorage::QueryContentMgr (CellType type) const
pure virtual
Returns the ContentMgr identified by 'type'. Clients need to 'Release' the interface

when done.

virtual ICellContentMgr* ITableModelStorage::QueryNthContentMgr (int32 n) const
pure virtual

Returns the nth content manager n < self.GetContentMgrCount

virtual ITableNotificationStrand* ITableModelStorage::QueryNthNotificationStrand (int32 n) const
pure virtual

Returns the nth notification strand n < self.GetNotificationStrandCount

virtual ITableStrand* ITableModelStorage::QueryNthStrand (int32 n) const
pure virtual

Returns the nth strand n < self.GetStrandCount

virtual ITableStrand* ITableModelStorage::QueryStrand (ETableStrand which) const
pure virtual

Returns the strand identified by which. Clients need to 'Release' the interface when done.

virtual ITableStrand* ITableModelStorage::QueryStrand (ClassID which) const
pure virtual

Returns the strand identified by which. Clients need to 'Release' the interface when done.

virtual void ITableModelStorage::RegisterContentMgr (CellType type,
UID contentMgrUID 
)
pure virtual

Registers a persistent boss that has an IContentMgr implementation identified by ICellContentMgr::kDefaultIID

virtual void ITableModelStorage::RegisterStrand (UID strandUID)
pure virtual
Registers a persistent boss that has an ITableStrand implementation identified by 

ITableStrand::kDefaultIID

virtual void ITableModelStorage::UnregisterContentMgr (CellType type,
UID contentMgrUID 
)
pure virtual

Unregisters a previously registered content manager boss. See RegisterContentMgr for more info.

virtual void ITableModelStorage::UnregisterStrand (UID strandUID)
pure virtual

Unregisters a previously registered strand boss. See RegisterStrand for more info.