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

#include <ISwatchReferenceData.h>

Inheritance diagram for ISwatchReferenceData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ISWATCHREFERENCEDATA }
 

Public Member Functions

virtual void Get (UIDList &referencedList) 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

This interface provides a method for retrieving swatch references by a specific object. It should be implemented on the object boss such as text, tables, page items, styles, graphic states, etc., that hold swatch references. This interface should not be used to get a list of referenced swatches for the entire document.

Member Function Documentation

virtual void ISwatchReferenceData::Get (UIDListreferencedList) const
pure virtual

Get all the referenced swatches by this object. It is the responsibility of the implementation to check the list for a rendering object before adding a new one.

Parameters
referencedListThe list of swatches referenced.