InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IFullScreenRestoreData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Bob Freeman
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 __IFullScreenRestoreData__
25 #define __IFullScreenRestoreData__
26 
27 #include "PMTypes.h"
28 #include "PMRect.h"
29 #include "AppUIID.h"
30 #include "IPreviewPrefs.h"
31 #include "ILayoutControlData.h"
32 
33 class PMRect;
37 {
38 public:
39  /* Default IID to be used by UseDefaultIID() */
40  enum { kDefaultIID = IID_IFULLSCREENRESTOREDATA };
41 
45  virtual void SetRestoreMargins(const PMRect& margins) = 0;
46 
50  virtual PMRect GetRestoreMargins() = 0;
51 
54  virtual void ClearHiddenWidgetList() = 0;
55 
59  virtual void AddHiddenWidget(WidgetID widgetID) = 0;
60 
63  virtual int32 GetHiddenWidgetCount() const = 0;
64 
68  virtual WidgetID GetHiddenWidgetID(int32 at) = 0;
69 
73  virtual void SetRestoreScreenMode(IPreviewPrefs::PreviewMode mode) = 0;
74 
78  virtual IPreviewPrefs::PreviewMode GetRestoreScreenMode() = 0;
79 
83  virtual void SetRestoreStructure(bool16 structureShown) = 0;
84 
88  virtual bool16 GetRestoreStructure() = 0;
89 
93  virtual void SetRestoreSplitLayout(bool16 splitLayout) = 0;
94 
98  virtual bool16 GetRestoreSplitLayout() = 0;
99 
103  virtual void SetRestoreFit(ILayoutControlData::FitSetting fit) = 0;
104 
109 
113  virtual void SetRestoreBGColorIndex(int32 bgColorIndex) = 0;
114 
118  virtual int32 GetRestoreBGColorIndex() = 0;
119 
123  virtual void SetRestoreDrawOptions(int32 drawOptions) = 0;
124 
128  virtual int32 GetRestoreDrawOptions() = 0;
129 
133  virtual void SetRestoreZoom(PMReal zoom) = 0;
134 
138  virtual PMReal GetRestoreZoom() = 0;
139 
143  virtual void SetAutoShowHiddenPanels(bool16 autoShow) = 0;
144 
148  virtual bool16 GetAutoShowHiddenPanels() = 0;
149 
154  virtual void SetIsPresentationMode(bool16 isPresentationMode) = 0;
155 
156 
161  virtual bool16 IsPresentationMode() = 0;
162 
163 };
164 
165 #endif