![]() | InDesign SDK 20.5 |
#include <IObjectAttributeList.h>

Public Types | |
| enum | { kDefaultIID = IID_IOBJECTATTRIBUTELIST } |
Public Member Functions | |
| virtual int32 | CountBosses () const =0 |
| virtual ClassID | GetClassN (int32 n) const =0 |
| virtual const IPMUnknown * | QueryBossN (int32 n, PMIID id) const =0 |
| virtual const IPMUnknown * | QueryByClassID (ClassID c, PMIID prop) const =0 |
| virtual void | ApplyAttribute (const IPMUnknown *newone, ClassID attrCls=kInvalidClass)=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 bool16 | ContainsAttribute (ClassID classID) const =0 |
| virtual const AttributeBossList * | GetBossList () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface provides methods for accessing, apply and clear attributes.
| pure virtual |
Apply the attribute.
| newone | IN the interface that contains the attribute data to apply. |
| attrCls | IN the attribute's ClassID. |
| pure virtual |
Apply the passed in attribute list.
| other | IN the attributes to apply. |
| pure virtual |
Clear all the attributes.
| pure virtual |
Clear specific attribute determined by passed in ClassID.
| id | IN the ClassID of the attribute to be cleared. |
| pure virtual |
Clear the attributes determined by passed in attribute list.
| list | IN the attribute list that is to be cleared. |
| pure virtual |
Check if the attribute list contains the passed in attribute or not.
| classID | IN the ClassID of the attribute we check. |
| pure virtual |
Get the number of total attributes.
| pure virtual |
Get the attribute list.
| pure virtual |
Get nth attribute's ClassID.
| n | IN index of attribute. |
| pure virtual |
Query attribute's specific interface by the attribute's index and interfae id.
| n | IN index of attribute. |
| id | IN specific interface id. |
| pure virtual |
Query attribute's specific interface by the attribute's ClassID and interface id.
| c | IN ClassID of attribute. |
| id | IN specific interface id. |