InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IResizeItemsCmdData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Richard Rodseth
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//
23
// Purpose: Provide three different ways for setting data to ResizeItemsCmd:
24
// 1. horizontal and vertical resize factor, and reference point
25
// 2. delta x (width) and delat y (height) amount, and reference point
26
// 3. absolute horizontal and vertical amount, and reference point
27
//
28
// Used when changing Width or Height in the Transform panel
29
// Used by scripting real resize event
30
// Will be used when resizing a group.
31
//
32
//========================================================================================
33
34
#ifndef __IResizeItemsCmdData__
35
#define __IResizeItemsCmdData__
36
37
#include "IPMUnknown.h"
38
#include "GenericID.h"
39
#include "PMPoint.h"
40
#include "TransformTypes.h"
41
42
class
IResizeItemsCmdData
:
public
IPMUnknown
43
{
44
public
:
45
enum
{ kDefaultIID = IID_IRESIZEITEMSCMDDATA};
46
enum
ResizeMultiple { kAdjustInnerItemSpacing, kAdjustIndividualSizes};
47
80
virtual
void
SetResizeData
(
81
const
Transform::CoordinateSpace
&boundsSpace,
82
Geometry::BoundsKind
boundsKind,
83
const
Transform::TransformOrigin
& referencePoint,
84
const
Geometry::ResizeValue
& newSize,
85
ResizeMultiple resizeMultiple = kAdjustInnerItemSpacing
86
) = 0;
87
88
92
virtual
Transform::CoordinateSpace
GetBoundsSpace
()
const
= 0;
93
97
virtual
Geometry::BoundsKind
GetBoundsKind
()
const
= 0;
98
102
virtual
Transform::TransformOrigin
GetResizeReferencePoint
()
const
= 0;
103
107
virtual
Geometry::ResizeValue
GetResizeValue
()
const
= 0;
108
112
virtual
ResizeMultiple
GetResizeMultiple
()
const
= 0;
113
};
114
115
#endif
tmpdoxygeninput
IResizeItemsCmdData.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1