![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ICOLORLISTCONTROLDATA } |
| enum | IncludeCustom { kIncludeCustom = 0, kColorsOnly } |
Public Member Functions | |
| virtual void | Setup (UIDRef workspace, PMIID whichInterface, IncludeCustom customOption=kIncludeCustom, UID selectedColor=kInvalidUID)=0 |
| virtual void | Select (UID whichColor, bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0 |
| virtual bool16 | IsSetup (UIDRef workspace=UIDRef::gNull) const =0 |
| virtual UID | GetSelection () const =0 |
| virtual void | AddIgnore () const =0 |
| virtual void | RemoveIgnore () const =0 |
| virtual void | AddUnnamed (UIDRef swatchRef) const =0 |
| virtual void | RemoveUnnamed () 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 |
| pure virtual |
Adds an "(Ignore)" entry to end of list, if none exists already
| none |
| pure virtual |
Adds "[Unnamed Color]" entry to the end of the list if one doesn't already exist
| UIDRef | the ref of the unnamed color |
| pure virtual |
Get the UID of the selected color
| none |
| pure virtual |
Has the color list been initialized yet? If the list has been initialized we don't need to intialize it again.
| workspace | - UIDRef of the document this should have been setup for |
| pure virtual |
Removes "(Ignore)" entry, if in list
| none |
| pure virtual |
Removes "[Unnamed Color]" entry to the end of the list if one doesn't already exist
| none |
| pure virtual |
Select a particular color
| whichColor | - UID of the color to select (kInvalid will select nothing in the list) |
| pure virtual |
Fill in the list box using the correct color list
| workspace | - workspace that the color list is in |
| whichInterface | - The color list to use (IID_IUICOLORLIST or IID_ISWATCHLIST) |
| kIncludeCustom | - Include an entry for a custom color? |
| selectedColor | - UID of the default color to select |