InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITransformPanelPrefs.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: Preferences for the Transform Panel
24 //
25 //========================================================================================
26 
27 #ifndef __ITransformPanelPrefs__
28 #define __ITransformPanelPrefs__
29 
30 #include "IPMUnknown.h"
31 #include "PMPoint.h"
32 #include "SpreadID.h"
33 #include "TransformTypes.h"
34 
36 {
37 public:
38  enum { kDefaultIID = IID_ITRANSFORMPANELPREFERENCES };
39 
40  // Are transformation values local or aggregate values?
41  virtual void SetCoordinateSpace(const Transform::CoordinateSpace& coordinateSpace) = 0;
42  virtual Transform::CoordinateSpace GetCoordinateSpace() = 0;
43 
44  // Is stroke included in dimensions?
45  virtual void SetShowStrokeBounds( Geometry::BoundsKind bShowStrokeBounds) = 0;
46  virtual Geometry::BoundsKind GetShowStrokeBounds() = 0;
47 
48  // Is content displayed with global coordinates or offset coordindates when subselected?
49  virtual void SetShowContentOffset(bool16 bShowContentOffset) = 0;
50  virtual bool16 GetShowContentOffset() = 0;
51 
52  // Are strokes on objects scaled when objects are scaled?
53  virtual void SetScaleStrokes(bool16 bScaleStrokes) = 0;
54  virtual bool16 GetScaleStrokes() = 0;
55 
56  // Are scaling commands implemented via a transform matrix (like a lens)
57  // or does the scaling simply pass through to a page item's content?
58  virtual void SetScaleUsingLens( bool16 ) = 0;
59  virtual bool16 GetScaleUsingLens() = 0;
60 
61  // Are transparency effects on objects scaled when objects are scaled?
62  virtual void SetScaleXPEffects(bool16 bScaleXPEffects) = 0;
63  virtual bool16 GetScaleXPEffects() = 0;
64 };
65 
66 #endif