InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IStoryOptions.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Rich Gartland
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 __IStoryOptions__
25 #define __IStoryOptions__
26 
27 #include "IPMUnknown.h"
28 #include "TextID.h"
29 
30 
31 class ICJKGridData;
32 
36 class IStoryOptions : public IPMUnknown
37 {
38 public:
39  enum {kDefaultIID = IID_ISTORYOPTIONS };
40 
41  // Formerly Frame List attributes
45  virtual void SetVertical(bool16 vertical) = 0;
46 
50  virtual bool16 IsVertical() const = 0;
51 
55  virtual void SetRightToLeft(bool16 rtl) = 0;
56 
60  virtual bool16 IsRightToLeft() const = 0;
61 
65  virtual ClassID GetEdgeAlignMethod() const = 0;
66 
70  virtual void SetEdgeAlignMethod(ClassID algo) = 0;
71 
75  virtual PMReal GetParagraphBodySize() const = 0;
76 
80  virtual void SetParagraphBodySize(PMReal b) = 0;
81 
85  virtual bool16 GetCJKGridActive() const = 0;
86 
90  virtual void SetCJKGridActive(bool16 active) = 0;
91 
95  virtual const ICJKGridData* QueryCJKGridData() const = 0;
96 
97 };
98 
99 #endif