InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IConditionTag.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michele Stutzman
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 __ICONDITIONTAG__
25 #define __ICONDITIONTAG__
26 
27 #include "IPMUnknown.h"
28 #include "ConditionalTextID.h"
29 
30 class PMString;
31 
39 class IConditionTag : public IPMUnknown
40 {
41 public:
42  enum { kDefaultIID = IID_ICONDITIONTAG };
43 
44  typedef enum {
45  kUnderline = 0,
46  kHighlight = 1,
47  } IndicatorMethod;
48 
49  typedef enum {
50  kSingleWavy = 0,
51  kSolid = 1,
52  kDashed = 2,
53  } UnderlineIndicatorAppearance;
54 
55 
59  virtual WideString GetName() const = 0;
60 
64  virtual void SetName(const WideString& name) = 0;
65 
70  virtual bool16 IsVisible() const = 0;
71 
75  virtual void SetVisible(bool16 visible) = 0;
76 
80  virtual UID GetColor() const = 0;
81 
85  virtual void SetColor(UID colorUID) = 0;
86 
90  virtual IndicatorMethod GetMethod() const = 0;
91 
95  virtual void SetMethod(IndicatorMethod method) = 0;
96 
100  virtual UnderlineIndicatorAppearance GetAppearance() const = 0;
101 
105  virtual void SetAppearance(UnderlineIndicatorAppearance appearance) = 0;
106 };
107 
108 #endif // __ICONDITIONTAG__