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

Public Types | |
| enum | { kDefaultIID = IID_IPAGEITEMADORNMENTLIST } |
Public Member Functions | |
| virtual void | AddAdornment (ClassID, bool16=kTrue)=0 |
| virtual void | RemoveAdornment (ClassID, bool16=kTrue)=0 |
| virtual int32 | GetNumberOfAdornments ()=0 |
| virtual bool | HasAdornment (ClassID, IAdornmentShape::AdornmentDrawOrder order=IAdornmentShape::kAllAdornmentFlags)=0 |
| virtual bool | HasHandleAdornment (ClassID classID, IAdornmentHandleShape::AdornmentDrawOrder order=IAdornmentHandleShape::kAllAdornmentFlags)=0 |
| virtual void | AddHandleAdornment (ClassID, bool16=kTrue)=0 |
| virtual void | RemoveHandleAdornment (ClassID, bool16=kTrue)=0 |
| virtual int32 | GetNumberOfHandleAdornments ()=0 |
| virtual IAdornmentIterator * | CreateIterator (IAdornmentShape::AdornmentDrawOrder order, bool32 addUniqueOnly=kFalse)=0 |
| virtual IAdornmentIterator * | CreateIterator (IAdornmentHandleShape::AdornmentDrawOrder order)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
A list of all of the adornments currently applied to a given page item. This class deals with both shape adornments and handle adornments
| pure virtual |
Adds the adornment. The adornment specifies its paint order bits
| ClassID | - The ClassID of the adorment being added |
| bool16 | - kTrue will mark the document as dirty (forcing a save dialog) if the list changes |
| pure virtual |
Adds the adornment. The adornment specifies its paint order bits
| ClassID | - The ClassID of the adorment being added |
| bool16 | - kTrue will mark the document as dirty (forcing a save dialog) if the list changes |
| pure virtual |
create a new shape iterator which can be used to quick iterate through the adornments
| order | - The draw order to use when searching for adornments to add to the list |
| addUniqueOnly | - If true and order=all, will only add unique adornments in the case where an adornment handles multiple draw orders. Eg if an adornment handles beforeshape and aftershape, it'll be added twice to the iterator unless this parameter is true. |
| pure virtual |
create a new handle iterator which can be used to quick iterate through the adornments
| order | - The draw order to use when searching for adornments to add to the list |
| pure virtual |
Returns the total number of adornments in the data structure
| pure virtual |
Returns the total number of adornments in the data structure
| pure virtual |
Indicates whether this page item already contains a given adornment
| ClassID | - The adornment to check for on the page item |
| order | - This method will only search through adornements with a given draw order. |
| pure virtual |
Indicates whether this page item already contains a given handle adornment
| ClassID | - The handle adornment to check for on the page item |
| pure virtual |
Removes the adornment with the ClassID
| ClassID | - The ClassID of the adorment being added |
| bool16 | - kTrue will mark the document as dirty (forcing a save dialog) if the list changes |
| pure virtual |
Removes the adornment with the ClassID
| ClassID | - The ClassID of the adorment being added |
| bool16 | - kTrue will mark the document as dirty (forcing a save dialog) if the list changes |