InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICJKCharCountOptions.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Heath Lynn
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 // Purpose: Aaggregated on a Text frames kMultiColumnItemBoss to describe the
24 // items character count options.
25 //
26 //========================================================================================
27 
28 #ifndef __ICJKCJKCharCountOptions__
29 #define __ICJKCJKCharCountOptions__
30 
31 #include "IPMUnknown.h"
32 
33 #include "CJKGridID.h"
34 
38 {
39 public:
40 
41  //---------------------------------------
42  // enumerations
43  //---------------------------------------
44 
45  enum { kDefaultIID = IID_ICJKCHARCOUNTOPTIONS };
46 
47  enum Location
48  {
49  kMixed = -1, // Indicates mixed mode when used as command data.
50  kNone, // Turns off character count
51  kLeft,
52  kTop,
53  kRight,
54  kBottom
55  };
56 
57  //---------------------------------------
58  // Get and Set Methods
59  //---------------------------------------
60 
64  virtual void SetLocation( ICJKCharCountOptions::Location location ) =0;
65 
69  virtual ICJKCharCountOptions::Location GetLocation() const = 0;
70 
75  virtual void SetTextSize(const PMReal & size) = 0;
76 
80  virtual PMReal GetTextSize() const = 0;
81 
86  virtual void CopyFrom(ICJKCharCountOptions *source, bool16 doDirty = kTrue) = 0;
87 };
88 
89 #endif
90