InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAdaptiveLayoutPrefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Sachin Singhal
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2018 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 __IAdaptiveLayoutPrefs__
25 #define __IAdaptiveLayoutPrefs__
26 
27 #include "IPMUnknown.h"
28 
32 {
33 public:
34 
38  virtual void SetAdaptiveLayoutOn(bool16 val) = 0;
39 
43  virtual void SetScaleLockedPageItems(bool16 val) = 0;
44 
48  virtual void SetFontSizeandLeadingOn(bool16 val) = 0;
49 
53  virtual void SetFontSizeLimitOn(bool16 val) = 0;
54 
58  virtual void SetMinimumFontSize(PMReal val) = 0;
59 
63  virtual void SetMaximumFontSize(PMReal val) = 0;
64 
68  virtual void SetAutoAdjustMargins(bool16 val) = 0;
69 
73  virtual bool16 GetAdaptiveLayoutOn() = 0;
74 
78  virtual bool16 GetScaleLockedPageItems() = 0;
79 
83  virtual bool16 IsFontSizeandLeadingOn()= 0;
84 
88  virtual bool16 IsFontSizeLimitOn() = 0;
89 
93  virtual PMReal GetMinimumFontSize()= 0;
94 
98  virtual PMReal GetMaximumFontSize() = 0;
99 
103  virtual bool16 IsAutoAdjustMarginsOn()= 0;
104 
105 };
106 
107 #endif