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

#include <IGraphicStyleDescriptor.h>

Inheritance diagram for IGraphicStyleDescriptor:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IGRAPHICSTYLE_DESCRIPTOR }
 

Public Member Functions

virtual IPMUnknownQueryAttribute (ClassID attrClass, const PMIID &interfaceID=IID_IUNKNOWN)=0
 
virtual IPMUnknownCreateAttributeCopy (ClassID attrClass, const PMIID &interfaceID=IID_IUNKNOWN)=0
 
virtual
IGraphicStyleAttributeBossList
CreateDescriptorCopy (void)=0
 
virtual K2Vector< ClassID > * CreateDescriptorClassList (void)=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 should be used whenever there's a need to determine which attributes are applied. It will resolve between any applied graphic style and overrides.

Member Function Documentation

virtual IPMUnknown* IGraphicStyleDescriptor::CreateAttributeCopy (ClassID attrClass,
const PMIIDinterfaceID = IID_IUNKNOWN 
)
pure virtual

Creates a copy of the specified attribute and returns the requested interface pointer to the attribute copy.

Parameters
attrClassthe class ID of the attribute requested.
interfaceIDthe requested interface IID.
Returns
the interface pointer IPMUnknown* or nil.
virtual K2Vector<ClassID>* IGraphicStyleDescriptor::CreateDescriptorClassList (void )
pure virtual

Creates a copy of the list of the current attributes classes associated with the graphic style and overrides.

Returns
a list of attribute classes.
virtual IGraphicStyleAttributeBossList* IGraphicStyleDescriptor::CreateDescriptorCopy (void )
pure virtual

Creates a copy of the list of the current attributes associated with the graphic style and overrides.

Returns
a list of attribute objects.
virtual IPMUnknown* IGraphicStyleDescriptor::QueryAttribute (ClassID attrClass,
const PMIIDinterfaceID = IID_IUNKNOWN 
)
pure virtual

Returns the requested interface pointer of the specified attribute.

Parameters
attrClassthe class ID of the attribute requested.
interfaceIDthe requested interface IID.
Returns
the interface pointer IPMUnknown* or nil.