![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ITRANSFORMFACADE } |
Public Member Functions | |
| virtual bool16 | ItemsHaveTransformValues (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, uint32 valuesOfInterest) const =0 |
| virtual bool16 | CanChangeItemsTransformValues (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, uint32 valuesOfInterest) const =0 |
| virtual void | GetItemsScale (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, K2Vector< PMReal > *xResults, K2Vector< PMReal > *yResults) const =0 |
| virtual void | GetItemsScale (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, K2Vector< PMPoint > &results) const =0 |
| virtual void | GetItemsSkewAngle (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, K2Vector< PMReal > &results) const =0 |
| virtual void | GetItemsRotationAngle (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, K2Vector< PMReal > &results) const =0 |
| virtual void | GetItemsTranslation (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, K2Vector< PMReal > *xResults, K2Vector< PMReal > *yResults) const =0 |
| virtual void | GetItemsTranslation (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, K2Vector< PMPoint > &results) const =0 |
| virtual void | GetItemsTransform (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, K2Vector< PMMatrix > &results) const =0 |
| virtual ErrorCode | TransformItems (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace, const Transform::TransformOrigin &referencePoint, const Transform::TransformValue &xform, Transform::ScaleMethod scaleMethod=Transform::ConsultScalingPreference())=0 |
| virtual ErrorCode | TransformPathPoints (const PathSelectionList &pathPoints, const Transform::CoordinateSpace &coordinateSpace, const Transform::TransformOrigin &referencePoint, const Transform::TransformValue &xform)=0 |
| virtual ErrorCode | ConstructTransformScriptMethod (IScriptRequestData *scriptRequestData, const Transform::CoordinateSpace &coordinateSpace, const Transform::TransformOrigin &referencePoint, const Transform::TransformValue &xform)=0 |
| virtual int32 | GetTransformItemsCount (const UIDList &items) const =0 |
| virtual bool16 | CanRedefineItemsScaling (const UIDList &items) const =0 |
| virtual bool16 | CanRedefineItemsScalingAs (const UIDList &items, PMReal xScale, PMReal yScale) const =0 |
| virtual ErrorCode | RedefineItemsScaling (const UIDList &items)=0 |
| virtual ErrorCode | RedefineItemsScalingAs (IScaleObject::ScaleContext *optionalContext, const UIDList &items, PMReal xScale, PMReal yScale)=0 |
| virtual bool16 | CanRemoveItemsTransformations (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace) const =0 |
| virtual ErrorCode | RemoveItemsTransformations (const UIDList &items, const Transform::CoordinateSpace &coordinateSpace)=0 |
| virtual ErrorCode | ProcessTransformAgainSentinelCommand (IDataBase *iDataBase)=0 |
| virtual void | EnableTransformAgainSelectionObserver (ISelectionManager *)=0 |
| virtual void | DisableTransformAgainSelectionObserver (ISelectionManager *)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Can the page items requested transform values be changed
| items | - the items to check |
| valuesOfInterest | - one or more of {Transform::kScaleXValue, Transform::kScaleYValue, Transform::kSkewValue, Transform::kRotationValue, Transform::kTranslationXValue, Transform::kTranslationYValue} OR'd together |
| pure virtual |
Can the item(s) have their scaling reset to 100% by moving the scale effect onto the item's content?
| items | - the items in question |
| pure virtual |
Can the item(s) have their scaling reset to (xScale,yScale) by moving the scale effect onto the item's content?
| items | - the items in question |
| pure virtual |
Can the item(s) have their transform reset to identity (remove rotation, skew and scaling)?
| items | - the items in question |
| pure virtual |
Construct a script event for the given transform parameters.
| scriptRequestData | - a newly created IScriptRequestData |
| coordinateSpace | - see TransformItems |
| referencePoint | - see TransformItems |
| xform | - see TransformItems |
| pure virtual |
Private use only
| pure virtual |
Private use only
| pure virtual |
Return the rotation angles of items.
| items | - the items to check |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| results | [OUT] the rotation angles in degrees |
| pure virtual |
Return the x and y scale factors of items.
| items | - the items to check |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| xResults | [OUT] the x scale factors |
| yResults | [OUT] the y scale factors |
| pure virtual |
Return the x and y scale factors of items.
| items | - the items to check |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| results | - the x and y scale factors returned as PMPoint data" |
| pure virtual |
Return the skew angles of items.
| items | - the items to check |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| results | [OUT] the skew angles in degrees |
| pure virtual |
Return the transformation matrices of items.
| items | - the items to check |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| results | [OUT] the transformation matrices |
| pure virtual |
Return the location of the inner origins of items.
| items | - the items to check |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| xResults | [OUT] the x locations |
| yResults | [OUT] the y locations |
| pure virtual |
Return the location of the inner origins of items.
| items | - the items to check |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| results | [OUT] the (x,y) locations |
| pure virtual |
Return the number of items that will be affected by a transform
| items | - the items in question |
| pure virtual |
Do the page items have the requested transform values
| items | - the items to check |
| valuesOfInterest | - one or more of {Transform::kScaleXValue, Transform::kScaleYValue, Transform::kSkewValue, Transform::kRotationValue, Transform::kTranslationXValue, Transform::kTranslationYValue} OR'd together |
| pure virtual |
Add a Transform Again Sentinel Command on the stack - private use only
| iDataBase | - target for the command |
| pure virtual |
Reset scaling to 100% by moving the scale effect onto the item's content.
| items | - the items to modify |
| pure virtual |
Reset selected items to to the specified scaling – a generalization of RedefineItemsScaling.
| optionalContext | - for internal use only, pass in nil |
| items | - the items to modify |
| xScale | - the target horizontal factor |
| yScale | - the target vertical factor |
| pure virtual |
Reset selected items to identity transform matrix (remove rotation, skew and scaling).
| items | - the items to modify |
| pure virtual |
Transform page items.
| items | - the page items to transform |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| referencePoint | - temporary origin during the transformation |
| xform | - one of the values defined in TransformTypes.h e.g. Transform::ScaleBy( xscale, yscale) |
| pure virtual |
Transform path points.
| pathPoints | - the path points to transform |
| coordinateSpace | - one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), Transform::InnerCoordinates() |
| referencePoint | - temporary origin during the transformation |
| xform | - one of the values defined in TransformTypes.h e.g. Transform::ScaleBy( xscale, yscale) |