| 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_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 Loading... |
| 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_ |
| OLD | NEW |