InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITableAttributes Class Referenceabstract

#include <ITableAttributes.h>

Inheritance diagram for ITableAttributes:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITABLEATTRIBUTES }
 

Public Member Functions

virtual int32 CountBosses () const =0
 
virtual ClassID GetClassN (int32 n) const =0
 
virtual const IPMUnknownQueryBossN (int32 n, PMIID iid) const =0
 
virtual const IPMUnknownQueryByClassID (ClassID classID, PMIID iid) const =0
 
virtual void ApplyAttribute (const IPMUnknown *newAttribute)=0
 
virtual void ApplyAttributes (const AttributeBossList *other)=0
 
virtual void ClearOverride (ClassID id)=0
 
virtual void ClearOverrides (const AttributeBossList *list)=0
 
virtual void ClearAllOverrides ()=0
 
virtual const AttributeBossListGetBossList () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

An interface wrapper for AttributeBossList. This interface is similar to ITextAttributes.

Member Function Documentation

virtual void ITableAttributes::ApplyAttribute (const IPMUnknownnewAttribute)
pure virtual

Updates the value of a specific override of corresponding class ID to the given boss object

Parameters
newAttributeinterface ptr on an attribute boss object to be added to the list of overrides
virtual void ITableAttributes::ApplyAttributes (const AttributeBossListother)
pure virtual

Update values of overrides a list of attributes given

Parameters
otherlist of overrides to apply
virtual void ITableAttributes::ClearAllOverrides ()
pure virtual

Remove all the overrides.

virtual void ITableAttributes::ClearOverride (ClassID id)
pure virtual

Remove an override associated with a given ClassID.

Parameters
idspecifies the class of override that is to be removed from the AttributeBossList
virtual void ITableAttributes::ClearOverrides (const AttributeBossListlist)
pure virtual

Remove the specified overrides

Parameters
listoverrides to remove
virtual int32 ITableAttributes::CountBosses () const
pure virtual

Determine the count of attribute overrides in the AttributeBossList.

virtual const AttributeBossList* ITableAttributes::GetBossList () const
pure virtual

Accessor for the AttributeBossList.

Returns
this encapsulated AttributeBossList
virtual ClassID ITableAttributes::GetClassN (int32 n) const
pure virtual

Determine the type of the override at the nth position in the AttributeBossList.

Parameters
nindex of override
Returns
ClassID of entry at given index
virtual const IPMUnknown* ITableAttributes::QueryBossN (int32 n,
PMIID iid 
) const
pure virtual
Returns
reference-incremented interface ptr of specified type, refers to override at given index.
Precondition
0 <= n < CountBosses
virtual const IPMUnknown* ITableAttributes::QueryByClassID (ClassID classID,
PMIID iid 
) const
pure virtual

Query for an override by ClassID.

Returns
reference-incremented interface ptr of specified type
Precondition
classID should be in set returned by a GetClassN call