Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: core/include/fpdfdoc/fpdf_doc.h

Issue 1515613006: Merge to XFA: Replace several more CFX_MapPtrToPtr with std::set or std::map (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/include/fpdfapi/fpdf_objects.h ('k') | core/include/fxge/fx_font.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_objects.h ('k') | core/include/fxge/fx_font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698