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

#include <ISwatchesPanelPrefs.h>

Inheritance diagram for ISwatchesPanelPrefs:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ISWATCHESPANELPREFS }
 

Public Member Functions

virtual void SetActiveOptionClassID (const ClassID &theState)=0
 
virtual ClassID GetActiveOptionClassID () const =0
 
virtual void SetPrefs (const ClassID &theRenderClass, const WidgetID &theState)=0
 
virtual WidgetID GetPrefs (const ClassID &theRenderClass) const =0
 
virtual void CopyData (const ISwatchesPanelPrefs *)=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

A data interface on the main swatch list palette. This interface specifies how the swatches palette should be shown.

Member Function Documentation

virtual void ISwatchesPanelPrefs::CopyData (const ISwatchesPanelPrefs)
pure virtual

for_internal_use ISwatchesPanelPrefs pointer to copy data from.

virtual ClassID ISwatchesPanelPrefs::GetActiveOptionClassID () const
pure virtual

Returns the current active view filter class.

virtual WidgetID ISwatchesPanelPrefs::GetPrefs (const ClassIDtheRenderClass) const
pure virtual

Returns the view preference for the specified view filter.

Parameters
thetheRenderClass specifies the view filter.
Returns
the widgetID associated with this view filter.
virtual void ISwatchesPanelPrefs::SetActiveOptionClassID (const ClassIDtheState)
pure virtual

Sets the active view filter class.

Parameters
theStatespecifies the new active view filter classID. This should be kInvalidClass, kPMColorBoss, kGradientRenderingObjectBoss, or kColorGroupBoss.
virtual void ISwatchesPanelPrefs::SetPrefs (const ClassIDtheRenderClass,
const WidgetIDtheState 
)
pure virtual

Sets the current view preference for the panel.

Parameters
thetheRenderClass specifies the current view filter.
theStatespecifies either list style widget ID or the grid style widget ID.