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 CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
9 | 9 |
10 #include "../fxge/fx_dib.h" | 10 #include "../fxge/fx_dib.h" |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 class CPDF_PageContentGenerate | 228 class CPDF_PageContentGenerate |
229 { | 229 { |
230 public: | 230 public: |
231 CPDF_PageContentGenerate(CPDF_Page* pPage); | 231 CPDF_PageContentGenerate(CPDF_Page* pPage); |
232 ~CPDF_PageContentGenerate(); | 232 ~CPDF_PageContentGenerate(); |
233 FX_BOOL InsertPageObject(CPDF_PageObject* pPageObject); | 233 FX_BOOL InsertPageObject(CPDF_PageObject* pPageObject); |
234 void GenerateContent(); | 234 void GenerateContent(); |
235 void TransformContent(CFX_Matrix& matrix); | 235 void TransformContent(CFX_Matrix& matrix); |
236 protected: | 236 protected: |
237 void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageO
bj); | 237 void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageO
bj); |
238 void ProcessForm(CFX_ByteTextBuf& buf, FX_LPCBYTE data, FX_DWORD
size, CFX_Matrix& matrix); | 238 void ProcessForm(CFX_ByteTextBuf& buf, const uint8_t* data, FX_DW
ORD size, CFX_Matrix& matrix); |
239 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, const FX_CHAR* sz
Type); | 239 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, const FX_CHAR* sz
Type); |
240 private: | 240 private: |
241 CPDF_Page* m_pPage; | 241 CPDF_Page* m_pPage; |
242 CPDF_Document* m_pDocument; | 242 CPDF_Document* m_pDocument; |
243 CFX_PtrArray m_pageObjects; | 243 CFX_PtrArray m_pageObjects; |
244 }; | 244 }; |
245 | 245 |
246 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ | 246 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGE_H_ |
OLD | NEW |