OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_ |
8 #define FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "core/include/fxcrt/fx_basic.h" | 13 #include "core/include/fxcrt/fx_basic.h" |
14 | 14 |
15 class CFFL_IFormFiller; | 15 class CFFL_IFormFiller; |
16 class CFX_RenderDevice; | 16 class CFX_RenderDevice; |
17 class CPDFDoc_Environment; | 17 class CPDFDoc_Environment; |
18 class CPDFSDK_Annot; | 18 class CPDFSDK_Annot; |
19 class CPDFSDK_PageView; | 19 class CPDFSDK_PageView; |
20 class CPDF_Annot; | 20 class CPDF_Annot; |
21 class CFX_Matrix; | 21 class CFX_Matrix; |
22 class CPDF_Point; | 22 class CPDF_Point; |
23 class CPDF_Rect; | |
24 | 23 |
25 class IPDFSDK_AnnotHandler { | 24 class IPDFSDK_AnnotHandler { |
26 public: | 25 public: |
27 virtual ~IPDFSDK_AnnotHandler() {} | 26 virtual ~IPDFSDK_AnnotHandler() {} |
28 | 27 |
29 virtual CFX_ByteString GetType() = 0; | 28 virtual CFX_ByteString GetType() = 0; |
30 | 29 |
31 virtual CFX_ByteString GetName() = 0; | 30 virtual CFX_ByteString GetName() = 0; |
32 | 31 |
33 virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) = 0; | 32 virtual FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) = 0; |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 private: | 313 private: |
315 CPDFSDK_Annot* NextAnnot(); | 314 CPDFSDK_Annot* NextAnnot(); |
316 CPDFSDK_Annot* PrevAnnot(); | 315 CPDFSDK_Annot* PrevAnnot(); |
317 | 316 |
318 std::vector<CPDFSDK_Annot*> m_iteratorAnnotList; | 317 std::vector<CPDFSDK_Annot*> m_iteratorAnnotList; |
319 const bool m_bReverse; | 318 const bool m_bReverse; |
320 size_t m_pos; | 319 size_t m_pos; |
321 }; | 320 }; |
322 | 321 |
323 #endif // FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_ | 322 #endif // FPDFSDK_INCLUDE_FSDK_ANNOTHANDLER_H_ |
OLD | NEW |