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

#include <IGraphicAttributeUtils.h>

Inheritance diagram for IGraphicAttributeUtils:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IGRAPHICATTRIBUTEUTILS }
 
enum  CornerType {
  kSimpleCorner, kLiveTopLeftCorner, kLiveTopRightCorner, kLiveBottomLeftCorner,
  kLiveBottomRightCorner
}
 

Public Member Functions

virtual ErrorCode GetStrokeWeight (PMReal &strokeWeight, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual ErrorCode GetVisibleStrokeWeight (PMReal &strokeWeight, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateStrokeWeightAttribute (PMReal strokeWeight)=0
 
virtual ErrorCode AddStrokeWeightAttribute (PMReal strokeWeight, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateStrokeWeightCommand (PMReal strokeWeight, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientFillAngle (PMReal &gradientAngle, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientFillAngleAttribute (PMReal gradientAngle)=0
 
virtual ErrorCode AddGradientFillAngleAttribute (PMReal gradientAngle, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientFillAngleCommand (PMReal gradientAngle, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientStrokeAngle (PMReal &gradientAngle, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientStrokeAngleAttribute (PMReal gradientAngle)=0
 
virtual ErrorCode AddGradientStrokeAngleAttribute (PMReal gradientAngle, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientStrokeAngleCommand (PMReal gradientAngle, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientFillLength (PMReal &gradientLength, UID graphicStyleUID, IDataBase *dataBase)=0
 
virtual ErrorCode GetGradientFillLength (PMReal &gradientLength, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientFillLengthAttribute (PMReal gradientLength)=0
 
virtual ErrorCode AddGradientFillLengthAttribute (PMReal gradientLength, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientFillLengthCommand (PMReal gradientLength, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientStrokeLength (PMReal &gradientLength, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientStrokeLengthAttribute (PMReal gradientLength)=0
 
virtual ErrorCode AddGradientStrokeLengthAttribute (PMReal gradientLength, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientStrokeLengthCommand (PMReal gradientLength, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientFillGradCenter (PMPoint &gradientGradCenter, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrPointCreateGradientFillGradCenterAttribute (PMPoint gradientGradCenter)=0
 
virtual ErrorCode AddGradientFillGradCenterAttribute (PMPoint gradientGradCenter, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientFillGradCenterCommand (PMPoint gradientGradCenter, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientStrokeGradCenter (PMPoint &gradientGradCenter, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrPointCreateGradientStrokeGradCenterAttribute (PMPoint gradientGradCenter)=0
 
virtual ErrorCode AddGradientStrokeGradCenterAttribute (PMPoint gradientGradCenter, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientStrokeGradCenterCommand (PMPoint gradientGradrCenter, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientFillRadius (PMReal &gradientRadius, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientFillRadiusAttribute (PMReal gradientRadius)=0
 
virtual ErrorCode AddGradientFillRadiusAttribute (PMReal gradientRadius, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientFillRadiusCommand (PMReal gradientRadius, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientStrokeRadius (PMReal &gradientRadius, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientStrokeRadiusAttribute (PMReal gradientRadius)=0
 
virtual ErrorCode AddGradientStrokeRadiusAttribute (PMReal gradientRadius, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientStrokeRadiusCommand (PMReal gradientRadius, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientFillHiliteLength (PMReal &gradientHiliteLength, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientFillHiliteLengthAttribute (PMReal gradientHiliteLength)=0
 
virtual ErrorCode AddGradientFillHiliteLengthAttribute (PMReal gradientHiliteLength, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientFillHiliteLengthCommand (PMReal gradientHiliteLength, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientStrokeHiliteLength (PMReal &gradientHiliteLength, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientStrokeHiliteLengthAttribute (PMReal gradientHiliteLength)=0
 
virtual ErrorCode AddGradientStrokeHiliteLengthAttribute (PMReal gradientHiliteLength, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientStrokeHiliteLengthCommand (PMReal gradientHiliteLength, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientFillHiliteAngle (PMReal &gradientHiliteAngle, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientFillHiliteAngleAttribute (PMReal gradientHiliteAngle)=0
 
virtual ErrorCode AddGradientFillHiliteAngleAttribute (PMReal gradientHiliteAngle, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientFillHiliteAngleCommand (PMReal gradientHiliteAngle, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGradientStrokeHiliteAngle (PMReal &gradientHiliteAngle, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGradientStrokeHiliteAngleAttribute (PMReal gradientHiliteAngle)=0
 
virtual ErrorCode AddGradientStrokeHiliteAngleAttribute (PMReal gradientHiliteAngle, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGradientStrokeHiliteAngleCommand (PMReal gradientHiliteAngle, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetCornerRadius (PMReal &cornerRadius, IGraphicStyleDescriptor *styleDescriptor, CornerType cornerType=kSimpleCorner)=0
 
virtual IGraphicAttrRealNumberCreateCornerRadiusAttribute (PMReal cornerRadius, CornerType cornerType=kSimpleCorner)=0
 
virtual ErrorCode AddCornerRadiusAttribute (PMReal cornerRadius, IGraphicStyleAttributeBossList *attributeList, CornerType cornerType=kSimpleCorner)=0
 
virtual ICommandCreateCornerRadiusCommand (PMReal cornerRadius, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify, CornerType cornerType=kSimpleCorner)=0
 
virtual ErrorCode GetMiterLimit (PMReal &miterLimit, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateMiterLimitAttribute (PMReal miterLimit)=0
 
virtual ErrorCode AddMiterLimitAttribute (PMReal miterLimit, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateMiterLimitCommand (PMReal miterLimit, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetOverprintFill (bool16 &overprintFill, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrBooleanCreateOverprintFillAttribute (bool16 overprintFill)=0
 
virtual ErrorCode AddOverprintFillAttribute (bool16 overprintFill, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateOverprintFillCommand (bool16 overprintFill, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetOverprintStroke (bool16 &overprintStroke, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrBooleanCreateOverprintStrokeAttribute (bool16 overprintStroke)=0
 
virtual ErrorCode AddOverprintStrokeAttribute (bool16 overprintStroke, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateOverprintStrokeCommand (bool16 overprintStroke, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetLineCap (int32 &lineCap, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrInt32CreateLineCapAttribute (int32 lineCap)=0
 
virtual ErrorCode AddLineCapAttribute (int32 lineCap, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateLineCapCommand (int32 lineCap, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetJoinType (int32 &joinType, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrInt32CreateJoinTypeAttribute (int32 joinType)=0
 
virtual ErrorCode AddJoinTypeAttribute (int32 joinType, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateJoinTypeCommand (int32 joinType, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetArrowHeadAlignment (int32 &arrowHeadAlignment, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrInt32CreateArrowHeadAlignmentAttribute (int32 arrowHeadAlignment)=0
 
virtual ErrorCode AddArrowHeadAlignmentAttribute (int32 arrowHeadAlignment, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateArrowHeadAlignmentCommand (int32 arrowHeadAlignment, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetLineImplementation (ClassID &lineImplementation, UID &lineImplementationUID, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrClassIDCreateLineImplementationAttribute (ClassID lineImplementation, UID lineImplementationUID)=0
 
virtual ErrorCode AddLineImplementationAttribute (ClassID lineImplementation, UID lineImplementationUID, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateLineImplementationCommand (ClassID lineImplementation, UID lineImplementationUID, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetLineEndStartImplementation (ClassID &lineEndStartImplementation, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrClassIDCreateLineEndStartImplementationAttribute (ClassID lineEndStartImplementation)=0
 
virtual ErrorCode AddLineEndStartImplementationAttribute (ClassID lineEndStartImplementation, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateLineEndStartImplementationCommand (ClassID lineEndStartImplementation, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetLineEndEndImplementation (ClassID &lineEndEndImplementation, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrClassIDCreateLineEndEndImplementationAttribute (ClassID lineEndEndImplementation)=0
 
virtual ErrorCode AddLineEndEndImplementationAttribute (ClassID lineEndEndImplementation, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateLineEndEndImplementationCommand (ClassID lineEndEndImplementation, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual IGraphicAttrRealNumberCreateArrowHeadStartScaleAttribute (PMReal arrowHeadScaleFactor)=0
 
virtual ICommandCreateArrowHeadStartScaleCommand (PMReal arrowHeadScaleFactor, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetArrowHeadStartScale (PMReal &arrowHeadScaleFactor, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual ErrorCode AddArrowHeadStartScaleAttribute (PMReal arrowHeadScaleFactor, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual IGraphicAttrRealNumberCreateArrowHeadEndScaleAttribute (PMReal arrowHeadScale)=0
 
virtual ICommandCreateArrowHeadEndScaleCommand (PMReal arrowHeadScale, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetArrowHeadEndScale (PMReal &arrowHeadScale, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual ErrorCode AddArrowHeadEndScaleAttribute (PMReal arrowHeadScale, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ErrorCode GetCornerImplementation (ClassID &cornerImplementation, IGraphicStyleDescriptor *styleDescriptor, CornerType cornerType=kSimpleCorner)=0
 
virtual IGraphicAttrClassIDCreateCornerImplementationAttribute (ClassID cornerImplementation, CornerType cornerType=kSimpleCorner)=0
 
virtual ErrorCode AddCornerImplementationAttribute (ClassID cornerImplementation, IGraphicStyleAttributeBossList *attributeList, CornerType cornerType=kSimpleCorner)=0
 
virtual ICommandCreateCornerImplementationCommand (ClassID cornerImplementation, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify, CornerType cornerType=kSimpleCorner)=0
 
virtual ErrorCode GetStrokeRenderingUID (UID &strokeRenderingUID, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IRenderingObjectQueryStrokeRenderingObject (IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IPersistUIDDataCreateStrokeRenderingAttribute (UID strokeRenderingUID)=0
 
virtual ErrorCode AddStrokeRenderingAttribute (UID strokeRenderingUID, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateStrokeRenderingCommand (UID strokeRenderingUID, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetFillRenderingUID (UID &fillRenderingUID, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IRenderingObjectQueryFillRenderingObject (IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IPersistUIDDataCreateFillRenderingAttribute (UID fillRenderingUID)=0
 
virtual ErrorCode AddFillRenderingAttribute (UID fillRenderingUID, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateFillRenderingCommand (UID fillRenderingUID, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetFillTint (PMReal &fillTint, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateFillTintAttribute (PMReal fillTint)=0
 
virtual ErrorCode AddFillTintAttribute (PMReal fillTint, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateFillTintCommand (PMReal fillTint, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetStrokeTint (PMReal &strokeTint, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateStrokeTintAttribute (PMReal strokeTint)=0
 
virtual ErrorCode AddStrokeTintAttribute (PMReal strokeTint, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateStrokeTintCommand (PMReal strokeTint, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetEvenOdd (bool16 &evenOddFill, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrBooleanCreateEvenOddAttribute (bool16 evenOddFill)=0
 
virtual ErrorCode AddEvenOddAttribute (bool16 evenOddFill, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateEvenOddCommand (bool16 evenOddFill, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetNonPrint (bool16 &nonPrint, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrBooleanCreateNonPrintAttribute (bool16 nonPrint)=0
 
virtual ErrorCode AddNonPrintAttribute (bool16 nonPrint, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateNonPrintCommand (bool16 nonPrint, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual void ApplyRenderUIDToPageItems (UIDList &pageItemList, ClassID renderObjectClassID, UID renderUID, ClassID attributeClassID)=0
 
virtual ErrorCode GetGapRenderingUID (UID &gapRenderingUID, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IRenderingObjectQueryGapRenderingObject (IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IPersistUIDDataCreateGapRenderingAttribute (UID gapRenderingUID)=0
 
virtual ErrorCode AddGapRenderingAttribute (UID gapRenderingUID, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGapRenderingCommand (UID gapRenderingUID, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetGapTint (PMReal &gapTint, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrRealNumberCreateGapTintAttribute (PMReal gapTint)=0
 
virtual ErrorCode AddGapTintAttribute (PMReal gapTint, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateGapTintCommand (PMReal gapTint, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetOverprintGap (bool16 &overprintGap, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrBooleanCreateOverprintGapAttribute (bool16 overprintGap)=0
 
virtual ErrorCode AddOverprintGapAttribute (bool16 overprintGap, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateOverprintGapCommand (bool16 overprintGap, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetStrokeAlignment (int32 &strokeAlignment, IGraphicStyleDescriptor *styleDescriptor)=0
 
virtual IGraphicAttrInt32CreateStrokeAlignmentAttribute (int32 strokeAlignment)=0
 
virtual ErrorCode AddStrokeAlignmentAttribute (int32 strokeAlignment, IGraphicStyleAttributeBossList *attributeList)=0
 
virtual ICommandCreateStrokeAlignmentCommand (int32 strokeAlignment, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0
 
virtual ErrorCode GetInt32Value (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, int32 &value)=0
 
virtual ErrorCode GetBoolValue (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, bool16 &value)=0
 
virtual ErrorCode GetStringValue (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, PMString &value)=0
 
virtual ErrorCode GetRealValue (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, PMReal &value)=0
 
virtual ErrorCode GetPointValue (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, PMPoint &value)=0
 
virtual ErrorCode GetClassValue (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, ClassID &value)=0
 
virtual ErrorCode GetUIDValue (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, UID &value)=0
 
virtual ErrorCode AddInt32Value (IGraphicStyleAttributeBossList *attributeList, const ClassID &attrID, const int32 &value)=0
 
virtual ErrorCode AddBoolValue (IGraphicStyleAttributeBossList *attributeList, const ClassID &attrID, const bool16 &value)=0
 
virtual ErrorCode AddStringValue (IGraphicStyleAttributeBossList *attributeList, const ClassID &attrID, const PMString &value)=0
 
virtual ErrorCode AddRealValue (IGraphicStyleAttributeBossList *attributeList, const ClassID &attrID, const PMReal &value)=0
 
virtual ErrorCode AddPointValue (IGraphicStyleAttributeBossList *attributeList, const ClassID &attrID, const PMPoint &value)=0
 
virtual ErrorCode AddClassValue (IGraphicStyleAttributeBossList *attributeList, const ClassID &attrID, const ClassID &value)=0
 
virtual ErrorCode AddUIDValue (IGraphicStyleAttributeBossList *attributeList, const ClassID &attrID, const UID &value)=0
 
virtual ErrorCode AddValue (IGraphicStyleAttributeBossList *attributeList, const ClassID &attrID, IPMUnknown *iAttr)=0
 
virtual ErrorCode GetFontValue (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, PMString &value)=0
 
virtual ErrorCode GetFontFamilyUIDValue (IGraphicStyleDescriptor *styleDescriptor, const ClassID &attrID, UID &value)=0
 
virtual IGraphicAttrRealNumberCreateGradientFillAspectRatio (PMReal aspectRatio)=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

Graphic attribute related utility functions.

Each attribute type has four methods:

  1. Get__. Get the attribute value from the specified graphic style descriptor.
  2. Create__Attribute. Create the attribute with the specified value and return a pointer to the attribute's persistent data interface.
  3. Add__Attribute. Create and add the attribute with the specified value to the attribute list.
  4. Create__Command. Create and return the apply attribute command given the attribute value and item list. The attribute command boss used is kGfxApplyAttrOverrideCmdBoss.

Member Enumeration Documentation

Enumerates the different types of corners types available
Enumerator
kSimpleCorner 

Simple Corner of any shape

kLiveTopLeftCorner 

Top Left Live Corner of the rectangle

kLiveTopRightCorner 

Top Right Live Corner of the rectangle

kLiveBottomLeftCorner 

Bottom Left Live Corner of the rectangle

kLiveBottomRightCorner 

Bottom Right Live Corner of the rectangle

Member Function Documentation

virtual ErrorCode IGraphicAttributeUtils::AddArrowHeadAlignmentAttribute (int32 arrowHeadAlignment,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the Arrow Head Alignment attribute to the specified attribute list.

Parameters
arrowHeadAlignmentwhether Arrow Head to be drawn Inside or Outside path. This is defined in
See Also
GraphicTypes.h.
Parameters
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
virtual ErrorCode IGraphicAttributeUtils::AddArrowHeadEndScaleAttribute (PMReal arrowHeadScale,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual
Creates and adds the arrow head end scale attribute to the specified attribute list.

Parameters
arrowHeadScaleFactorthe percentage scaling to be applied to the end arrow head.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
virtual ErrorCode IGraphicAttributeUtils::AddArrowHeadStartScaleAttribute (PMReal arrowHeadScaleFactor,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual
Creates and adds the arrow head start scale attribute to the specified attribute list.

Parameters
arrowHeadScaleFactorthe percentage scaling to be applied to the start arrow head.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
virtual ErrorCode IGraphicAttributeUtils::AddCornerImplementationAttribute (ClassID cornerImplementation,
IGraphicStyleAttributeBossListattributeList,
CornerType cornerType = kSimpleCorner 
)
pure virtual
Creates and adds the corner style attribute to the specified attribute list.

Parameters
cornerImplementationthe corner style.
attributeListthe attribute list.
cornerTypethe corner for which the implementation is required.
Returns
kSuccess if successful or returns an error code.
See Also
GetCornerImplementation
virtual ErrorCode IGraphicAttributeUtils::AddCornerRadiusAttribute (PMReal cornerRadius,
IGraphicStyleAttributeBossListattributeList,
CornerType cornerType = kSimpleCorner 
)
pure virtual
Creates and adds the stroke corner radius attribute to the specified attribute list.

Parameters
cornerRadiusthe corner radius.
attributeListthe attribute list.
cornerTypethe corner for which the radius is required.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddEvenOddAttribute (bool16 evenOddFill,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the even-odd fill attribute to the specified attribute list.

Parameters
evenOddFillthe even-odd fill setting to add.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddFillRenderingAttribute (UID fillRenderingUID,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the fill rendering attribute to the specified attribute list.

Parameters
fillRenderingUIDthe fill rendering UID to add. A rendering UID must be a rendering object boss with the reqruied IRenderingObject interface.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GetFillRenderingUID
virtual ErrorCode IGraphicAttributeUtils::AddFillTintAttribute (PMReal fillTint,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the fill tint attribute to the specified attribute list.

Parameters
fillTintthe fill tint percent to add.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGapRenderingAttribute (UID gapRenderingUID,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke gap rendering attribute to the specified attribute list.

Parameters
gapRenderingUIDthe stroke gap rendering UID for the attribute. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GetGapRenderingUID.
virtual ErrorCode IGraphicAttributeUtils::AddGapTintAttribute (PMReal gapTint,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke gaptint attribute to the specified attribute list.

Parameters
gapTintthe stroke gap tint percent to add.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientFillAngleAttribute (PMReal gradientAngle,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient fill angle attribute to the specified attribute list.

Parameters
gradientAnglethe gradient fill angle to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientFillGradCenterAttribute (PMPoint gradientGradCenter,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient fill center or start point attribute to the specified attribute list.

Parameters
gradientGradCenterthe gradient fill center or start point to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientFillHiliteAngleAttribute (PMReal gradientHiliteAngle,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient fill hilite angle attribute to the specified attribute list.

Parameters
gradientHiliteAnglethe gradient fill hilite angle.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientFillHiliteLengthAttribute (PMReal gradientHiliteLength,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient fill hilite length attribute to the specified attribute list.

Parameters
gradientHiliteLengththe gradient fill hilite length.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientFillLengthAttribute (PMReal gradientLength,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient fill length attribute to the specified attribute list.

Parameters
gradientLengththe gradient fill length to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientFillRadiusAttribute (PMReal gradientRadius,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient fill radius attribute to the specified attribute list.

Parameters
gradientRadiusthe gradient fill radius to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientStrokeAngleAttribute (PMReal gradientAngle,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient stroke angle attribute to the specified attribute list.

Parameters
gradientAnglethe gradient stroke angle to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientStrokeGradCenterAttribute (PMPoint gradientGradCenter,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient center or start point attribute for stroke to the specified attribute list.

Parameters
gradientGradCenterthe gradient fill center or start point to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientStrokeHiliteAngleAttribute (PMReal gradientHiliteAngle,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke gradient hilite angle attribute to the specified attribute list.

Parameters
gradientHiliteAnglethe gradient hilite angle.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientStrokeHiliteLengthAttribute (PMReal gradientHiliteLength,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke gradient hilite length attribute to the specified attribute list.

Parameters
gradientHiliteLengththe stroke gradient hilite length.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientStrokeLengthAttribute (PMReal gradientLength,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient length attribute for stroke to the specified attribute list.

Parameters
gradientLengththe stroke gradient length to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddGradientStrokeRadiusAttribute (PMReal gradientRadius,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the gradient radius attribute for stroke to the specified attribute list.

Parameters
gradientRadiusthe stroke gradient radius to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddJoinTypeAttribute (int32 joinType,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the line join type attribute to the specified attribute list.

Parameters
joinTypethe line join type to add. This is defined in
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
virtual ErrorCode IGraphicAttributeUtils::AddLineCapAttribute (int32 lineCap,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the line cap attribute to the specified attribute list.

Parameters
lineCapthe line cap to add. This is defined in
See Also
GraphicTypes.h.
Parameters
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
virtual ErrorCode IGraphicAttributeUtils::AddLineEndEndImplementationAttribute (ClassID lineEndEndImplementation,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the line end-end style attribute to the specified attribute list.

Parameters
lineEndEndImplementationthe line-end end style.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GetLineEndEndImplementation
virtual ErrorCode IGraphicAttributeUtils::AddLineEndStartImplementationAttribute (ClassID lineEndStartImplementation,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the line end-start style attribute to the specified attribute list.

Parameters
lineEndStartImplementationthe line-end start style
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GetLineEndStartImplementation.
virtual ErrorCode IGraphicAttributeUtils::AddLineImplementationAttribute (ClassID lineImplementation,
UID lineImplementationUID,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the line style attribute to the specified attribute list.

Parameters
lineImplementationthe line style if style is predefined.
lineImplementationUIDthe line style if style is customed.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
also GetLineImplementation
virtual ErrorCode IGraphicAttributeUtils::AddMiterLimitAttribute (PMReal miterLimit,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the miter limit attribute to the specified attribute list.

Parameters
miterLimitthe miter limit to add.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddNonPrintAttribute (bool16 nonPrint,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the on-print attribute to the specified attribute list.

Parameters
nonPrintthe non-printing setting to add.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddOverprintFillAttribute (bool16 overprintFill,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the fill overprint attribute to the specified attribute list.

Parameters
overprintFillthe fill overprint setting to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddOverprintGapAttribute (bool16 overprintGap,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke gap overprint attribute to the specified attribute list.

Parameters
overprintGapthe stroke v overprint setting to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddOverprintStrokeAttribute (bool16 overprintStroke,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke overprint attribute to the specified attribute list.

Parameters
overprintStrokethe stroke overprint setting to create.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddStrokeAlignmentAttribute (int32 strokeAlignment,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke alignment attribute to the specified attribute list.

Parameters
strokeAlignmentthe stroke alignment to create. This is a PMStrokeAlignment.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code. GraphicTypes.h
virtual ErrorCode IGraphicAttributeUtils::AddStrokeRenderingAttribute (UID strokeRenderingUID,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke rendering attribute to the specified attribute list.

Parameters
strokeRenderingUIDthe stroke rendering UID for the attribute. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
See Also
GetStrokeRenderingUID
virtual ErrorCode IGraphicAttributeUtils::AddStrokeTintAttribute (PMReal strokeTint,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke tint attribute to the specified attribute list.

Parameters
strokeTintthe stroke tint percent to add.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual ErrorCode IGraphicAttributeUtils::AddStrokeWeightAttribute (PMReal strokeWeight,
IGraphicStyleAttributeBossListattributeList 
)
pure virtual

Creates and adds the stroke weight attribute to the specified attribute list.

Parameters
strokeWeightthe stroke weight.
attributeListthe attribute list.
Returns
kSuccess if successful or returns an error code.
virtual void IGraphicAttributeUtils::ApplyRenderUIDToPageItems (UIDListpageItemList,
ClassID renderObjectClassID,
UID renderUID,
ClassID attributeClassID 
)
pure virtual

Apply the rendering UID to the specified rendering attribute class to a list of page items.

Parameters
pageItemListthe list of page items.
renderObjectClassIDthe rendering class of the rendering UID. Rendering class can be one of supported rendering object types: kPMColorBoss, kGradientRenderingObjectBoss, and kGraphicStateNoneRenderingObjectBoss.
renderUIDrendering UID. A rendering UID must be one of the rendering objects with the required IRenderingObject interface.
attributeClassIDthe rendering attribute class. (It must be kGraphicStyleFillRenderingAttrBoss or kGraphicStyleStrokeRenderingAttrBoss).
See Also
IRenderingObject
ISwatchList.h
ColorSystemID.h
GradientFillID.h
GraphicStylesID.h
virtual IGraphicAttrInt32* IGraphicAttributeUtils::CreateArrowHeadAlignmentAttribute (int32 arrowHeadAlignment)
pure virtual

Creates and returns the Arrow Head Alignment attribute.

Parameters
arrowHeadAlignmentthe Arrow Head Alignment to create. This is defined in
See Also
GraphicTypes.h.
Returns
the IGraphicAttrInt32 pointer to the Arrow Head Alignment attribute.
See Also
GraphicTypes.h.
virtual ICommand* IGraphicAttributeUtils::CreateArrowHeadAlignmentCommand (int32 arrowHeadAlignment,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply Arrow Head Alignment attribute to the specified item list.

Parameters
arrowHeadAlignmentwhether Arrow Head to be drawn Inside or Outside path. This is defined in
See Also
GraphicTypes.h.
Parameters
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GraphicTypes.h.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateArrowHeadEndScaleAttribute (PMReal arrowHeadScale)
pure virtual

Creates an arrow head end scale attribute.

Parameters
arrowHeadScaleFactorThe percentage scale factor which specifies the scaling to be applied to the end arrow head.
virtual ICommand* IGraphicAttributeUtils::CreateArrowHeadEndScaleCommand (PMReal arrowHeadScale,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual
Creates the attribute command to apply arrow head end scale attribute to the specified item list.

Parameters
arrowHeadScaleFactorThe percentage scaling to be applied to the end arrow head
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GraphicTypes.h.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateArrowHeadStartScaleAttribute (PMReal arrowHeadScaleFactor)
pure virtual

Creates an arrow head start scale attribute.

Parameters
arrowHeadScaleFactorThe percentage scale factor which specifies the scaling to be applied to the start arrow head.
virtual ICommand* IGraphicAttributeUtils::CreateArrowHeadStartScaleCommand (PMReal arrowHeadScaleFactor,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual
Creates the attribute command to apply arrow head start scale attribute to the specified item list.

Parameters
arrowHeadScaleFactorThe percentage scaling to be applied to the start arrow head
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GraphicTypes.h.
virtual IGraphicAttrClassID* IGraphicAttributeUtils::CreateCornerImplementationAttribute (ClassID cornerImplementation,
CornerType cornerType = kSimpleCorner 
)
pure virtual
Creates and returns the line corner style attribute.

Parameters
cornerImplementationthe corner style.
cornerTypethe corner for which the implementation is required.
Returns
the IGraphicAttrClassID pointer to the corner style attribute.
See Also
GetCornerImplementation
virtual ICommand* IGraphicAttributeUtils::CreateCornerImplementationCommand (ClassID cornerImplementation,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify,
CornerType cornerType = kSimpleCorner 
)
pure virtual
Creates the attribute command to apply line corner style attribute to the specified item list.

Parameters
cornerImplementationthe corner style.
targetItemListthe item list.
cornerTypethe corner for which the implementation command is required.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GetCornerImplementation
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateCornerRadiusAttribute (PMReal cornerRadius,
CornerType cornerType = kSimpleCorner 
)
pure virtual
Creates and returns the stroke corner radius.

Parameters
cornerRadiusthe corner radius to create.
cornerTypethe corner for which the radius is required.
Returns
the IGraphicAttrRealNumber pointer to the corner radius attribute.
virtual ICommand* IGraphicAttributeUtils::CreateCornerRadiusCommand (PMReal cornerRadius,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify,
CornerType cornerType = kSimpleCorner 
)
pure virtual
Creates the attribute command to apply stroke corner radius attribute to the specified item list.

Parameters
cornerRadiusthe corner radius to apply.
targetItemListthe item list.
cornerTypethe corner for which the radius command is required.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrBoolean* IGraphicAttributeUtils::CreateEvenOddAttribute (bool16 evenOddFill)
pure virtual

Creates and returns the even-odd fill attribute attribute.

Parameters
evenOddFillthe even-odd fill setting.
Returns
the IGraphicAttrBoolean pointer to the even-odd fill attribute.
virtual ICommand* IGraphicAttributeUtils::CreateEvenOddCommand (bool16 evenOddFill,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply even-odd fill attribute to the specified item list.

Parameters
evenOddFillthe even-odd fill to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IPersistUIDData* IGraphicAttributeUtils::CreateFillRenderingAttribute (UID fillRenderingUID)
pure virtual

Creates and returns the fill rendering attribute attribute.

Parameters
fillRenderingUIDthe fill rendering UID. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
Returns
the IPersistUIDData pointer to the fill rendering attribute.
See Also
GetFillRenderingUID
virtual ICommand* IGraphicAttributeUtils::CreateFillRenderingCommand (UID fillRenderingUID,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply fill rendering attribute to the specified item list.

Parameters
fillRenderingUIDthe fill rendering UID to add. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GetFillRenderingUID
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateFillTintAttribute (PMReal fillTint)
pure virtual

Creates and returns the fill tint attribute attribute.

Parameters
fillTintthe fill tint percent.
Returns
the IGraphicAttrRealNumber pointer to the fill tint attribute.
virtual ICommand* IGraphicAttributeUtils::CreateFillTintCommand (PMReal fillTint,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply fill tint attribute to the specified item list.

Parameters
fillTintthe fill tint percent to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IPersistUIDData* IGraphicAttributeUtils::CreateGapRenderingAttribute (UID gapRenderingUID)
pure virtual

Creates and returns the stroke gap rendering attribute attribute.

Parameters
gapRenderingUIDthe stroke rendering UID for the attribute. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
Returns
the IPersistUIDData pointer to the corner style attribute.
See Also
GetGapRenderingUID.
virtual ICommand* IGraphicAttributeUtils::CreateGapRenderingCommand (UID gapRenderingUID,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke gap rendering attribute to the specified item list.

Parameters
gapRenderingUIDthe stroke gap rendering UID to apply. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GetGapRenderingUID.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGapTintAttribute (PMReal gapTint)
pure virtual

Creates and returns the stroke gap tint attribute attribute.

Parameters
gapTintthe stroke gap tint percent.
Returns
the IGraphicAttrRealNumber pointer to the stroke gap tint attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGapTintCommand (PMReal gapTint,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke tint gap attribute to the specified item list.

Parameters
gapTintthe stroke gap tint percent to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientFillAngleAttribute (PMReal gradientAngle)
pure virtual

Creates and returns the gradient fill angle attribute.

Parameters
gradientAnglethe gradient fill angle to create.
Returns
the IGraphicAttrRealNumber pointer to the gradient fill angle attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientFillAngleCommand (PMReal gradientAngle,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply fill gradient angle attribute to the specified item list.

Parameters
gradientAnglethe gradient fill angle to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientFillAspectRatio (PMReal aspectRatio)
pure virtual

Creates and returns the aspect ratio attribute.

Parameters
aspectRatiothe aspect ratio value.
Returns
the IGraphicAttrRealNumber pointer to the aspect ratio attribute.
virtual IGraphicAttrPoint* IGraphicAttributeUtils::CreateGradientFillGradCenterAttribute (PMPoint gradientGradCenter)
pure virtual

Creates and returns the gradient fill center or start point attribute.

Parameters
gradientGradCenterthe gradient fill center or start point to create.
Returns
the IGraphicAttrPoint pointer to the gradient fill center or start point attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientFillGradCenterCommand (PMPoint gradientGradCenter,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply gradient fill center of start point attribute to the specified item list.

Parameters
gradientGradCenterthe gradient fill center or start point to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientFillHiliteAngleAttribute (PMReal gradientHiliteAngle)
pure virtual

Creates and returns the gradient fill hilite angle.

Parameters
gradientHiliteAnglethe gradient fill hilite angle to create.
Returns
the IGraphicAttrRealNumber pointer to the gradient fill hilite angle attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientFillHiliteAngleCommand (PMReal gradientHiliteAngle,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply gradient fill hilite angle attribute to the specified item list.

Parameters
gradientHiliteAnglethe gradient fill hilite angle to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientFillHiliteLengthAttribute (PMReal gradientHiliteLength)
pure virtual

Creates and returns the gradient fill hilite length.

Parameters
gradientHiliteLengththe gradient fill hilite length to create.
Returns
the IGraphicAttrRealNumber pointer to the gradient fill hilite length attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientFillHiliteLengthCommand (PMReal gradientHiliteLength,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply gradient fill hilite length attribute to the specified item list.

Parameters
gradientHiliteLengththe gradient fill hilite length to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientFillLengthAttribute (PMReal gradientLength)
pure virtual

Creates and returns the gradient fill length attribute.

Parameters
gradientLengththe gradient fill length to create.
Returns
the IGraphicAttrRealNumber pointer to the gradient fill length attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientFillLengthCommand (PMReal gradientLength,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply gradient fill length attribute to the specified item list.

Parameters
gradientLengththe gradient fill length to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientFillRadiusAttribute (PMReal gradientRadius)
pure virtual

Creates and returns the gradient fill radius attribute for a radial gradient.

Parameters
gradientRadiusthe gradient fill radius create.
Returns
the IGraphicAttrRealNumber pointer to the gradient fill radius attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientFillRadiusCommand (PMReal gradientRadius,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply gradient fill radius attribute to the specified item list.

Parameters
gradientRadiusthe gradient fill radius to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientStrokeAngleAttribute (PMReal gradientAngle)
pure virtual

Creates and returns the gradient stroke angle attribute.

Parameters
gradientAnglethe gradient stroke angle to create.
Returns
the IGraphicAttrRealNumber pointer to the gradient stroke angle attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientStrokeAngleCommand (PMReal gradientAngle,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke gradient angle attribute to the specified item list.

Parameters
gradientAnglethe gradient stroke angle to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrPoint* IGraphicAttributeUtils::CreateGradientStrokeGradCenterAttribute (PMPoint gradientGradCenter)
pure virtual

Creates and returns the gradient center or start point attribute for stroke.

Parameters
gradientGradCenterthe gradient center or start point to create.
Returns
the IGraphicAttrPoint pointer to the gradient center or start point attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientStrokeGradCenterCommand (PMPoint gradientGradrCenter,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke gradient center of start point attribute to the specified item list.

Parameters
gradientGradCenterthe stroke gradient center or start point to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientStrokeHiliteAngleAttribute (PMReal gradientHiliteAngle)
pure virtual

Creates and returns the stroke gradient hilite angle.

Parameters
gradientHiliteAnglethe gradient hilite angle to create.
Returns
the IGraphicAttrRealNumber pointer to the gradient fill hilite angle attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientStrokeHiliteAngleCommand (PMReal gradientHiliteAngle,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke gradient hilite angle attribute to the specified item list.

Parameters
gradientHiliteAnglethe gradient fill hilite angle to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientStrokeHiliteLengthAttribute (PMReal gradientHiliteLength)
pure virtual

Creates and returns the stroke gradient hilite length.

Parameters
gradientHiliteLengththe stroke gradient hilite length to create.
Returns
the IGraphicAttrRealNumber pointer to the stroke gradient hilite length attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientStrokeHiliteLengthCommand (PMReal gradientHiliteLength,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply gradient hilite length attribute for stroke to the specified item list.

Parameters
gradientHiliteLengththe stroke gradient hilite length to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientStrokeLengthAttribute (PMReal gradientLength)
pure virtual

Creates and returns the stroke gradient length attribute. The gradient length attribute for stroke is only relevant if stroke attribute is a gradient.

Parameters
gradientLengththe stroke gradient stroke length to create.
Returns
the IGraphicAttrRealNumber pointer to the stroke gradient length attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientStrokeLengthCommand (PMReal gradientLength,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke gradient length attribute to the specified item list.

Parameters
gradientLengththe stroke gradient length to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateGradientStrokeRadiusAttribute (PMReal gradientRadius)
pure virtual

Creates and returns the stroke gradient radius attribute for a radial gradient.

Parameters
gradientRadiusthe gradient radius create.
Returns
the IGraphicAttrRealNumber pointer to the gradient fill radius attribute.
virtual ICommand* IGraphicAttributeUtils::CreateGradientStrokeRadiusCommand (PMReal gradientRadius,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke gradient radius attribute to the specified item list.

Parameters
gradientRadiusthe stroke gradient radius to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrInt32* IGraphicAttributeUtils::CreateJoinTypeAttribute (int32 joinType)
pure virtual

Creates and returns the join type attribute.

Parameters
joinTypethe line join type to create. This is defined in
See Also
GraphicTypes.h.
Returns
the IGraphicAttrInt32 pointer to the line join type attribute.
virtual ICommand* IGraphicAttributeUtils::CreateJoinTypeCommand (int32 joinType,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply line join type attribute to the specified item list.

Parameters
joinTypethe line join type to apply. This is defined in
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GraphicTypes.h.
virtual IGraphicAttrInt32* IGraphicAttributeUtils::CreateLineCapAttribute (int32 lineCap)
pure virtual

Creates and returns the line cap attribute.

Parameters
lineCapthe line cap to create. This is defined in
See Also
GraphicTypes.h.
Returns
the IGraphicAttrInt32 pointer to the line capattribute.
See Also
GraphicTypes.h.
virtual ICommand* IGraphicAttributeUtils::CreateLineCapCommand (int32 lineCap,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply line cap attribute to the specified item list.

Parameters
lineCapthe line cap to apply. This is defined in
See Also
GraphicTypes.h.
Parameters
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GraphicTypes.h.
virtual IGraphicAttrClassID* IGraphicAttributeUtils::CreateLineEndEndImplementationAttribute (ClassID lineEndEndImplementation)
pure virtual

Creates and returns the line end-end style attribute.

Parameters
lineEndEndImplementationthe line-end end style.
Returns
the IGraphicAttrClassID pointer to the line-end end style attribute.
See Also
GetLineEndEndImplementation
virtual ICommand* IGraphicAttributeUtils::CreateLineEndEndImplementationCommand (ClassID lineEndEndImplementation,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply line end-end style attribute to the specified item list.

Parameters
lineEndEndImplementationthe line-end end style.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GetLineEndEndImplementation
virtual IGraphicAttrClassID* IGraphicAttributeUtils::CreateLineEndStartImplementationAttribute (ClassID lineEndStartImplementation)
pure virtual

Creates and returns the line end-start style attribute.

Parameters
lineEndStartImplementationthe line-end start style.
Returns
the IGraphicAttrClassID pointer to the line style attribute.
See Also
GetLineEndStartImplementation.
virtual ICommand* IGraphicAttributeUtils::CreateLineEndStartImplementationCommand (ClassID lineEndStartImplementation,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply line end-start style attribute to the specified item list.

Parameters
lineEndStartImplementationthe line-end start style.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GetLineEndStartImplementation.
virtual IGraphicAttrClassID* IGraphicAttributeUtils::CreateLineImplementationAttribute (ClassID lineImplementation,
UID lineImplementationUID 
)
pure virtual

Creates and returns the line style attribute.

Parameters
lineImplementationthe line style if style is predefined.
lineImplementationUIDthe line style if style is customed.
Returns
the IGraphicAttrClassID pointer to the line style attribute.
See Also
also GetLineImplementation
virtual ICommand* IGraphicAttributeUtils::CreateLineImplementationCommand (ClassID lineImplementation,
UID lineImplementationUID,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply line style attribute to the specified item list.

Parameters
lineImplementationthe line style to apply if style is predefined.
lineImplementationUIDthe line style to apply if style is customed.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
also GetLineImplementation
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateMiterLimitAttribute (PMReal miterLimit)
pure virtual

Creates and returns the miter limit attribute.

Parameters
miterLimitthe miter limit to create.
Returns
the IGraphicAttrRealNumber pointer to the corner radius attribute.
virtual ICommand* IGraphicAttributeUtils::CreateMiterLimitCommand (PMReal miterLimit,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply miter limit attribute to the specified item list.

Parameters
miterLimitthe miter limit to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrBoolean* IGraphicAttributeUtils::CreateNonPrintAttribute (bool16 nonPrint)
pure virtual

Creates and returns the non-print attribute attribute.

Parameters
nonPrintthe non-printing setting.
Returns
the IGraphicAttrBoolean pointer to the non-print attribute.
virtual ICommand* IGraphicAttributeUtils::CreateNonPrintCommand (bool16 nonPrint,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply non-print attribute to the specified item list.

Parameters
nonPrintthe non-printing setting to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrBoolean* IGraphicAttributeUtils::CreateOverprintFillAttribute (bool16 overprintFill)
pure virtual

Creates and returns the fill overprint attribute.

Parameters
overprintFillthe fill overprint setting to create.
Returns
the IGraphicAttrBoolean pointer to the fill overprint attribute.
virtual ICommand* IGraphicAttributeUtils::CreateOverprintFillCommand (bool16 overprintFill,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply fill overprint attribute to the specified item list.

Parameters
overprintFillthe fill overprint setting to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrBoolean* IGraphicAttributeUtils::CreateOverprintGapAttribute (bool16 overprintGap)
pure virtual

Creates and returns the stroke gap overprint attribute.

Parameters
overprintGapthe stroke gap overprint setting to create.
Returns
the IGraphicAttrBoolean pointer to the stroke overprint attribute.
virtual ICommand* IGraphicAttributeUtils::CreateOverprintGapCommand (bool16 overprintGap,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke gap overprint attribute to the specified item list.

Parameters
overprintGapthe stroke gap overprint setting to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrBoolean* IGraphicAttributeUtils::CreateOverprintStrokeAttribute (bool16 overprintStroke)
pure virtual

Creates and returns the stroke overprint attribute.

Parameters
overprintStrokethe stroke overprint setting to create.
Returns
the IGraphicAttrBoolean pointer to the stroke overprint attribute.
virtual ICommand* IGraphicAttributeUtils::CreateOverprintStrokeCommand (bool16 overprintStroke,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke overprint attribute to the specified item list.

Parameters
overprintStrokethe stroke overprint setting to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrInt32* IGraphicAttributeUtils::CreateStrokeAlignmentAttribute (int32 strokeAlignment)
pure virtual

Creates and returns the stroke alignment attribute.

Parameters
strokeAlignmentthe stroke alignment to create. This is a PMStrokeAlignment.
Returns
the IGraphicAttrInt32 pointer to the line capattribute. GraphicTypes.h
virtual ICommand* IGraphicAttributeUtils::CreateStrokeAlignmentCommand (int32 strokeAlignment,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke alignment attribute to the specified item list.

Parameters
strokeAlignmentthe stroke alignment to apply. This is a PMStrokeAlignment.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command. GraphicTypes.h
virtual IPersistUIDData* IGraphicAttributeUtils::CreateStrokeRenderingAttribute (UID strokeRenderingUID)
pure virtual

Creates and returns the stroke rendering attribute attribute.

Parameters
strokeRenderingUIDthe stroke rendering UID for the attribute. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface.
Returns
the IPersistUIDData pointer to the stroke rendering attribute.
See Also
GetStrokeRenderingUID
virtual ICommand* IGraphicAttributeUtils::CreateStrokeRenderingCommand (UID strokeRenderingUID,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke rendering attribute to the specified item list.

Parameters
strokeRenderingUIDthe stroke rendering UID to apply. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
See Also
GetStrokeRenderingUID
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateStrokeTintAttribute (PMReal strokeTint)
pure virtual

Creates and returns the stroke tint attribute attribute.

Parameters
strokeTintthe stroke tint percent.
Returns
the IGraphicAttrRealNumber pointer to the stroke tint attribute.
virtual ICommand* IGraphicAttributeUtils::CreateStrokeTintCommand (PMReal strokeTint,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke tint attribute to the specified item list.

Parameters
strokeTintthe stroke tint percent to apply.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual IGraphicAttrRealNumber* IGraphicAttributeUtils::CreateStrokeWeightAttribute (PMReal strokeWeight)
pure virtual

Creates and returns the stroke weight attribute.

Parameters
strokeWeightthe stroke weight.
Returns
the IGraphicAttrRealNumber pointer to the stroke weight attribute.
virtual ICommand* IGraphicAttributeUtils::CreateStrokeWeightCommand (PMReal strokeWeight,
const UIDListtargetItemList,
bool16 doPrePost,
bool16 enableDoNotify 
)
pure virtual

Creates the attribute command to apply stroke weight attribute to the specified item list.

Parameters
strokeWeightthe stroke weight.
targetItemListthe item list.
doPrePostkTrue if attribute pre/post action should be applied.
enableDoNotifykTrue if notification should occur.
Returns
apply attribute command.
virtual ErrorCode IGraphicAttributeUtils::GetArrowHeadAlignment (int32 & arrowHeadAlignment,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the Arrow Head Alignment from the specified graphic style descriptor.

Parameters
arrowHeadAlignmentwhether Arrow Head to be drawn Inside or Outside path. This is defined in
See Also
GraphicTypes.h.
Parameters
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetArrowHeadEndScale (PMRealarrowHeadScale,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual
Get the Arrow head end scale factor applied from the specified graphic style descriptor.

Parameters
arrowHeadScaleFactorThe percentage scaling to be applied to the end arrow head.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
IGraphicStyleDescriptor
virtual ErrorCode IGraphicAttributeUtils::GetArrowHeadStartScale (PMRealarrowHeadScaleFactor,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual
Get the Arrow head start scale factor applied from the specified graphic style descriptor.

Parameters
arrowHeadScaleFactorThe percentage scaling to be applied to the start arrow head.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
IGraphicStyleDescriptor
virtual ErrorCode IGraphicAttributeUtils::GetCornerImplementation (ClassIDcornerImplementation,
IGraphicStyleDescriptorstyleDescriptor,
CornerType cornerType = kSimpleCorner 
)
pure virtual
Get the line corner style from the specified graphic style descriptor.

Parameters
cornerImplementationthe corner style. The corner styles are provided through kCornerServiceBoss. Currently they are predefined corner styles defined in InstStrokeFillID.h. Example, kRoundedCornerBoss is a line-end style.
styleDescriptorthe graphic style descriptor.
cornerTypethe corner for which the implementation is required.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor
InstStrokeFillID.h.
virtual ErrorCode IGraphicAttributeUtils::GetCornerRadius (PMRealcornerRadius,
IGraphicStyleDescriptorstyleDescriptor,
CornerType cornerType = kSimpleCorner 
)
pure virtual
Get the stroke corner radius.

Parameters
cornerRadiusthe stroke corner radius to get.
styleDescriptorthe graphic style descriptor.
cornerTypethe corner for which the radius is required.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetEvenOdd (bool16 & evenOddFill,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get even-odd fill from the specified graphic style descriptor.

Parameters
evenOddFillthe even-odd fill.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetFillRenderingUID (UIDfillRenderingUID,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the fill rendering UID from the specified graphic style descriptor.

Parameters
fillRenderingUIDthe fill rendering UID. A rendering UID must be a rendering object boss with the reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
IRenderingObject.
ISwatchList.
virtual ErrorCode IGraphicAttributeUtils::GetFillTint (PMRealfillTint,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the fill tint from the specified graphic style descriptor.

Parameters
fillTintthe fill tint percent. If there's no tint overrides for the fill, tint is kInvalidTintPercent. Otherwise, tint is 0 or greater but less than 100.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGapRenderingUID (UIDgapRenderingUID,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke gap rendering UID from the specified graphic style descriptor. Stroke gap attribute is only relevant for certain line style such as dashed or compound lines.

Parameters
gapRenderingUIDthe stroke gap rendering UID. A rendering UID must be a rendering object boss with reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
IRenderingObject.
virtual ErrorCode IGraphicAttributeUtils::GetGapTint (PMRealgapTint,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke gap tint from the specified graphic style descriptor.

Parameters
gapTintthe stroke gap tint percent. If there's no tint overrides for the stroke gap attribute, tint is kInvalidTintPercent. Otherwise, tint is 0 or greater but less than 100.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientFillAngle (PMRealgradientAngle,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Returns the gradient fill angle in the specified graphic style descriptor.

Parameters
gradientAnglethe gradient fill angle to return.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientFillGradCenter (PMPointgradientGradCenter,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the gradient fill center or start point attribute. If gradient type is radial, this is the center point of the gradient and if gradient type is axial, this is the start point of the gradient.

Parameters
gradientGradCenterthe gradient center of start point to create.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientFillHiliteAngle (PMRealgradientHiliteAngle,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the gradient fill hilite angle.

Parameters
gradientHiliteAnglethe gradient fill hilite angle to create.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientFillHiliteLength (PMRealgradientHiliteLength,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the gradient fill hilite length.

Parameters
gradientHiliteLengththe gradient fill hilite length to create.
styleDescriptorthe graphic
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor
virtual ErrorCode IGraphicAttributeUtils::GetGradientFillLength (PMRealgradientLength,
UID graphicStyleUID,
IDataBasedataBase 
)
pure virtual

This method is umimplemented and will be removed.

virtual ErrorCode IGraphicAttributeUtils::GetGradientFillLength (PMRealgradientLength,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the gradient fill length attribute.

Parameters
gradientLengththe gradient fill length to create.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientFillRadius (PMRealgradientRadius,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the gradient fill radius. This attribute relates to radial gradient.

Parameters
gradientRadiusthe gradient radius to create.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientStrokeAngle (PMRealgradientAngle,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Returns the gradient stroke angle in the specified graphic style descriptor.

Parameters
gradientAnglethe gradient stroke angle to return. Gradient angle is always 0 for radial stroke gradient.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor
virtual ErrorCode IGraphicAttributeUtils::GetGradientStrokeGradCenter (PMPointgradientGradCenter,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the gradient center or start point attribute for stroke. If gradient type is radial, this is the center point of the gradient and if gradient type is axial, this is the start point of the gradient.

Parameters
gradientGradCenterthe gradient center of start point to create.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientStrokeHiliteAngle (PMRealgradientHiliteAngle,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke gradient hilite angle.

Parameters
gradientHiliteAnglethe gradient fill hilite angle to create.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientStrokeHiliteLength (PMRealgradientHiliteLength,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the gradient hilite length for stroke.

Parameters
gradientHiliteLengththe stroke gradient hilite length to create.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetGradientStrokeLength (PMRealgradientLength,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Returns the gradient length for stroke in the specified graphic style descriptor. This attribute typically only exists if the stroke rendering attribute is a gradient.

Parameters
gradientLengththe stroke gradient length to return.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor
virtual ErrorCode IGraphicAttributeUtils::GetGradientStrokeRadius (PMRealgradientRadius,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke gradient radius. This attribute relates to stroke radial gradient.

Parameters
gradientRadiusthe gradient radius to create.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetJoinType (int32 & joinType,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the line join type from the specified graphic style descriptor.

Parameters
joinTypethe line join type. This is defined in
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
IGraphicStyleDescriptor
virtual ErrorCode IGraphicAttributeUtils::GetLineCap (int32 & lineCap,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the line cap from the specified graphic style descriptor.

Parameters
lineCapthe line cap. This is defined in
See Also
GraphicTypes.h.
Parameters
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
GraphicTypes.h.
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetLineEndEndImplementation (ClassIDlineEndEndImplementation,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the line end-end style from the specified graphic style descriptor.

Parameters
lineEndStartImplementationthe line-end end style. line-end styles are provided through kArrowHeadServiceBoss. Currently they are predefined line-end styles defined in InstStrokeFillID.h. Example, kSimpleArrowHeadBoss is a line-end style.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
InstStrokeFillID.h.
virtual ErrorCode IGraphicAttributeUtils::GetLineEndStartImplementation (ClassIDlineEndStartImplementation,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the line end-start style from the specified graphic style descriptor.

Parameters
lineEndStartImplementationthe line-end start style. line-end styles are provided through kArrowHeadServiceBoss. Currently they are predefined line-end styles defined in InstStrokeFillID.h. Example, kSimpleArrowHeadBoss is a line-end style.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
InstStrokeFillID.h.
virtual ErrorCode IGraphicAttributeUtils::GetLineImplementation (ClassIDlineImplementation,
UIDlineImplementationUID,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the line style from the specified graphic style descriptor.

Parameters
lineImplementationthe line style class ID if style is predefined. These are predefined path stroker boss defined in InstStrokeFillID.h.
lineImplementationUIDthe line style UID if style is customed. These are customed line styles defined using the line style dialog. The customed line styles are one of kCustomPathStrokerBoss or kCustomDashedPathStrokerBoss objects.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
InstStrokeFillID.h
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetMiterLimit (PMRealmiterLimit,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke miter limit.

Parameters
cornerRadiusthe miter limit to get.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetNonPrint (bool16 & nonPrint,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get non-printing setting from the specified graphic style descriptor. kTrue if non-printing otherwise kFalse.

Parameters
nonPrintthe non-printing setting.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetOverprintFill (bool16 & overprintFill,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the fill overprint setting. kTrue if overprint is turned on and kFalse if off.

Parameters
overprintFillthe fill overprint setting.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetOverprintGap (bool16 & overprintGap,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke gap overprint setting from the specified graphic style descriptor. kTrue if overprint is turned on and kFalse if off.

Parameters
overprintGapthe stroke gap overprint setting.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor
virtual ErrorCode IGraphicAttributeUtils::GetOverprintStroke (bool16 & overprintStroke,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke overprint setting from the specified graphic style descriptor. kTrue if overprint is turned on and kFalse if off.

Parameters
overprintStrokethe stroke overprint setting.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetStrokeAlignment (int32 & strokeAlignment,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke alignment from the specified graphic style descriptor.

Parameters
strokeAlignmentthe stroke alignment. This is a PMStrokeAlignment.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor. GraphicTypes.h
virtual ErrorCode IGraphicAttributeUtils::GetStrokeRenderingUID (UIDstrokeRenderingUID,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke rendering UID from the specified graphic style descriptor.

Parameters
strokeRenderingUIDthe stroke rendering UID. A rendering UID must be a rendering object boss with the reqruied IRenderingObject interface. This can be a named swatch UID or an unnamed swatch UID.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
IRenderingObject
ISwatchList
virtual ErrorCode IGraphicAttributeUtils::GetStrokeTint (PMRealstrokeTint,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Get the stroke tint from the specified graphic style descriptor.

Parameters
strokeTintthe stroke tint percent. If there's no tint overrides for the stroke, tint is kInvalidTintPercent. Otherwise, tint is 0 or greater but less than 100.
styleDescriptorthe graphic style descriptor.
Returns
kSuccess if successful or returns an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetStrokeWeight (PMRealstrokeWeight,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Returns the stroke weight in the specified graphic style descriptor.

Parameters
strokeWeightthe stroke weight to return.
styleDescriptorthe graphic style descriptor.
Returns
kTrue if successful otherwise an error code.
See Also
IGraphicStyleDescriptor.
virtual ErrorCode IGraphicAttributeUtils::GetVisibleStrokeWeight (PMRealstrokeWeight,
IGraphicStyleDescriptorstyleDescriptor 
)
pure virtual

Returns the visible stroke weight in the specified graphic style descriptor. Stroke weight is 0 if the current stroke is [None].

Parameters
strokeWeightthe visible stroke weight to return.
styleDescriptorthe graphic style descriptor.
Returns
kTrue if successful otherwise an error code.
See Also
IGraphicStyleDescriptor.
virtual IRenderingObject* IGraphicAttributeUtils::QueryFillRenderingObject (IGraphicStyleDescriptorstyleDescriptor)
pure virtual

Query for the fill rendering object from the graphic style descriptor.

Parameters
styleDescriptorthe graphic style descriptor.
Returns
the IRenderingObject pointer or nil.
See Also
IRenderingObject.
IGraphicStyleDescriptor.
virtual IRenderingObject* IGraphicAttributeUtils::QueryGapRenderingObject (IGraphicStyleDescriptorstyleDescriptor)
pure virtual

Query for the stroke gap rendering object from the graphic style descriptor.

Parameters
styleDescriptorthe graphic style descriptor.
Returns
the IRenderingObject pointer or nil.
See Also
IRenderingObject.
IGraphicStyleDescriptor.
GetGapRenderingUID.
virtual IRenderingObject* IGraphicAttributeUtils::QueryStrokeRenderingObject (IGraphicStyleDescriptorstyleDescriptor)
pure virtual

Query for the stroke rendering object from the graphic style descriptor.

Parameters
styleDescriptorthe graphic style descriptor.
Returns
the IRenderingObject pointer or nil.
See Also
IRenderingObject
IGraphicStyleDescriptor.