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

#include <IGraphicStateIsApplicable.h>

Inheritance diagram for IGraphicStateIsApplicable:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IGRAPHICSTYLE_IS_APPLICABLE }
 

Public Member Functions

virtual void PreventAttributeApplication (const ClassID &attrClassID)=0
 
virtual void PreventFillRenderingApplication (const ClassID &newClassID)=0
 
virtual void PreventStrokeRenderingApplication (const ClassID &newClassID)=0
 
virtual bool16 AllowAttributeApplication (const ClassID &attrClassID)=0
 
virtual bool16 AllowFillRenderingApplication (const ClassID &newClassID)=0
 
virtual bool16 AllowStrokeRenderingApplication (const ClassID &newClassID)=0
 
virtual void ClearAttributeList (void)=0
 
virtual void ClearFillRenderingList (void)=0
 
virtual void ClearStrokeRenderingList (void)=0
 
virtual bool16 IsAttributeApplicable (const ClassID &attrClassID) const =0
 
virtual bool16 IsFillRenderingTypeApplicable (const ClassID &classID) const =0
 
virtual bool16 IsStrokeRenderingTypeApplicable (const ClassID &classID) const =0
 
virtual uint32 AttributeClassCount (void) const =0
 
virtual uint32 FillRenderingTypeClassCount (void) const =0
 
virtual uint32 StrokeRenderingTypeClassCount (void) const =0
 
virtual ClassID GetAttributeClassID (uint32 index) const =0
 
virtual ClassID GetFillRenderingTypeClassID (uint32 index) const =0
 
virtual ClassID GetStrokeRenderingTypeClassID (uint32 index) const =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 graphic attribute interface on the page item to indicate which attributes are applicable and which are not.

Member Function Documentation

virtual bool16 IGraphicStateIsApplicable::AllowAttributeApplication (const ClassIDattrClassID)
pure virtual

Allow the specified attribute class type to be applied to the page item.

Parameters
attrClassIDspeciifes the attribute class ID.
Returns
true if attribute class was removed from the list of excluded attribute list.
virtual bool16 IGraphicStateIsApplicable::AllowFillRenderingApplication (const ClassIDnewClassID)
pure virtual

Allow the specified rendering class type to be applied to the page item's fill rendering attribute.

Parameters
newClassIDspeciifes the rendering object class ID.
Returns
true if rendering class was removed from the list of excluded fill list.
virtual bool16 IGraphicStateIsApplicable::AllowStrokeRenderingApplication (const ClassIDnewClassID)
pure virtual

Allow the specified rendering class type to be applied to the page item's stroke rendering attribute.

Parameters
newClassIDspeciifes the rendering object class ID.
Returns
true if rendering class was removed from the list of excluded stroke list.
virtual uint32 IGraphicStateIsApplicable::AttributeClassCount (void ) const
pure virtual

Returns the number of attributes that are excluded.

virtual void IGraphicStateIsApplicable::ClearAttributeList (void )
pure virtual

Clear all entries in the page item's excluded attribute list.

virtual void IGraphicStateIsApplicable::ClearFillRenderingList (void )
pure virtual

Clear all entries in the page item's excluded rendering fill list.

virtual void IGraphicStateIsApplicable::ClearStrokeRenderingList (void )
pure virtual

Clear all entries in the page item's excluded rendering stroke list.

virtual uint32 IGraphicStateIsApplicable::FillRenderingTypeClassCount (void ) const
pure virtual

Returns the number of rendering types that are excluded from the fill rendering attribute.

virtual ClassID IGraphicStateIsApplicable::GetAttributeClassID (uint32 index) const
pure virtual

Returns the nth excluded attribute class ID.

Parameters
indexis the nth item in the excluded list.
Returns
the nth attribute class ID.
virtual ClassID IGraphicStateIsApplicable::GetFillRenderingTypeClassID (uint32 index) const
pure virtual

Returns the nth excluded fill rendering object class ID.

Parameters
indexis the nth item in the excluded list.
Returns
the nth rendering object class ID.
virtual ClassID IGraphicStateIsApplicable::GetStrokeRenderingTypeClassID (uint32 index) const
pure virtual

Returns the nth excluded stroke rendering object class ID.

Parameters
indexis the nth item in the excluded list.
Returns
the nth rendering object class ID.
virtual bool16 IGraphicStateIsApplicable::IsAttributeApplicable (const ClassIDattrClassID) const
pure virtual

Return whether or not the specified attribute class ID can be applied to the page item.

Parameters
attrClassIDspecifies the attribute class ID.
Returns
true if specified attribute class can be applied.
virtual bool16 IGraphicStateIsApplicable::IsFillRenderingTypeApplicable (const ClassIDclassID) const
pure virtual

Return whether or not the specified rendering object class ID can be applied to the page item's fill renderint attribute.

Parameters
classIDspecifies the rendering object class ID.
Returns
true if specified rendering object class can be applied.
virtual bool16 IGraphicStateIsApplicable::IsStrokeRenderingTypeApplicable (const ClassIDclassID) const
pure virtual

Return whether or not the specified rendering object class ID can be applied to the page item's stroke renderint attribute.

Parameters
classIDspecifies the rendering object class ID.
Returns
true if specified rendering object class can be applied.
virtual void IGraphicStateIsApplicable::PreventAttributeApplication (const ClassIDattrClassID)
pure virtual

Prevent the specified attribute class ID from being applied to the page item.

Parameters
attrClassIDspeciifes the attribute class ID.
virtual void IGraphicStateIsApplicable::PreventFillRenderingApplication (const ClassIDnewClassID)
pure virtual

Prevent the specified rendering object class ID from being applied to the page item's fill rendering attribute.

Parameters
newClassIDspeciifes the rendering object class ID.
virtual void IGraphicStateIsApplicable::PreventStrokeRenderingApplication (const ClassIDnewClassID)
pure virtual

Prevent the specified rendering object class ID from being applied to the page item's stroke rendering attribute.

Parameters
newClassIDspeciifes the rendering object class ID.
virtual uint32 IGraphicStateIsApplicable::StrokeRenderingTypeClassCount (void ) const
pure virtual

Returns the number of rendering types that are excluded from the stroke rendering attribute.