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 _FPDF_PAGE_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
8 #define _FPDF_PAGE_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
9 #ifndef _FPDF_PARSER_ | 9 |
| 10 #include "../fxge/fx_dib.h" |
10 #include "fpdf_parser.h" | 11 #include "fpdf_parser.h" |
11 #endif | |
12 #ifndef _FPDF_RESOURCE_ | |
13 #include "fpdf_resource.h" | 12 #include "fpdf_resource.h" |
14 #endif | 13 |
15 #ifndef _FX_DIB_H_ | |
16 #include "../fxge/fx_dib.h" | |
17 #endif | |
18 class CPDF_PageObjects; | 14 class CPDF_PageObjects; |
19 class CPDF_Page; | 15 class CPDF_Page; |
20 class CPDF_Form; | 16 class CPDF_Form; |
21 class CPDF_ParseOptions; | 17 class CPDF_ParseOptions; |
22 class CPDF_PageObject; | 18 class CPDF_PageObject; |
23 class CPDF_PageRenderCache; | 19 class CPDF_PageRenderCache; |
24 class CPDF_StreamFilter; | 20 class CPDF_StreamFilter; |
25 class CPDF_AllStates; | 21 class CPDF_AllStates; |
26 class CPDF_ContentParser; | 22 class CPDF_ContentParser; |
27 class CPDF_StreamContentParser; | 23 class CPDF_StreamContentParser; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 void TransformContent(CFX_Matrix& matrix); | 235 void TransformContent(CFX_Matrix& matrix); |
240 protected: | 236 protected: |
241 void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageO
bj); | 237 void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageO
bj); |
242 void ProcessForm(CFX_ByteTextBuf& buf, FX_LPCBYTE data, FX_DWORD
size, CFX_Matrix& matrix); | 238 void ProcessForm(CFX_ByteTextBuf& buf, FX_LPCBYTE data, FX_DWORD
size, CFX_Matrix& matrix); |
243 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, const FX_CHAR* sz
Type); | 239 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, const FX_CHAR* sz
Type); |
244 private: | 240 private: |
245 CPDF_Page* m_pPage; | 241 CPDF_Page* m_pPage; |
246 CPDF_Document* m_pDocument; | 242 CPDF_Document* m_pDocument; |
247 CFX_PtrArray m_pageObjects; | 243 CFX_PtrArray m_pageObjects; |
248 }; | 244 }; |
249 #endif | 245 |
| 246 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
OLD | NEW |