InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IBookmarkFacade.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 // Note: UI facade for hyperlink feature.
24 //
25 //========================================================================================
26 
27 
28 #include "Utils.h"
29 
30 // ----- Interfaces -----
31 
32 // ----- ID.h files -----
33 #include "HyperlinkID.h"
34 
35 namespace Facade
36 {
43  class IBookmarkFacade : public IPMUnknown
44  {
45  public:
46  enum { kDefaultIID = IID_IBOOKMARKFACADE };
47 
58  virtual ErrorCode CreateBookmark
59  (
60  UIDRef destination,
61  UID parentBookmark,
62  UIDRef* newBookmark = nil,
63  const PMString& bookmarkName = "",
64  int32 indentLevel = 0
65  ) = 0;
66 
73  virtual ErrorCode DeleteBookmark
74  (
75  UIDList bookmarks,
76  bool16 deleteDest = kTrue
77  ) = 0;
78 
87  virtual ErrorCode MoveBookmark
88  (
89  UIDRef bookmark,
90  UIDRef newParent,
91  int32 newIndex
92  ) = 0;
93 
101  virtual ErrorCode RenameBookmark
102  (
103  UIDRef bookmark,
104  const PMString& newName
105  ) = 0;
106  };
107 }
108 
109 
110