| 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 FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGEVIEW_H_ | 7 #ifndef FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ |
| 8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGEVIEW_H_ | 8 #define FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ |
| 9 | 9 |
| 10 class CPDFXFA_Page { | 10 class CPDFXFA_Page { |
| 11 public: | 11 public: |
| 12 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); | 12 CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); |
| 13 ~CPDFXFA_Page(); | 13 ~CPDFXFA_Page(); |
| 14 | 14 |
| 15 void Release(); | 15 void Release(); |
| 16 void AddRef() { m_iRef++; } | 16 void AddRef() { m_iRef++; } |
| 17 FX_BOOL LoadPage(); | 17 FX_BOOL LoadPage(); |
| 18 FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict); | 18 FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 FX_BOOL LoadXFAPageView(); | 56 FX_BOOL LoadXFAPageView(); |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 CPDF_Page* m_pPDFPage; | 59 CPDF_Page* m_pPDFPage; |
| 60 IXFA_PageView* m_pXFAPageView; | 60 IXFA_PageView* m_pXFAPageView; |
| 61 int m_iPageIndex; | 61 int m_iPageIndex; |
| 62 CPDFXFA_Document* m_pDocument; | 62 CPDFXFA_Document* m_pDocument; |
| 63 int m_iRef; | 63 int m_iRef; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGEVIEW_H_ | 66 #endif // FPDFSDK_INCLUDE_FPDFXFA_FPDFXFA_PAGE_H_ |
| OLD | NEW |