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

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

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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/include/fpdfxfa/fpdfxfa_doc.h ('k') | fpdfsdk/include/fpdfxfa/fpdfxfa_util.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 _FPDFXFA_PAGEVIEW_H_ 7 #ifndef _FPDFXFA_PAGEVIEW_H_
8 #define _FPDFXFA_PAGEVIEW_H_ 8 #define _FPDFXFA_PAGEVIEW_H_
9 9
10 class CPDFXFA_Page; 10 class CPDFXFA_Page
11
12 class CPDFXFA_Page : public CFX_Object
13 { 11 {
14 public: 12 public:
15 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); 13 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index);
16 ~CPDFXFA_Page(); 14 ~CPDFXFA_Page();
17 15
18 void Release(); 16 void Release();
19 void AddRef(){ m_iRef ++; } 17 void AddRef(){ m_iRef ++; }
20 FX_BOOL LoadPage(); 18 FX_BOOL LoadPage();
21 FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict); 19 FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict);
22 CPDFXFA_Document* GetDocument() { return m_pDocument; } 20 CPDFXFA_Document* GetDocument() { return m_pDocument; }
(...skipping 18 matching lines...) Expand all
41 39
42 private: 40 private:
43 CPDF_Page* m_pPDFPage; 41 CPDF_Page* m_pPDFPage;
44 IXFA_PageView* m_pXFAPageView; 42 IXFA_PageView* m_pXFAPageView;
45 int m_iPageIndex; 43 int m_iPageIndex;
46 CPDFXFA_Document* m_pDocument; 44 CPDFXFA_Document* m_pDocument;
47 int m_iRef; 45 int m_iRef;
48 }; 46 };
49 47
50 #endif 48 #endif
OLDNEW
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h ('k') | fpdfsdk/include/fpdfxfa/fpdfxfa_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698