InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDocStructurePrefs.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 __IDocStructurePrefs__
25 #define __IDocStructurePrefs__
26 
27 #include "XMediaUIID.h"
28 #include "IPMUnknown.h"
29 
35 {
36 public:
37  enum { kDefaultIID = IID_IDOCSTRUCTUREPREFS };
38 
42  virtual void CopyFields(IDocStructurePrefs* other) = 0;
43 
47  virtual bool16 StructureIsShown() const = 0;
48 
52  virtual void SetShowStructure(bool16 showStructure) = 0;
53 
54 
58  virtual PMReal GetStructureWidth() const = 0;
59 
63  virtual void SetStructureWidth( PMReal structureWidth ) = 0;
64 
68  virtual bool16 StructureValidationIsShown() const = 0;
69 
73  virtual void SetShowStructureValidation(bool16 showStructureValidation) = 0;
74 
75 
79  virtual PMReal GetStructureValidationHeight() const = 0;
80 
84  virtual void SetStructureValidationHeight( PMReal structureValidationHeight ) = 0;
85 };
86 
87 
88 #endif