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

#include <IGraphicStyleReference.h>

Inheritance diagram for IGraphicStyleReference:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IGRAPHICSTYLE_REFERENCE }
 

Public Member Functions

virtual UID GetReference (void) const =0
 
virtual void SetReference (const UID &newStyleUID)=0
 
virtual IGraphicStyleDescriptorGetDescriptor (void) const =0
 
virtual void SetDescriptor (IGraphicStyleDescriptor *iNewStyleDescriptor)=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

An interface for getting and setting the graphic style.

Member Function Documentation

virtual IGraphicStyleDescriptor* IGraphicStyleReference::GetDescriptor (void ) const
pure virtual

Returns the graphic style descriptor associated with this graphic style UID.

Returns
IGraphicStyleDescriptor* or nil.
virtual UID IGraphicStyleReference::GetReference (void ) const
pure virtual

Returns the graphic style UID.

Returns
the graphic style UID.
virtual void IGraphicStyleReference::SetDescriptor (IGraphicStyleDescriptoriNewStyleDescriptor)
pure virtual

Sets the new graphic style UID using the specified new style descriptor.

Parameters
iNewStyleDescriptorthe new graphic style descriptor to set.
virtual void IGraphicStyleReference::SetReference (const UIDnewStyleUID)
pure virtual

Sets the new graphic style UID.

Parameters
newStyleUIDthe new graphic style UID to set.