Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1118)

Side by Side Diff: core/fpdfapi/edit/cpdf_pagecontentgenerator.h

Issue 2489423002: Make CPDF_PageContentGenerator methods take object numbers (Closed)
Patch Set: Rebase past fix in separate CL Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698