InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWarichuStyle.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Shinji Hiramatsu
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 __IWarichuStyle__
25 #define __IWarichuStyle__
26 
27 
28 #include "IPMUnknown.h"
29 #include "ICompositionStyle.h"
30 #include "CJKID.h"
31 
32 
46 class IWarichuStyle : public IPMUnknown
47 {
48  public:
49  enum { kDefaultIID = IID_IWARICHUSTYLE };
50 
51  // Warichu attributes
52 
56  virtual void SetWarichuFlag(bool16 flag) = 0;
57 
62  virtual bool16 GetWarichuFlag() const = 0;
63 
64 
68  virtual void SetWarichuNumOfLines(int16 num) = 0;
69 
74  virtual int16 GetWarichuNumOfLines() const = 0;
75 
76 
80  virtual void SetWarichuRelativeSize(PMReal p) = 0;
81 
86  virtual PMReal GetWarichuRelativeSize() const = 0;
87 
88 
92  virtual void SetWarichuLineSpacing(PMReal p) = 0;
93 
98  virtual PMReal GetWarichuLineSpacing() const = 0;
99 
100 
108 
113 
118  virtual bool16 OverrideParagraphAlignment() const = 0;
119 
120 
124  virtual void SetMinCharsBeforeBreak(int16 num) = 0;
125 
130  virtual int16 GetMinCharsBeforeBreak() const = 0;
131 
132 
136  virtual void SetMinCharsAfterBreak(int16 num) = 0;
137 
142  virtual int16 GetMinCharsAfterBreak() const = 0;
143 
148  virtual void SetAutoResizeParen(bool16 flag) = 0;
149 
154  virtual bool16 GetAutoResizeParen() const = 0;
155 
156 };
157 
158 
159 #endif // __IWarichuStyle__