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 CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 7 #ifndef CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 8 #define CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 void ClearCachedAP(); | 414 void ClearCachedAP(); |
415 | 415 |
416 void DrawBorder(CFX_RenderDevice* pDevice, | 416 void DrawBorder(CFX_RenderDevice* pDevice, |
417 const CFX_Matrix* pUser2Device, | 417 const CFX_Matrix* pUser2Device, |
418 const CPDF_RenderOptions* pOptions); | 418 const CPDF_RenderOptions* pOptions); |
419 | 419 |
420 CPDF_Form* GetAPForm(const CPDF_Page* pPage, AppearanceMode mode); | 420 CPDF_Form* GetAPForm(const CPDF_Page* pPage, AppearanceMode mode); |
421 | 421 |
422 private: | 422 private: |
423 CPDF_Dictionary* const m_pAnnotDict; | 423 CPDF_Dictionary* const m_pAnnotDict; |
424 | |
425 CPDF_AnnotList* const m_pList; | 424 CPDF_AnnotList* const m_pList; |
426 | |
427 const CFX_ByteString m_sSubtype; | 425 const CFX_ByteString m_sSubtype; |
428 | 426 std::map<CPDF_Stream*, CPDF_Form*> m_APMap; |
429 CFX_MapPtrToPtr m_APMap; | |
430 }; | 427 }; |
431 | 428 |
432 class CPDF_AnnotList { | 429 class CPDF_AnnotList { |
433 public: | 430 public: |
434 explicit CPDF_AnnotList(CPDF_Page* pPage); | 431 explicit CPDF_AnnotList(CPDF_Page* pPage); |
435 ~CPDF_AnnotList(); | 432 ~CPDF_AnnotList(); |
436 | 433 |
437 void DisplayAnnots(const CPDF_Page* pPage, | 434 void DisplayAnnots(const CPDF_Page* pPage, |
438 CPDF_RenderContext* pContext, | 435 CPDF_RenderContext* pContext, |
439 FX_BOOL bPrinting, | 436 FX_BOOL bPrinting, |
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1157 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; | 1154 CFX_WideString GetCaption(const CFX_ByteStringC& csEntry) const; |
1158 | 1155 |
1159 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; | 1156 CPDF_Stream* GetIcon(const CFX_ByteStringC& csEntry) const; |
1160 | 1157 |
1161 CPDF_Dictionary* const m_pDict; | 1158 CPDF_Dictionary* const m_pDict; |
1162 }; | 1159 }; |
1163 | 1160 |
1164 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); | 1161 CFX_WideString FILESPEC_EncodeFileName(const CFX_WideStringC& filepath); |
1165 | 1162 |
1166 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ | 1163 #endif // CORE_INCLUDE_FPDFDOC_FPDF_DOC_H_ |
OLD | NEW |