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

Side by Side Diff: fpdfsdk/include/fpdfxfa/fpdfxfa_page.h

Issue 1805603002: core/include/fdpfapi cleanup Part I. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months 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 | « fpdfsdk/fxedit/fxet_pageobjs.cpp ('k') | fpdfsdk/include/fsdk_define.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 FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ 7 #ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_
8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ 8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_
9 9
10 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h"
11 #include "core/fpdfapi/include/cpdf_modulemgr.h"
12 #include "core/include/fxcrt/fx_coordinates.h"
13 #include "core/include/fxcrt/fx_system.h"
14
15 class CPDFXFA_Document;
10 class CPDF_Page; 16 class CPDF_Page;
17 class IXFA_PageView;
11 18
12 class CPDFXFA_Page { 19 class CPDFXFA_Page {
13 public: 20 public:
14 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); 21 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index);
15 ~CPDFXFA_Page(); 22 ~CPDFXFA_Page();
16 23
17 void Release(); 24 void Release();
18 void AddRef() { m_iRef++; } 25 void AddRef() { m_iRef++; }
19 FX_BOOL LoadPage(); 26 FX_BOOL LoadPage();
20 FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict); 27 FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 66
60 private: 67 private:
61 CPDF_Page* m_pPDFPage; 68 CPDF_Page* m_pPDFPage;
62 IXFA_PageView* m_pXFAPageView; 69 IXFA_PageView* m_pXFAPageView;
63 int m_iPageIndex; 70 int m_iPageIndex;
64 CPDFXFA_Document* m_pDocument; 71 CPDFXFA_Document* m_pDocument;
65 int m_iRef; 72 int m_iRef;
66 }; 73 };
67 74
68 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ 75 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fxedit/fxet_pageobjs.cpp ('k') | fpdfsdk/include/fsdk_define.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698