OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 CORE_FPDFDOC_CPDF_ANNOT_H_ | 7 #ifndef CORE_FPDFDOC_INCLUDE_CPDF_ANNOT_H_ |
8 #define CORE_FPDFDOC_CPDF_ANNOT_H_ | 8 #define CORE_FPDFDOC_INCLUDE_CPDF_ANNOT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "core/fxcrt/include/fx_coordinates.h" | 13 #include "core/fxcrt/include/fx_coordinates.h" |
14 #include "core/fxcrt/include/fx_string.h" | 14 #include "core/fxcrt/include/fx_string.h" |
15 #include "core/fxcrt/include/fx_system.h" | 15 #include "core/fxcrt/include/fx_system.h" |
16 | 16 |
17 class CFX_RenderDevice; | 17 class CFX_RenderDevice; |
18 class CPDF_Dictionary; | 18 class CPDF_Dictionary; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const CPDF_RenderOptions* pOptions); | 60 const CPDF_RenderOptions* pOptions); |
61 CPDF_Form* GetAPForm(const CPDF_Page* pPage, AppearanceMode mode); | 61 CPDF_Form* GetAPForm(const CPDF_Page* pPage, AppearanceMode mode); |
62 | 62 |
63 private: | 63 private: |
64 CPDF_Dictionary* const m_pAnnotDict; | 64 CPDF_Dictionary* const m_pAnnotDict; |
65 CPDF_Document* const m_pDocument; | 65 CPDF_Document* const m_pDocument; |
66 const CFX_ByteString m_sSubtype; | 66 const CFX_ByteString m_sSubtype; |
67 std::map<CPDF_Stream*, std::unique_ptr<CPDF_Form>> m_APMap; | 67 std::map<CPDF_Stream*, std::unique_ptr<CPDF_Form>> m_APMap; |
68 }; | 68 }; |
69 | 69 |
70 #endif // CORE_FPDFDOC_CPDF_ANNOT_H_ | 70 CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict, |
| 71 CPDF_Annot::AppearanceMode mode); |
| 72 |
| 73 #endif // CORE_FPDFDOC_INCLUDE_CPDF_ANNOT_H_ |
OLD | NEW |