InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IColorOverrides Class Referenceabstract
Inheritance diagram for IColorOverrides:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICOLOROVERRIDES }
 
enum  {
  kNormal = 0, kSpecialPaper, kSpecialBlack, kSpecialRegistration,
  kHiddenReserved, kMixedInkParent
}
 

Public Member Functions

virtual PMReal GetTint () const =0
 
virtual void SetTint (const PMReal &tint)=0
 
virtual const int32 GetColorRemark () const =0
 
virtual void SetColorRemark (const int32 remark)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Member Enumeration Documentation

anonymous enum

This enumerate the special type information for the color swatch.
Enumerator
kNormal 

kNormal indicates a normal color swatch

kSpecialPaper 

kSpecialPaper indicates the reserved paper swatch

kSpecialBlack 

kSpecialBlack indicates the reserved black swatch

kSpecialRegistration 

kSpecialRegistration indicates the reserved registration swatch

kHiddenReserved 

kHiddenReserved indicates the hidden reserved swatches. Currently there are three hidden reserved swatches: process "Cyan", process "Magenta", and process "Yellow" swatches

kMixedInkParent 

kMixedInkParent indicates the mixed ink group's parent swatch. There should at least one mixed ink swatch based on this parent.

Member Function Documentation

virtual const int32 IColorOverrides::GetColorRemark () const
pure virtual

Returns the special color type information.

virtual PMReal IColorOverrides::GetTint () const
pure virtual

Returns the tint percentage in the range of [0, 100), not including 100. Returns -1 if tint is not set.

virtual void IColorOverrides::SetColorRemark (const int32 remark)
pure virtual

Sets the special color type information for this swatch. Client should only set swatches to kNormal or kMixedInkParent.

Parameters
remarkthe special color type for this swatch.
virtual void IColorOverrides::SetTint (const PMRealtint)
pure virtual

Sets the tint percentage in the range of [0, 100), not including 100. The default value is -1 which means the tint value is not set.

Parameters
tinttint value