InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IResizeItemsCmdData Class Referenceabstract
Inheritance diagram for IResizeItemsCmdData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IRESIZEITEMSCMDDATA }
 
enum  ResizeMultiple { kAdjustInnerItemSpacing, kAdjustIndividualSizes }
 

Public Member Functions

virtual void SetResizeData (const Transform::CoordinateSpace &boundsSpace, Geometry::BoundsKind boundsKind, const Transform::TransformOrigin &referencePoint, const Geometry::ResizeValue &newSize, ResizeMultiple resizeMultiple=kAdjustInnerItemSpacing)=0
 
virtual Transform::CoordinateSpace GetBoundsSpace () const =0
 
virtual Geometry::BoundsKind GetBoundsKind () const =0
 
virtual Transform::TransformOrigin GetResizeReferencePoint () const =0
 
virtual Geometry::ResizeValue GetResizeValue () const =0
 
virtual ResizeMultiple GetResizeMultiple () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Member Function Documentation

virtual Geometry::BoundsKind IResizeItemsCmdData::GetBoundsKind () const
pure virtual

GetBoundsKind returns the boundsKind specified by SetResizeData.

virtual Transform::CoordinateSpace IResizeItemsCmdData::GetBoundsSpace () const
pure virtual

GetBoundsSpace returns the boundsSpace specified by SetResizeData.

virtual ResizeMultiple IResizeItemsCmdData::GetResizeMultiple () const
pure virtual

GetResizeMultiple returns the resizeMultiple specified by SetResizeData.

virtual Transform::TransformOrigin IResizeItemsCmdData::GetResizeReferencePoint () const
pure virtual

GetResizeReferencePoint returns the referencePoint specified by SetResizeData.

virtual Geometry::ResizeValue IResizeItemsCmdData::GetResizeValue () const
pure virtual

GetResizeValue returns the newSize specified by SetResizeData.

virtual void IResizeItemsCmdData::SetResizeData (const Transform::CoordinateSpaceboundsSpace,
Geometry::BoundsKind boundsKind,
const Transform::TransformOriginreferencePoint,
const Geometry::ResizeValuenewSize,
ResizeMultiple resizeMultiple = kAdjustInnerItemSpacing 
)
pure virtual

kResizeItemsCmdBoss changes the size of every item in its item list according to the given newSize parameter. The change is made in boundsSpace coordinates relative to referencePoint. The boundsKind parameter specifies whether the target size is for the bounding box of the mathematical path of each item or the potentially larger stroke bounds.

is one of Transform::PasteboardCoordinates(), Transform::ParentCoordinates(), or Transform::InnerCoordinates() is one of Geometry::OuterStrokeBounds() or Geometry::PathBounds() is the stationary point of the resize operation is one of the following: Geometry::AddTo( Geometry::KeepCurrentValue(), y_delta) Geometry::AddTo( x_delta, Geometry::KeepCurrentValue()) Geometry::AddTo( Geometry::KeepCurrentProportions(), y_delta) Geometry::AddTo( x_delta, Geometry::KeepCurrentProportions()) Geometry::AddTo( x_delta, y_delta)

Geometry::MultiplyBy( Geometry::KeepCurrentValue(), y_factor) Geometry::MultiplyBy( x_factor, Geometry::KeepCurrentValue()) Geometry::MultiplyBy( Geometry::KeepCurrentProportions(), y_factor) Geometry::MultiplyBy( x_factor, Geometry::KeepCurrentProportions()) Geometry::MultiplyBy( x_factor, y_factor)

Geometry::ResizeTo( Geometry::KeepCurrentValue(), y_value) Geometry::ResizeTo( x_value, Geometry::KeepCurrentValue()) Geometry::ResizeTo( Geometry::KeepCurrentProportions(), y_value) Geometry::ResizeTo( x_value, Geometry::KeepCurrentProportions()) Geometry::ResizeTo( x_value, y_value)

is one of the following: kAdjustInnerItemSpacing, kAdjustIndividualSizes