InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITextAreaPrefsData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: psorrick
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 __ITextAreaPrefsData__
25 #define __ITextAreaPrefsData__
26 
27 #include "IPMUnknown.h"
28 #include "PMRect.h"
29 #include "InCopyCoreID.h"
30 #include "ITextAreaPrefs.h"
31 
37 {
38 public:
42  enum { kDefaultIID = IID_ITEXTAREAPREFSDATA };
43 
44  virtual void Set(UIDRef docref, const PMReal width, const PMReal depth,const ITextAreaPrefs::TextAreaDepthUnit unitIndex) =0;
45 
53  virtual void SetDocument(UIDRef docref) = 0;
54 
61  virtual UIDRef GetDocument() const = 0;
62 
63 
70  virtual void SetTextAreaWidth(const PMReal width) = 0;
71 
77  virtual PMReal GetTextAreaWidth() const = 0;
78 
85  virtual void SetTextAreaDepth(const PMReal depth) = 0;
86 
92  virtual PMReal GetTextAreaDepth() const = 0;
93 
100  virtual void SetTextAreaDepthUnit(const ITextAreaPrefs::TextAreaDepthUnit unitIndex) = 0;
101 
108 
109 };
110 
111 #endif
112