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

Public Types | |
| enum | { kDefaultIID = IID_IINCOPYUICOLORS } |
Public Member Functions | |
| virtual int32 | GetColorCount () const =0 |
| virtual RealAGMColor | GetColorValue (int32 index) const =0 |
| virtual RealAGMColor | GetColorValue (PMString name) const =0 |
| virtual PMString | GetColorName (int32 index) const =0 |
| virtual PMString | GetColorName (RealAGMColor agmColor) const =0 |
| virtual bool | SetDefault (int32 index)=0 |
| virtual RealAGMColor | GetDefaultColor () const =0 |
| virtual ScriptID | GetEnumeration (int32 index) const =0 |
| virtual int32 | GetEnumerationIndex (ScriptID enumeration) const =0 |
| virtual int32 | GetColorIndex (const PMString &colorName) 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 |
Interface with getter/setter methods for colors used by InCopy for user and prefs (track changes, galley, notes).
| pure virtual |
Return number of colors in the list.
| pure virtual |
Get color Index.
| name | of the color as PMString. |
| pure virtual |
Get the color name stored at a specific index.
| index | of color for which to get the name. |
| pure virtual |
Get the color name with the given color value.
| agmColor | color to get the name of. |
| pure virtual |
Get the color at a specific index.
| index | of the color to get value for. |
| pure virtual |
Get the color values of the color with the given name.
| name | of the color to get value for. |
| pure virtual |
Get the current default color.
| pure virtual |
Map an index to a scripting enumeration.
| index | to map. |
| pure virtual |
Map a scripting enumeration to a color index.
| enumeration | the scripting enum to map. |
| pure virtual |
Set default color.
| index | of the color to set as default. |