InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IHyperlinkExternalCache.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Kaustubh Bansal
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change $
14 // ___________________
15 //
16 // ADOBE CONFIDENTIAL
17 //
18 // Copyright 2016 Adobe Systems Incorporated
19 // All Rights Reserved.
20 //
21 // NOTICE: All information contained herein is, and remains
22 // the property of Adobe Systems Incorporated and its suppliers,
23 // if any. The intellectual and technical concepts contained
24 // herein are proprietary to Adobe Systems Incorporated and its
25 // suppliers and are protected by all applicable intellectual property
26 // laws, including trade secret and copyright laws.
27 // Dissemination of this information or reproduction of this material
28 // is strictly forbidden unless prior written permission is obtained
29 // from Adobe Systems Incorporated.
30 //
31 //========================================================================================
32 
33 
34 
35 #ifndef __IHyperlinkExternalCache_h__
36 #define __IHyperlinkExternalCache_h__
37 
38 // ----- Interfaces -----
39 #include "IPMUnknown.h"
40 #include "IHyperlink.h"
41 #include "ILayoutUIUtils.h"
42 
43 // ----- ID.h files -----
44 #include "HyperlinkPanelID.h"
45 
47 {
48 public:
49  enum {kDefaultIID = IID_IHYPERLINKEXTERNALCACHE};
50 
51  virtual bool16 UpdateCache(UID hyperlink, bool16 keepDocumentOpen = kFalse) = 0;
52  virtual bool16 GetFromCache(UID hyperlink, PMString &info, ILayoutUIUtils::DestinationSelectionType &destinationType, bool16 keepDocumentOpen = kFalse) = 0;
53  virtual bool16 GetDestUIDFromCache(UID hyperlinkUID, UID &destUID, bool keepDocumentOpen = kFalse) = 0;
54  virtual void ClearAll() = 0;
55  virtual void CloseAllOpenedDocs() = 0;
56 };
57 
58 #endif
59 
60