![]() | InDesign SDK 20.5 |
#include <IXPAttributeUtils.h>

Public Types | |
| enum | { kDefaultIID = IID_IXPATTRIBUTEUTILS } |
Public Member Functions | |
| virtual bool16 | IsBasicTransparencyAttribute (ClassID attrClass)=0 |
| virtual bool16 | IsDropShadowAttribute (ClassID attrClass)=0 |
| virtual bool16 | IsVignetteAttribute (ClassID attrClass)=0 |
| virtual K2Vector< ClassID > * | GetTransparencyAttributesFromList (const K2Vector< ClassID > *pAttrClassList)=0 |
| virtual ErrorCode | ApplyBasicTransparencyToPageItems (IGraphicStyleAttributeBossList *iAttrList, const UIDList &pageItemList, bool16 bSkipDefaults=kFalse)=0 |
| virtual ErrorCode | ApplyDropShadowToPageItems (IGraphicStyleAttributeBossList *iAttrList, const UIDList &pageItemList, bool16 bSkipDefaults=kFalse)=0 |
| virtual ErrorCode | ApplyVignetteToPageItems (IGraphicStyleAttributeBossList *iAttrList, const UIDList &pageItemList, bool16 bSkipDefaults=kFalse)=0 |
| virtual ErrorCode | ApplyAttributesToPageItems (IGraphicStyleAttributeBossList *iAttrList, const UIDList &pageItemList, const IXPAttributeSuite::PartialADXYVector *partialADXYs=nil, bool32 autoInitializeGradientFeatherGeometry=kFalse)=0 |
| virtual ErrorCode | ApplyAttributesToPageItems (const IXPAttributeSuite::AttributeList &attrList, const UIDList &pageItemList, const IXPAttributeSuite::PartialADXYVector *partialADXYs=nil, bool32 autoInitializeGradientFeatherGeometry=kFalse)=0 |
| virtual IXPAttributeSuite::AttributeType | TranslateToTarget (IXPAttributeSuite::AttributeType attrType, IXPAttributeSuite::AttributeTarget attrTarget=IXPAttributeSuite::kTargetPageItem)=0 |
| virtual ClassID | GetAttributeClassID (IXPAttributeSuite::AttributeType attributeType)=0 |
| virtual IXPAttributeSuite::AttributeType | GetAttributeFromClassID (ClassID attrClass)=0 |
| virtual bool16 | IsAttributeTransparencyAttribute (ClassID attributeClass)=0 |
| virtual int32 | GetAttributeDefaultValue (IXPAttributeSuite::AttributeType attributeType)=0 |
| virtual ErrorCode | GetAttributeDefaultValue (IXPAttributeSuite::AttributeType attrType, IXPAttributeSuite::AttributeValue &value)=0 |
| virtual PMIID | GetAttributeInterfaceIID (IXPAttributeSuite::AttributeType attributeType)=0 |
| virtual IXPAttributeSuite::AttributeDataType | GetAttributeDataType (IXPAttributeSuite::AttributeType attrType)=0 |
| virtual IXPAttributeSuite::AttributeGroup | GetAttributeGroup (IXPAttributeSuite::AttributeType attributeType)=0 |
| virtual IXPAttributeSuite::AttributeTarget | GetAttributeTarget (IXPAttributeSuite::AttributeType attributeType)=0 |
| virtual void | GetAttributeGroupAttributeTypes (const IXPAttributeSuite::AttributeGroup &attributeGroup, const IXPAttributeSuite::AttributeTarget &attributeTarget, std::vector< IXPAttributeSuite::AttributeType > &groupAttrList)=0 |
| virtual UID | GetAttributeDefaultSwatchUID (IXPAttributeSuite::AttributeType type, IDataBase *db)=0 |
| virtual bool16 | GetAttributeName (IXPAttributeSuite::AttributeType type, PMString &name)=0 |
| virtual ErrorCode | GetAttributeMinMax (IXPAttributeSuite::AttributeType type, IXPAttributeSuite::AttributeValue &minValue, IXPAttributeSuite::AttributeValue &maxValue)=0 |
| virtual bool16 | IsValidAttributeValue (IXPAttributeSuite::AttributeType type, const IXPAttributeSuite::AttributeValue &value)=0 |
| virtual IXPAttributeSuite::AttributeRealKind | GetAttributeRealKind (IXPAttributeSuite::AttributeType type)=0 |
| virtual ScriptData::UnitType | GetAttributeUnits (IXPAttributeSuite::AttributeType type)=0 |
| virtual IGraphicStyleAttributeBossList * | CreateAttrBossListFromAttrList (const IXPAttributeSuite::AttributeList &attrList)=0 |
| virtual bool16 | GetAttrListFromAttrBossList (const IGraphicStyleAttributeBossList *iBossList, IXPAttributeSuite::AttributeList &attrList)=0 |
| virtual bool16 | GetValueAsString (IXPAttributeSuite::AttributeType type, const IXPAttributeSuite::AttributeValue &val, IDataBase *db, PMString &s)=0 |
| virtual int32 | GetNumAttributeTargets ()=0 |
| virtual IXPAttributeSuite::AttributeTarget | GetNthAttributeTarget (int32 n)=0 |
| virtual int32 | GetAttributeTargetIndex (IXPAttributeSuite::AttributeTarget)=0 |
| virtual int32 | GetNumAttributeGroups ()=0 |
| virtual IXPAttributeSuite::AttributeGroup | GetNthAttributeGroup (int32 n)=0 |
| virtual int32 | GetAttributeGroupIndex (IXPAttributeSuite::AttributeGroup)=0 |
| virtual bool16 | GetAttributeScriptInfo (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue, IDataBase *iDataBase, IScript *iScript, IScriptRequestData *data, ScriptData *pScriptData, ScriptElementID *pElementID, ScriptID *pScriptID)=0 |
| virtual IXPAttributeSuite::AttributeType | GetAttributeFromScriptID (IXPAttributeSuite::AttributeTarget target, IXPAttributeSuite::AttributeGroup group, ScriptID propID)=0 |
| virtual void | LookupScriptInfo (IScriptRequestData *data, ScriptID propID, IScript *iScript, IXPAttributeSuite::AttributeTarget &target, IXPAttributeSuite::AttributeGroup &group, IXPAttributeSuite::AttributeType &type)=0 |
| virtual ErrorCode | GetAttributeDataFromScriptData (IScript *iScript, const ScriptID &propID, IScriptRequestData *data, IXPAttributeSuite::AttributeTypeAndValue &attr)=0 |
| virtual ErrorCode | GetAttributeDataFromScriptData (const ScriptData &scriptData, IScriptRequestData *data, const IXPAttributeSuite::AttributeType &attrType, IXPAttributeSuite::AttributeTypeAndValue &attr)=0 |
| virtual IXPAttributeSuite::AttributeTarget | GetTargetFromScriptID (ScriptID id)=0 |
| virtual IXPAttributeSuite::AttributeGroup | GetGroupFromScriptID (ScriptID id)=0 |
| virtual ErrorCode | GetAttributeValue (IXPAttributeSuite::AttributeType attrType, IXPAttributeSuite::AttributeValue &attrValue, const IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual ErrorCode | GetAttributeValue (IXPAttributeSuite::AttributeType attrType, IXPAttributeSuite::AttributeValue &attrValue, const IPMUnknown *iAttr)=0 |
| virtual IPMUnknown * | CreateAttribute (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue)=0 |
| virtual IPMUnknown * | CreateAttribute (const IXPAttributeSuite::AttributeTypeAndValue &attr)=0 |
| virtual IGraphicAttrRealNumber * | CreateRealNumberAttribute (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue)=0 |
| virtual IGraphicAttrBoolean * | CreateBooleanAttribute (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue)=0 |
| virtual IPersistUIDData * | CreateUIDAttribute (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue)=0 |
| virtual IGraphicAttrInt32 * | CreateInt32Attribute (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue)=0 |
| virtual IOpacityGradientStops * | CreateOpacityGradientStopsAttribute (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue)=0 |
| virtual IGraphicAttrPoint * | CreatePointAttribute (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue)=0 |
| virtual ErrorCode | AddAttribute (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &attrValue, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateApplyAttributeCommand (IXPAttributeSuite::AttributeType attrType, const IXPAttributeSuite::AttributeValue &val, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual IOpacityGradientStops * | CloneOpacityGradientStops (const IOpacityGradientStops *iStops)=0 |
| virtual ErrorCode | GetBasicBlendMode (PMBlendingMode &blendMode, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrInt32 * | CreateBasicBlendModeAttribute (PMBlendingMode blendMode)=0 |
| virtual ErrorCode | AddBasicBlendModeAttribute (PMBlendingMode blendMode, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateBasicBlendModeCommand (PMBlendingMode blendMode, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetBasicOpacity (PMReal &opacity, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateBasicOpacityAttribute (PMReal opacity)=0 |
| virtual ErrorCode | AddBasicOpacityAttribute (PMReal opacity, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateBasicOpacityCommand (PMReal opacity, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetBasicKnockoutGroup (bool16 &basicKnockoutGrouop, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrBoolean * | CreateBasicKnockoutGroupAttribute (bool16 basicKnockoutGrouop)=0 |
| virtual ErrorCode | AddBasicKnockoutGroupAttribute (bool16 basicKnockoutGrouop, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateBasicKnockoutGroupCommand (bool16 opacity, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetBasicIsolationGroup (bool16 &basicIsolationGrouop, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrBoolean * | CreateBasicIsolationGroupAttribute (bool16 basicIsolationGrouop)=0 |
| virtual ErrorCode | AddBasicIsolationGroupAttribute (bool16 basicIsolationGroup, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateBasicIsolationGroupCommand (bool16 basicIsolationGroup, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowMode (PMDropShadowMode &dropShadowMode, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrInt32 * | CreateDropShadowModeAttribute (PMDropShadowMode dropShadowMode)=0 |
| virtual ErrorCode | AddDropShadowModeAttribute (PMDropShadowMode dropShadowMode, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowModeCommand (PMDropShadowMode dropShadowMode, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowBlendMode (PMBlendingMode &blendMode, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrInt32 * | CreateDropShadowBlendModeAttribute (PMBlendingMode blendMode)=0 |
| virtual ErrorCode | AddDropShadowBlendModeAttribute (PMBlendingMode blendMode, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowBlendModeCommand (PMBlendingMode blendMode, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowOpacity (PMReal &opacity, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateDropShadowOpacityAttribute (PMReal opacity)=0 |
| virtual ErrorCode | AddDropShadowOpacityAttribute (PMReal opacity, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowOpacityCommand (PMReal opacity, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowOffsetX (PMReal &dropShadowOffsetX, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateDropShadowOffsetXAttribute (PMReal dropShadowOffsetX)=0 |
| virtual ErrorCode | AddDropShadowOffsetXAttribute (PMReal dropShadowOffsetX, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowOffsetXCommand (PMReal dropShadowOffsetX, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowOffsetY (PMReal &dropShadowOffsetY, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateDropShadowOffsetYAttribute (PMReal dropShadowOffsetY)=0 |
| virtual ErrorCode | AddDropShadowOffsetYAttribute (PMReal dropShadowOffsetY, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowOffsetYCommand (PMReal dropShadowOffsetY, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowBlurRadius (PMReal &blurRadius, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateDropShadowBlurRadiusAttribute (PMReal blurRadius)=0 |
| virtual ErrorCode | AddDropShadowBlurRadiusAttribute (PMReal blurRadius, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowBlurRadiusCommand (PMReal blurRadius, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowColorUID (UID &colorUID, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IPersistUIDData * | CreateDropShadowColorAttribute (IDataBase *iDataBase, UID colorUID)=0 |
| virtual ErrorCode | AddDropShadowColorAttribute (IDataBase *iDataBase, UID colorUID, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowColorCommand (const UIDRef &colorRef, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowSpread (PMReal &spread, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateDropShadowSpreadAttribute (PMReal spread)=0 |
| virtual ErrorCode | AddDropShadowSpreadAttribute (PMReal spread, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowSpreadCommand (PMReal spread, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetDropShadowNoise (PMReal &noise, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateDropShadowNoiseAttribute (PMReal noise)=0 |
| virtual ErrorCode | AddDropShadowNoiseAttribute (PMReal noise, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateDropShadowNoiseCommand (PMReal noise, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetVignetteMode (PMVignetteMode &vignetteMode, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrInt32 * | CreateVignetteModeAttribute (PMVignetteMode vignetteMode)=0 |
| virtual ErrorCode | AddVignetteModeAttribute (PMVignetteMode vignetteMode, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateVignetteModeCommand (PMVignetteMode vignetteMode, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetVignetteWidth (PMReal &width, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateVignetteWidthAttribute (PMReal width)=0 |
| virtual ErrorCode | AddVignetteWidthAttribute (PMReal width, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateVignetteWidthCommand (PMReal width, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetVignetteOuterOpacity (PMReal &outerOpacity, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateVignetteOuterOpacityAttribute (PMReal outerOpacity)=0 |
| virtual ErrorCode | AddVignetteOuterOpacityAttribute (PMReal outerOpacity, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateVignetteOuterOpacityCommand (PMReal outerOpacity, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetVignetteInnerOpacity (PMReal &innerOpacity, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateVignetteInnerOpacityAttribute (PMReal innerOpacity)=0 |
| virtual ErrorCode | AddVignetteInnerOpacityAttribute (PMReal innerOpacity, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateVignetteInnerOpacityCommand (PMReal innerOpacity, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetVignetteCorners (PMVignetteCorners &corners, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrInt32 * | CreateVignetteCornersAttribute (PMVignetteCorners corners)=0 |
| virtual ErrorCode | AddVignetteCornersAttribute (PMVignetteCorners corners, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateVignetteCornersCommand (PMVignetteCorners corners, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ErrorCode | GetVignetteNoise (PMReal &noise, IGraphicStyleDescriptor *styleDescriptor)=0 |
| virtual IGraphicAttrRealNumber * | CreateVignetteNoiseAttribute (PMReal noise)=0 |
| virtual ErrorCode | AddVignetteNoiseAttribute (PMReal noise, IGraphicStyleAttributeBossList *attributeList)=0 |
| virtual ICommand * | CreateVignetteNoiseCommand (PMReal noise, const UIDList *targetItemList, bool16 doPrePost, bool16 enableDoNotify)=0 |
| virtual ScriptID | GetScriptEnumFromBlendMode (PMBlendingMode mode)=0 |
| virtual PMBlendingMode | GetBlendModeFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromDSMode (PMDropShadowMode mode)=0 |
| virtual PMDropShadowMode | GetDSModeFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromVignetteMode (PMVignetteMode mode)=0 |
| virtual PMVignetteMode | GetVignetteModeFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromCornerType (PMVignetteCorners mode)=0 |
| virtual PMVignetteCorners | GetCornerTypeFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromGlowTechnique (PMGlowTechnique glowTechnique)=0 |
| virtual PMGlowTechnique | GetGlowTechniqueFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromInnerGlowSource (PMInnerGlowSource innerGlowSource)=0 |
| virtual PMInnerGlowSource | GetInnerGlowSourceFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromBevelEmbossStyle (PMBevelEmbossStyle bevelEmbossStyle)=0 |
| virtual PMBevelEmbossStyle | GetBevelEmbossStyleFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromBevelEmbossTechnique (PMBevelEmbossTechnique bevelEmbossTechnique)=0 |
| virtual PMBevelEmbossTechnique | GetBevelEmbossTechniqueFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromBevelEmbossDirection (PMBevelEmbossDirection bevelEmbossDirection)=0 |
| virtual PMBevelEmbossDirection | GetBevelEmbossDirectionFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromFollowShapeMode (PMFollowShapeMode followShapeMode)=0 |
| virtual PMFollowShapeMode | GetFollowShapeModeFromScriptEnum (ScriptID asEnum)=0 |
| virtual ScriptID | GetScriptEnumFromGradientType (GradientType gradientType)=0 |
| virtual GradientType | GetGradientTypeFromScriptEnum (ScriptID asEnum)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Transparency attribute related utility functions.
| pure virtual |
Create and add an attribute to the specified attribute list.
| attrType | The attribute type to add. |
| attrValue | The value of the attribute. |
| attributeList | The attribute list to which to add the attribute. |
| pure virtual |
Create and add a blend mode attribute to the specified attribute list.
| blendMode | the blending mdoe to add. This is a PMBlendingMode. |
| attributeList | the attribute list |
| pure virtual |
Create and add a isolation attribute to the specified attribute list.
| basicIsolationGroup | the isolation setting to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a knockout group attribute to the specified attribute list.
| basicKnockoutGrouop | the knockout group setting to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a opacity attribute to the specified attribute list.
| opacity | the basic opacity to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow blend mode attribute to the specified attribute list.
| blendMode | the drop shadow blend mode to add. This is a PMBlendingMode. |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow blur radius attribute to the specified attribute list.
| blurRadius | the drop shadow blur radius to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow color UID attribute to the specified attribute list.
| colorUID | the drop shadow color UID to add. This must be an UID of a kPMColorBoss. |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow apply attribute to the specified attribute list.
| dropShadowMode | the drop shadow apply setting to add. This is a PMDropShadowMode. |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow noise attribute to the specified attribute list.
| noise | the drop shadow noise to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow x offset attribute to the specified attribute list.
| dropShadowOffsetX | the drop shadow x offset to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow y offset attribute to the specified attribute list.
| dropShadowOffsetY | the drop shadow y offset to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow opacity attribute to the specified attribute list.
| opacity | the drop shadow opacity to get |
| attributeList | the attribute list |
| pure virtual |
Create and add a drop shadow spread attribute to the specified attribute list.
| spread | the drop shadow spread to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a feather corner type attribute to the specified attribute list.
| corners | the feather corner type to add. This is a PMVignetteCorners. |
| attributeList | the attribute list |
| pure virtual |
Create and add a feather inner opacity attribute to the specified attribute list.
| innerOpacity | the feather inner opacity to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a feather apply attribute to the specified attribute list.
| vignetteMode | the feather apply setting to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a feather noise attribute to the specified attribute list.
| noise | the feather noise to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a feather outer opacity attribute to the specified attribute list.
| outerOpacity | the feather outer opacity to add |
| attributeList | the attribute list |
| pure virtual |
Create and add a feather width attribute to the specified attribute list.
| width | the feather width to add |
| attributeList | the attribute list |
| pure virtual |
Process the command to apply the specified attributes (in IGraphicStyleAttributeBossList form) to the specified page items. This exercises the kXPSetAttributesCmdBoss.
| iAttrList | IN The attribute list to set. |
| pageItemList | IN The page items to which to apply the attributes |
| partialADXYs | IN If specified (ie, non-nil), the list of ADXY partials to apply. |
| autoInitializeGradientFeatherGeometry | IN True to do auto-adjustment of gradient feather geometry. |
| pure virtual |
Process the command to apply the specified attributes (in AttributeList form) to the specified page items. This exercises the kXPSetAttributesCmdBoss.
| iAttrList | IN The attribute list to set. |
| pageItemList | IN The page items to which to apply the attributes |
| partialADXYs | IN If specified (ie, non-nil), the list of ADXY partials to apply. |
| autoInitializeGradientFeatherGeometry | IN True to do auto-adjustment of gradient feather geometry. |
| pure virtual |
Process the command to apply basic transparency attributes, drop shadow attributes, or feather (or vignette) attributes from the given attribute list to the page items. Only those attributes whose class ID is part of the specified attributes are applied The command used is kXPSetBasicAttributesCmdBoss for basic transparency attributes, kXPSetDropShadowCmdBoss for drop shadow attributes, and kXPSetVignetteCmdBoss for feather attributes.
| iAttrList | the attribute list to apply |
| pageItemList | the target page item list |
| bSkipDefaults | kTrue if to skip defaults |
| pure virtual |
| pure virtual |
| pure virtual |
Makes a copy of the specified opacity gradient stops as a lightweight in-memory object. This is typically used to modify an existing opacity gradient; ie you make a copy of it, change the copy, then use that in a SetAttributes command.
| iStops | IN The gradient stops you want to copy. |
| pure virtual |
Create attribute command to apply to the specified page item list.
| noise | the feather noise to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Creates a IGraphicStyleAttributeBossList attribute list from an AttributeList.
| attrList | IN The attribute list. |
| pure virtual |
Create and return a graphic attribute with the specified value.
| attrType | The attribute type to create. |
| attrValue | The value to use for the new attribute. |
| pure virtual |
Create and return a graphic attribute with the specified value.
| attr | The attribute type and value to create. |
| pure virtual |
Create and return a blend mode attribute with the specified blend mode.
| blendMode | the blending mdoe to create. This is a PMBlendingMode. |
| pure virtual |
Create blend mode attribute command to apply to the specified page item list.
| blendMode | the blending mdoe to apply. This is a PMBlendingMode. |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified isolation setting.
| basicIsolationGroup | the isolation setting to create |
| pure virtual |
Create isolation attribute command to apply to the specified page item list.
| basicIsolationGroup | the isolation setting to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified knockout group setting.
| basicKnockoutGrouop | the knockout group setting to create |
| pure virtual |
Create knockout group attribute command to apply to the specified page item list.
| basicKnockoutGrouop | the knockout group setting to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified opacity value.
| opacity | the basic opacity to create |
| pure virtual |
Create opacity attribute command to apply to the specified page item list.
| opacity | the basic opacity to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a Boolean graphic attribute with the specified value. Note that because graphic attributes are not inherited from a common base (other than IPMUnknown) we need different Create methods for each of the basic storage types, if you want type safety. This method will fail if the attribute type is not boolean.
| attrType | The attribute type to create. |
| attrValue | The value to use for the new attribute. |
| pure virtual |
Create and return a attribute with the specified drop shadow blend mode.
| blendMode | the drop shadow blend mode to create. This is a PMBlendingMode. |
| pure virtual |
Create rop shadow blend mode attribute command to apply to the specified page item list.
| blendMode | the drop shadow blend mode to apply. This is a PMBlendingMode. |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified drop shadow blur radius.
| blurRadius | the drop shadow blur radius to create |
| pure virtual |
Create drop shadow blur radius attribute command to apply to the specified page item list.
| blurRadius | the drop shadow blur radius to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified drop shadow color UID.
| colorUID | the drop shadow color UID to Create. This must be an UID of a kPMColorBoss. |
| pure virtual |
Create drop shadow color UID attribute command to apply to the specified page item list.
| colorUID | the drop shadow color UID to apply. This must be an UID of a kPMColorBoss. |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified drop shadow apply setting.
| dropShadowMode | the drop shadow apply setting to create. This is a PMDropShadowMode. |
| pure virtual |
Create rop shadow apply attribute command to apply to the specified page item list.
| dropShadowMode | the drop shadow apply setting to apply. This is a PMDropShadowMode. |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified drop shadow noise.
| noise | the drop shadow noise to create |
| pure virtual |
Create drop shadow noise attribute command to apply to the specified page item list.
| noise | the drop shadow noise to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified drop shadow x offset.
| dropShadowOffsetX | the drop shadow x offset to create |
| pure virtual |
Create rop shadow x offset attribute command to apply to the specified page item list.
| dropShadowOffsetX | the drop shadow x offset to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified drop shadow y offset.
| dropShadowOffsetY | the drop shadow y offset to create |
| pure virtual |
Create drop shadow y offset attribute command to apply to the specified page item list.
| dropShadowOffsetY | the drop shadow y offset to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified drop shadow opacity.
| opacity | the drop shadow opacity to cereate |
| pure virtual |
Create rop shadow opacity attribute command to apply to the specified page item list.
| opacity | the drop shadow opacity to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified drop shadow spread.
| spread | the drop shadow spread to create |
| pure virtual |
Create drop shadow spread attribute command to apply to the specified page item list.
| spread | the drop shadow spread to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a int32 graphic attribute with the specified value. Note that because graphic attributes are not inherited from a common base (other than IPMUnknown) we need different Create methods for each of the basic storage types, if you want type safety. This method will fail if the attribute type is not int32-based (including enums).
| attrType | The attribute type to create. |
| attrValue | The value to use for the new attribute. |
| pure virtual |
Create and return an OpacityGradientStops graphic attribute with the specified value. Note that because graphic attributes are not inherited from a common base (other than IPMUnknown) we need different Create methods for each of the basic storage types, if you want type safety. This method will fail if the attribute type is not opacity gradient-based (including enums).
| attrType | The attribute type to create. |
| attrValue | The value to use for the new attribute. |
| pure virtual |
Create and return a PMPoint graphic attribute with the specified value. Note that because graphic attributes are not inherited from a common base (other than IPMUnknown) we need different Create methods for each of the basic storage types, if you want type safety. This method will fail if the attribute type is not PMPoint-based (including enums).
| attrType | The attribute type to create. |
| attrValue | The value to use for the new attribute. |
| pure virtual |
Create and return a RealNumber graphic attribute with the specified value. Note that because graphic attributes are not inherited from a common base (other than IPMUnknown) we need different Create methods for each of the basic storage types, if you want type safety. This method will fail if the attribute type is not Real.
| attrType | The attribute type to create. |
| attrValue | The value to use for the new attribute. |
| pure virtual |
Create and return a UID (color) graphic attribute with the specified value. Note that because graphic attributes are not inherited from a common base (other than IPMUnknown) we need different Create methods for each of the basic storage types, if you want type safety. This method will fail if the attribute type is not UID-based.
| attrType | The attribute type to create. |
| attrValue | The value to use for the new attribute. |
| pure virtual |
Create and return a attribute with the specified feather corner type.
| corners | the feather corner type to create. This is a PMVignetteCorners. |
| pure virtual |
Create feather corner type attribute command to apply to the specified page item list.
| corners | the feather corner type to apply. This is a PMVignetteCorners. |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified feather inner opacity.
| innerOpacity | the feather inner opacity to create |
| pure virtual |
Create feather inner opacity attribute command to apply to the specified page item list.
| innerOpacity | the feather inner opacity to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified feather apply setting.
| vignetteMode | the feather apply setting to create |
| pure virtual |
Create feather apply setting attribute command to apply to the specified page item list.
| vignetteMode | the feather apply setting to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified feather noise.
| noise | the feather noise to create |
| pure virtual |
Create feather noise attribute command to apply to the specified page item list.
| noise | the feather noise to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified feather outer opacity.
| outerOpacity | the feather outer opacity to create |
| pure virtual |
Create feather outer opacity attribute command to apply to the specified page item list.
| outerOpacity | the feather outer opacity to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Create and return a attribute with the specified feather width.
| width | the feather width to create |
| pure virtual |
Create feather width attribute command to apply to the specified page item list.
| width | the feather width to apply |
| targetItemList | the target page item list |
| doPrePost | kTrue if to perform attribute pre/post actions. |
| enableDoNotify | kTrue if notification should be sent. |
| pure virtual |
Returns the attribute class ID given an attribute type.
| attributeType | is the attribute type |
| pure virtual |
Given a script 'set' request, translate into a resulting attribute type and value.
| iScript | IN The IScript interface from the setter. |
| propID | IN The property ID to set. |
| data | IN The data to set. |
| attr | OUT Receives the type and value. |
| pure virtual |
Translate scriptData into a resulting attribute type and value.
| scriptData | IN The script data to translate. |
| data | IN The data to set. |
| attrType | IN The AttributeType which script data will be translated to. |
| attr | OUT Receives the type and value. |
| pure virtual |
Given a attribute, returns the associated data type.
| attrType | IN The attribute type. |
| pure virtual |
Return the default swatch UID for the given COLOR attribute type in the given document/database. Note that this is the hard coded value, not the application or document default.
| attrType | IN The attribute you want; must be a color attr. |
| pure virtual |
Returns the specify attribute type's default value.
| attributeType | is the attribute type |
| pure virtual |
Returns the specify attribute type's default value. This is the preferred method since it returns higher-quality information. Note that the default value here is the hard-coded default, not an application or document default.
| attrType | IN The attribute you're interested in. |
| value | OUT Receives the default hard-coded default value. |
| pure virtual |
Returns the attribute class ID given an attribute type.
| attributeType | is the attribute type |
| pure virtual |
Given a script ID and an optional target/group, looks up the corresponding attribute. Note that the target and group are only optional if you want a "legacy" lookup – that is, a lookup for the script attributes (now only INX attributes) that sit on the page item boss itself. All of the new attributes sit in the hierarchy and require the target and group to 'localize' the property to the correct attribute.
| target | IN The target to localize to, or kTargetInvalid if you want a legacy lookup. |
| target | IN The group to localize to, or kGroupInvalid if you want a legacy lookup. |
| propID | IN The script property ID to look up. |
| pure virtual |
Returns the attribute type's group (e.g., given drop shadow mode, returns drop shadow).
| attributeType | is the attribute type |
| pure virtual |
Returns a list of attribute types for the given attribute group and target.
| attributeGroup | is the attribute group |
| attributeTarget | is the attribute target |
| groupAttrList | is a list relevant attribute types for the specified attribute group and target. |
| pure virtual |
Given an attribute group, returns the associated index.
| group | IN An attribute group. |
| pure virtual |
Returns the attribute type's interface IID.
| attributeType | is the attribute type |
| pure virtual |
Return the minimum/maximum values for Real and enum attribute types.
| type | The transparency attribute ID |
| pure virtual |
Return the name of the attribute.
| type | The transparency attribute ID |
| pure virtual |
Returns the real type associated with the given attribute (a real number attribute in all cases). Note that this gives more precise results than GetAttributeUnits, because ScriptData::UnitType doesn't capture all the aspects of the nature of the real.
| attrType | IN The attribute. |
| pure virtual |
Given an attribute type/value combination, creates a corresponding ScriptData, and/or returns the script ID, and/or returns the element ID. The latter two are simple lookups. The value conversion takes into account the enum-to-script space conversion, but does not check for valid value ranges.
| attrType | IN The attribute type. |
| attrValue | IN The attribute value (must be a compatible DataType). |
| iDataBase | IN The database for swatch inflation. Either this or iScript is required if pScriptData != nil. |
| iScript | IN The script interface. Either this or db is required iff pScriptData != nil. |
| scriptVersion | IN The script event data |
| pScriptData | OUT If not nil, receives the scriptData to use for the attribute in a scripting context. |
| pElementID | OUT If not nil, receives the script element ID corresponding to the attribute. |
| pScriptID | OUT If not nil, receives the script ID corresponding to the attribute. |
| pure virtual |
Returns the attribute type's target (e.g., given stroke drop shadow, returns stroke).
| attributeType | is the attribute type |
| pure virtual |
Given an attribute target, returns the associated index.
| target | IN An attribute target. |
| pure virtual |
Returns the unit type associated with the given attribute (a real number attribute in all cases). If the attribute has no unit type (e.g., opacity), returns -1. (Because ScriptData::UnitType has no 'invalid' value, unfortunately.)
| attrType | IN The attribute. |
| pure virtual |
Get the attribute value from the graphic style descriptor
| attrType | Indicates which attribute to get. |
| attrValue | Receives the attribute value. |
| styleDescriptor | The graphic style descriptor to pull the value from. |
| pure virtual |
Get the attribute value from a graphics attribute boss.
| attrType | Indicates which attribute to get. |
| iAttr | The attribute boss from which you're pulling the value. |
| attrValue | Receives the attribute value. |
| pure virtual |
Creates a IGraphicStyleAttributeBossList attribute list from an AttributeList.
| iBossList | IN The attribute list. |
| attrList | OUT The converted attribute list. |
| pure virtual |
Get the basic blending mode from the graphic style descriptor
| blendMode | the blending mode to get. This is a PMBlendingMode. |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the isolation setting from the graphic style descriptor
| isolation | the isolation setting to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the knockout group setting from the graphic style descriptor
| basicKnockoutGrouop | the knockout group setting to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the basic opacity from the graphic style descriptor
| opacity | the basic opacity to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Return the InDesign PMBevelEmbossDirection given the scripting BevelEmbossDirection.
| asEnum | the scripting BevelEmbossDirection. |
| pure virtual |
Return the InDesign PMBevelEmbossStyle given the scripting BevelEmbossStyle.
| asEnum | the scripting BevelEmbossStyle. |
| pure virtual |
Return the InDesign PMBevelEmbossTechnique given the scripting BevelEmbossTechnique.
| asEnum | the scripting BevelEmbossTechnique. |
| pure virtual |
Return the InDesign blending mode given the scripting blending mode.
| asEnum | the scripting blending mode. |
| pure virtual |
Return the InDesign feather corner type given the scripting feather corner type.
| asEnum | the scripting feather corner type. |
| pure virtual |
Get the drop shadow blend mode from the graphic style descriptor
| blendMode | the drop shadow blend mode to get. This is a PMBlendingMode. |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the drop shadow blur radius from the graphic style descriptor
| blurRadius | the drop shadow blur radius to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the drop shadow color UID from the graphic style descriptor
| colorUID | the drop shadow color UID to get. This must be an UID of a kPMColorBoss. |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the drop shadow apply setting from the graphic style descriptor
| dropShadowMode | the drop shadow apply setting to get. This is a PMDropShadowMode. |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the drop shadow noise from the graphic style descriptor
| noise | the drop shadow noise to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the drop shadow x offset from the graphic style descriptor
| dropShadowOffsetX | the drop shadow x offset to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the drop shadow y offset from the graphic style descriptor
| dropShadowOffsetY | the drop shadow y offset to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the drop shadow opacity from the graphic style descriptor
| opacity | the drop shadow opacity to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the drop shadow spread from the graphic style descriptor
| spread | the drop shadow spread to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Return the InDesign drop shadow mode given the scripting drop shadow mode.
| asEnum | the scripting blending mode. |
| pure virtual |
Return the InDesign PMFollowShapeMode given the scripting FollowShapeMode.
| asEnum | the scripting FollowShapeMode. |
| pure virtual |
Return the InDesign PMGlowTechnique given the scripting GlowTechnique.
| asEnum | the scripting GlowTechnique. |
| pure virtual |
Return the InDesign GradientType given the scripting GradientType.
| asEnum | the scripting GradientType. |
| pure virtual |
Given a scripting ID (either property or object), return the associated group. For example, passing p_XPBlendingSettings will return IXPAttributeSuite::kGroupBlending; passing c_FeatherSettings will return IXPAttributeSuite::kGroupFeather.
| id | IN The ID to match against known group script IDs (objects or properties) |
| pure virtual |
Return the InDesign PMInnerGlowSource given the scripting InnerGlowSource.
| asEnum | the scripting InnerGlowSource. |
| pure virtual |
Given an index, returns the associated attribute group.
| n | IN The index, between 0 and GetNumAttributeGroups. |
| pure virtual |
Given an index, returns the associated attribute target.
| n | IN The index, between 0 and GetNumAttributeTargets. |
| pure virtual |
Returns the number of attribute groups. Yes, you could figure this out just by looking at the enumeration, but this allows you to write code that will still work if we ever add any new groups in the future.
| pure virtual |
Returns the number of attribute targets. Yes, you could figure this out just by looking at the enumeration, but this allows you to write code that will still work if we ever add any new targets in the future.
| pure virtual |
Return the scripting BevelEmbossDirection given the InDesign PMBevelEmbossDirection.
| bevelEmbossDirection | the InDesign BevelEmbossDirection. |
| pure virtual |
Return the scripting BevelEmbossStyle given the InDesign PMBevelEmbossStyle.
| bevelEmbossStyle | the InDesign BevelEmbossStyle. |
| pure virtual |
Return the scripting BevelEmbossTechnique given the InDesign PMBevelEmbossTechnique.
| bevelEmbossTechnique | the InDesign BevelEmbossTechnique. |
| pure virtual |
Return the scripting blending mode given the InDesign blending mode.
| mode | the InDesign blending mode. |
| pure virtual |
Return the scripting feather corner type given the InDesign feather corner type.
| mode | the InDesign blending mode. |
| pure virtual |
Return the scripting drop shadow mode given the InDesign drop shadow mode.
| mode | the InDesign drop shadow mode. |
| pure virtual |
Return the scripting FollowShapeMode given the InDesign PMFollowShapeMode.
| FollowShapeMode | the InDesign FollowShapeMode. |
| pure virtual |
Return the scripting GlowTechnique given the InDesign PMGlowTechnique.
| glowTechnique | the InDesign GlowTechnique. |
| pure virtual |
Return the scripting GradientType given the InDesign GradientType.
| gradientType | the InDesign GradientType. |
| pure virtual |
Return the scripting InnerGlowSource given the InDesign PMInnerGlowSource.
| innerGlowSource | the InDesign InnerGlowSource. |
| pure virtual |
Return the scripting feather mode given the InDesign feather mode.
| mode | the InDesign feather mode. |
| pure virtual |
Given a scripting ID (either property or object), return the associated target. For example, passing p_XPPageItemSettings will return IXPAttributeSuite::kTargetPageItem; passing c_StrokeTransparencySettings will return IXPAttributeSuite::kTargetStroke.
| id | IN The ID to match against known target script IDs (objects or properties) |
| pure virtual |
Returns a list of transparency attribute class list from the specified attribute class list.
| pAttrClassList | the source attribute class list |
| pure virtual |
Translates an attribute type/value into a string. The type and database are needed to handle specific formatting needs for real values and colors, respectively.
| pure virtual |
Get the feather corner type from the graphic style descriptor
| corners | the feather corner type to get. This is a PMVignetteCorners. |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the feather inner opacity from the graphic style descriptor
| innerOpacity | the feather inner opacity to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the feather apply setting from the graphic style descriptor
| vignetteMode | the feather apply setting to get. This is a PMVignetteMode. |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Return the InDesign feather mode given the scripting feather mode.
| asEnum | the scripting feather mode. |
| pure virtual |
Get the feather noise from the graphic style descriptor
| noise | the feather noise to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the feather outer opacity from the graphic style descriptor
| outerOpacity | the feather outer opacity to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Get the feather width from the graphic style descriptor
| width | the feather width to get |
| styleDescriptor | the graphic style descriptor |
| pure virtual |
Returns kTrue if the specified attribute class is a transparency attribute.
| attrClass | the attribute class ID |
| pure virtual |
Returns kTrue if the specified attribute class is a basic transparency attribute.
| attrClass | the transparency attribute class ID |
| pure virtual |
Returns kTrue if the specified attribute class is a dropshadow attribute.
| attrClass | the transparency attribute class ID |
| pure virtual |
Determines whether the given value (Real and enum types only) is allowed. For non-real/enum types no check is made and the attribute is declared 'valid.'
| type | The transparency attribute ID |
| value | The value to check |
| pure virtual |
Returns kTrue if the specified attribute class is a feather attribute.
| attrClass | the transparency attribute class ID |
| pure virtual |
Looks up scripting information based on a script request (property ID and iScript object). From these two inputs, determines the target, group, and attribute type, as appropriate. If the property corresponds to a first-tier (item, stroke, fill, content) object or property, returns the target and leaves group/type as invalid. If the property corresponds to a second-tier (blending, drop shadow, etc) property or object, returns the target and group and leaves 'type' invalid. If the property corresponds to any transparency property anywhere in the hierarchy, returns 'type' as valid and sets up the target. If the property is in the hierarchy, also returns 'group', although you could derive that from the attribute.
| propID | IN The property ID. |
| iScript | IN The scripting object on which the property lives. |
| target | OUT Receives the target, or kTargetInvalid if we found no match for the property (error). |
| group | OUT Receives the group, or kGroupInvalid if the property is a legacy property on the page item. |
| type | OUT Receives the attribute, or kUnknownAttrType if the property isn't an attribute-level property. |
| pure virtual |
Translates attribute types between targets. For example:
TranslateAttributeType(kInnerShadowColor, kTargetStroke) -> kStrokeInnerShadowColor TranslateAttributeType(kStrokeInnerShadowColor, kTargetPageItem) -> kTargetStroke TranslateAttributeType(kTargetStroke, kTargetPageItem) -> kTargetStroke
The most common usage is to translate from an attribute type that might be page item, fill, or stroke to the page item equivalent; thus the default param value for attrTarget.
| attrType | IN The attribute type (page item, stroke, fill). |
| attrTarget | IN The attribute target to translate the attribute into. |