| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_ | 7 #ifndef CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_ |
| 8 #define CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_ | 8 #define CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 void InsertPageObject(CPDF_PageObject* pPageObject); | 27 void InsertPageObject(CPDF_PageObject* pPageObject); |
| 28 void GenerateContent(); | 28 void GenerateContent(); |
| 29 void TransformContent(CFX_Matrix& matrix); | 29 void TransformContent(CFX_Matrix& matrix); |
| 30 | 30 |
| 31 private: | 31 private: |
| 32 void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageObj); | 32 void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageObj); |
| 33 void ProcessForm(CFX_ByteTextBuf& buf, | 33 void ProcessForm(CFX_ByteTextBuf& buf, |
| 34 const uint8_t* data, | 34 const uint8_t* data, |
| 35 uint32_t size, | 35 uint32_t size, |
| 36 CFX_Matrix& matrix); | 36 CFX_Matrix& matrix); |
| 37 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, | 37 CFX_ByteString RealizeResource(uint32_t dwResourceObjNum, |
| 38 const CFX_ByteString& bsType); | 38 const CFX_ByteString& bsType); |
| 39 | 39 |
| 40 CPDF_Page* m_pPage; | 40 CPDF_Page* m_pPage; |
| 41 CPDF_Document* m_pDocument; | 41 CPDF_Document* m_pDocument; |
| 42 std::vector<CPDF_PageObject*> m_pageObjects; | 42 std::vector<CPDF_PageObject*> m_pageObjects; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 #endif // CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_ | 45 #endif // CORE_FPDFAPI_EDIT_CPDF_PAGECONTENTGENERATOR_H_ |
| OLD | NEW |