InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IControlStripPrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Joss
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 __ICONTROLSTRIPPREFS__
25 #define __ICONTROLSTRIPPREFS__
26 
27 #include "ControlStripID.h"
28 #include "K2Vector.h"
29 #include "KeyValuePair.h"
30 #include "IPMUnknown.h"
31 
34 {
35 public:
36  enum { kDefaultIID = IID_ICONTROLSTRIPPREFS };
37 
38  enum
39  {
40  kCharacterMode = 0x00000001,
41  kParagraphMode = 0x00000002
42  };
43 
49  virtual int32 GetDisplayMode() const = 0;
50 
54  virtual void SetDisplayMode(int32 displayMode) = 0;
55 
61  virtual PMPoint GetFloatingDimensions() const = 0;
62 
67  virtual void SetFloatingDimensions(const PMPoint& dimensions) = 0;
68 
72  virtual void GetControlStripSetsVisibility(K2Vector< KeyValuePair<PMString, bool16> >& controlSetsVisibility) = 0;
73 
77  virtual void SetControlStripSetsVisibility(K2Vector< KeyValuePair<PMString, bool16> >& controlSetsVisibility) = 0;
78 };
79 
80 
81 #endif