InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IHyperlinkTextSourceCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jianlan Song
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 
25 #include "HyperlinkID.h"
26 #include "itextRangeNode.h"
27 
32 {
33 public:
34  enum {kDefaultIID = IID_IHYPERLINKTEXTSOURCECMDDATA};
35 
46  virtual void Set( const PMString& name, const UIDRef& storyUIDRef,
47  TextIndex start, TextIndex end, bool16 isVisible, const UIDRef& bookmarkUIDRef, bool16 isXref = kFalse, UID xRefFormat = kInvalidUID) = 0;
48 
52  virtual PMString GetName() const = 0;
53  virtual void SetName( const PMString& name) = 0;
54  virtual bool16 ChangingName() const = 0;
55 
59  virtual UIDRef GetStoryUIDRef() const = 0;
60  virtual void SetStoryUIDRef(const UIDRef& storyUIDRef) = 0;
61  virtual bool16 ChangingTextModel() const = 0;
62 
66  virtual TextIndex GetStartIndex() const = 0;
67 
71  virtual int32 GetRangeLength() const = 0;
72 
73  virtual void SetRangeData(TextIndex start, TextIndex end) = 0;
74  virtual bool16 ChangingRangeData() const = 0;
75 
79  virtual UID GetCharStyle() const = 0;
80  virtual void SetCharStyle(UID charStyle) = 0;
81  virtual bool16 ChangingCharStyle() const = 0;
82 
86  virtual bool16 IsVisible() const = 0;
87  virtual void SetIsVisible(bool16 isVisible) = 0;
88  virtual bool16 ChangingVisibility() const = 0;
89 
93  virtual UIDRef GetBookmarkData() const = 0;
94  virtual void SetBookmarkData(const UIDRef& bookmarkUIDRef) = 0;
95  virtual bool16 ChangingBookmarkData() const = 0;
96 
97  virtual void SetIsXRef(bool16 isXRef) = 0;
98  virtual bool16 IsXRef() const = 0;
99 
100  virtual void SetXRefFormat(UID xRefFormat) = 0;
101  virtual UID GetXRefFormat() const = 0;
102  virtual bool16 ChangingXRefInfo() const = 0;
103 };
104