InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAlignContentInFrameCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lonnie Millett
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 
24 #ifndef __IALIGNCONTENTINFRAMECMDDATA__
25 #define __IALIGNCONTENTINFRAMECMDDATA__
26 
27 #include "IPMUnknown.h"
28 #include "GenericID.h"
29 #include "PMRect.h"
30 
32 {
33  public:
34  enum {kAlignLeftTop = 0,
35  kAlignTopCenter,
36  kAlignRightTop,
37  kAlignLeftCenter,
38  kAlignCenter,
39  kAlignRightCenter,
40  kAlignLeftBottom,
41  kAlignBottomCenter,
42  kAlignRightBottom};
43 
44  virtual void Set(int32 alignment, const PMRect& cropAmts = kZeroRect) = 0;
45  virtual int32 GetAlignment() const = 0;
46  virtual void GetCropAmounts(PMRect& cropAmts) = 0;
47 };
48 
49 
50 #endif
51