InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IHyperlinkAppearanceData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Brendan O'Shea
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 __IHyperlinkAppearanceData__
25 #define __IHyperlinkAppearanceData__
26 
27 #include "IPMUnknown.h"
28 #include "HyperlinkID.h"
29 
34 {
35 public:
36  enum { kDefaultIID = IID_IHYPERLINKAPPEARANCEDATA };
37 
41  virtual void SetVisible(const bool16 bIsVisible) = 0;
42 
47  virtual bool16 GetVisible() const = 0;
48 
49 
53  virtual void SetBorderLineWidth(const int32 strokeWidthInPixels) = 0;
54 
59  virtual int32 GetBorderLineWidth() const = 0;
60 
61  typedef enum { kNoHyperlinkHilight = 0,
62  kInvertHyperlinkHilight = 1,
63  kInsetHyperlinkHilight = 2,
64  kOutlineHyperlinkHilight = 3} HyperlinkHilight;
65 
66 
70  virtual void SetHyperlinkHilight(IHyperlinkAppearanceData::HyperlinkHilight hilightType) = 0;
71 
75  virtual HyperlinkHilight GetHyperlinkHilight() const = 0;
76 
77 
81  virtual void SetBorderColorUID(const UID interfaceColorUID) = 0;
82 
87  virtual const UID GetBorderColorUID() const = 0;
88 
89  typedef enum { kHyperlinkSolidOutline = 0,
90  kHyperlinkDashedOutline = 1 } HyperlinkOutlineLineStyle;
91 
92 
96  virtual void SetHyperlinkOutlineLineStyle(HyperlinkOutlineLineStyle style) = 0;
97 
102  virtual HyperlinkOutlineLineStyle GetHyperlinkOutlineLineStyle() const = 0;
103 };
104 
105 #endif