InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CReferenceConverter.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Prakash Verma
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: All information contained herein is, and remains
20 // the property of Adobe Systems Incorporated and its suppliers,
21 // if any. The intellectual and technical concepts contained
22 // herein are proprietary to Adobe Systems Incorporated and its
23 // suppliers and may be covered by U.S. and Foreign Patents,
24 // patents in process, and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 #ifndef __CReferenceConverter__
32 #define __CReferenceConverter__
33 
34 #include "IReferenceConverter.h"
35 
36 class CReferenceConverter : public CPMUnknown<IReferenceConverter>
37 {
38  public:
40  virtual ~CReferenceConverter(){}
41 
42  //override this method.
43  virtual bool16 CanConvert(ClassID)
44  {
45  ASSERT_UNIMPLEMENTED();
46  return kFalse;
47  }
48 
49  //override this method.
51  {
52  ASSERT_UNIMPLEMENTED();
53  return kInvalidUID;
54  }
55 
56  //override this method.
57  virtual bool16 ConvertAlways() const
58  {
59  ASSERT_UNIMPLEMENTED();
60  return kFalse;
61  }
62 
63  //override this method.
64  virtual UID GetReference(IDataBase*, UID, IDataBase*) const
65  {
66  ASSERT_UNIMPLEMENTED();
67  return kInvalidUID;
68  }
69 
70  virtual bool16 IsMappingReference(IDataBase*, UID, IDataBase*) const
71  {
72  return kFalse;
73  }
74 
76  {
77  return kInvalidUID;
78  }
79 
81  {
82  return kInvalidUID;
83  }
84 };
85 
86 #endif // __CReferenceConverter__