InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IProxyWidgetAttributes.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: Stores attributes of the proxy widget, such as whether it is a line proxy
24 //
25 //========================================================================================
26 
27 #ifndef __IProxyWidgetAttributes__
28 #define __IProxyWidgetAttributes__
29 
30 class PMLine;
31 class ISelectionManager;
32 class PathInfo;
33 class IControlView;
34 
35 #include "IReferencePointData.h"
36 #include "widgetid.h"
37 
45 {
46 public:
47  enum { kDefaultIID = IID_IPROXYWIDGETATTRIBUTES };
48 
53  virtual bool16 GetProxyIsLine() = 0;
54 
59  virtual void SetProxyIsLine(bool16 isLine) = 0;
60 
66  virtual void SetProxyReferenceAngle(const PMReal& angle) = 0;
67 
73  virtual void SetProxyReferenceXScale(const PMReal& xScale) = 0;
74 
80  virtual void SetProxyReferenceYScale(const PMReal& yScale) = 0;
81 
85  virtual void SetProxyReferenceXSkew(const PMReal& xSkew) = 0;
86 
91  virtual void SetProxyReferenceLine(const PMLine& line) = 0;
92 
96  virtual PMReal GetProxyReferenceAngle() = 0;
97 
101  virtual PMReal GetProxyReferenceXScale() = 0;
102 
106  virtual PMReal GetProxyReferenceYScale() = 0;
107 
112  virtual PMReal GetProxyReferenceXSkew() = 0;
113 
118  virtual PMLine GetProxyReferenceLine() = 0;
119 
124  virtual void SetProxyAppearance(const IReferencePointData::ReferenceAppearance& appearance) = 0;
125 
131 
136  virtual void SetProxyPosition(const IReferencePointData::ReferencePointPosition& position) = 0;
137 
143 
149  virtual void UpdateProxyState(ISelectionManager* selectionManager, IControlView* view, PathInfo* pathInfo) = 0;
150 
154  virtual void UpdateProxyValues(ISelectionManager* selectionManager) = 0;
155 
159  virtual void UpdateProxyRotation(ISelectionManager* selectionManager) = 0;
160 
164  virtual void UpdateProxyScale(ISelectionManager* selectionManager) = 0;
165 
169  virtual void UpdateProxySkew(ISelectionManager* selectionManager) = 0;
170 
174  virtual bool16 GetProxyIsRow() = 0;
175 
179  virtual void SetProxyIsRow(bool16 isRow) = 0;
180 
184  virtual bool16 GetProxyIsColumn() = 0;
185 
189  virtual void SetProxyIsColumn(bool16 isColumn) = 0;
190 
191 };
192 
193 #endif