InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IVerticalColumnRuleData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Anurag Singh
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2019 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: All information contained herein is, and remains
20 // the property of Adobe Systems Incorporated and its suppliers,
21 // if any. The intellectual and technical concepts contained
22 // herein are proprietary to Adobe Systems Incorporated and its
23 // suppliers and may be covered by U.S. and Foreign Patents,
24 // patents in process, and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 
32 #ifndef _IVerticalColumnRuleData_
33 #define _IVerticalColumnRuleData_
34 
35 #define kMinVerticalRuleOffset -10000
36 #define kMaxVerticalRuleOffset 10000
37 #define kMinVerticalRuleTopInset -10000
38 #define kMaxVerticalRuleTopInset 10000
39 #define kMinVerticalRuleBottomInset -10000
40 #define kMaxVerticalRuleBottomInset 10000
41 #define kMaxVerticalRuleWidth 10000
42 
43 #ifndef __ODFRC__ // when used for core resource compilation, provide just the parameter range constants
44 
45 #include "IPMUnknown.h"
46 #include "ICompositionStyle.h"
47 
48 #include "TextID.h"
49 
50 #include "PMReal.h"
52 
54 {
55 public:
56  enum { kDefaultIID = IID_IVERTICALCOLUMNRULEDATA };
57 
64  {
65  kFlag_VerticalRuleHeightDefault = 0,
66  kFlag_VerticalRuleHeightAscToDesc,
67  kFlag_VerticalRuleHeightEmBoxToEmBox
68  };
69 
74  virtual bool16 GetUseVerticalRule() const = 0;
75 
80  virtual void SetUseVerticalRule(bool16 useVerticalRule) = 0;
81 
86  virtual PMReal GetVerticalRuleOffset() const = 0;
87 
92  virtual void SetVerticalRuleOffset(PMReal offset) = 0;
93 
98  virtual PMReal GetVerticalRuleTopInset() const = 0;
99 
104  virtual void SetVerticalRuleTopInset(PMReal inset) = 0;
105 
110  virtual bool16 GetVerticalRuleInsetChain() const = 0;
111 
116  virtual void SetVerticalRuleInsetChain(bool16 isChained) = 0;
117 
122  virtual PMReal GetVerticalRuleBottomInset() const = 0;
123 
128  virtual void SetVerticalRuleBottomInset(PMReal inset) = 0;
129 
134  virtual PMReal GetVerticalRuleStrokeWidth() const = 0;
135 
140  virtual void SetVerticalRuleStrokeWidth(PMReal width) = 0;
141 
146  virtual UID GetVerticalRuleStrokeColor() const = 0;
147 
152  virtual void SetVerticalRuleStrokeColor(UID colorUID) = 0;
153 
159 
164  virtual void SetVerticalRuleStrokeType(ICompositionStyle::StrokeType strokeType) = 0;
165 
170  virtual PMReal GetVerticalRuleTint() const = 0;
171 
176  virtual void SetVerticalRuleTint(PMReal tint) = 0;
177 
182  virtual bool16 GetVerticalRuleOverprint() const = 0;
183 
188  virtual void SetVerticalRuleOverprint(bool16 isOverprint) = 0;
189 
195 
200  virtual void SetVerticalRuleHeightMode() = 0;
201 
206  virtual void CopyFrom(const IVerticalColumnRuleData* verticalColumnRuleData) = 0;
207 
212  virtual void CopyFrom(const ITextFrameOptionsData* tfoData) = 0;
213 };
214 
215 #endif // __odfrc__
216 #endif // _IVerticalColumnRuleData_