InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISetBoundingBoxCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jeff Argast
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: Holds the new bounding boxes, indicates whether bounds are in
24 // pasteboard or inner coordinates, and sets the action that the
25 // pageitem should take regarding the set bounding box cmd.
26 // See IGeometry for a description of SetAction.
27 //
28 //========================================================================================
29 
30 #ifndef __ISetBoundingBoxCmdData__
31 #define __ISetBoundingBoxCmdData__
32 
33 #include "IPMUnknown.h"
34 #include "TransformTypes.h"
35 #include "GenericID.h"
36 #include "PMRect.h"
37 
39 {
40 public:
41  enum { kDefaultIID = IID_ISETBOUNDINGBOXCMDDATA };
42 
48  virtual void SetBoundingBoxData
49  (
50  const PMRectCollection& rectCollection,
51  const Transform::CoordinateSpace &coordinateSpace,
52  Geometry::BoundsKind boundsKind
53  ) = 0;
54 
57  virtual const PMRectCollection& GetRectList() const = 0;
58 
62 
65  virtual Geometry::BoundsKind GetBoundsKind() const = 0;
66 };
67 
68 #endif