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

Side by Side Diff: core/fpdfapi/fpdf_page/include/cpdf_form.h

Issue 1918113002: Clean up CPDF_Page. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: more Created 4 years, 8 months 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
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_FPDF_PAGE_INCLUDE_CPDF_FORM_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_
9 9
10 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h" 10 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h"
11 11
12 class CPDF_Document; 12 class CPDF_Document;
13 class CPDF_Dictionary; 13 class CPDF_Dictionary;
14 class CPDF_Stream; 14 class CPDF_Stream;
15 class CPDF_AllStates; 15 class CPDF_AllStates;
16 class CFX_Matrix; 16 class CFX_Matrix;
17 class CPDF_Type3Char; 17 class CPDF_Type3Char;
18 class CPDF_ParseOptions;
19 18
20 class CPDF_Form : public CPDF_PageObjectHolder { 19 class CPDF_Form : public CPDF_PageObjectHolder {
21 public: 20 public:
22 CPDF_Form(CPDF_Document* pDocument, 21 CPDF_Form(CPDF_Document* pDocument,
23 CPDF_Dictionary* pPageResources, 22 CPDF_Dictionary* pPageResources,
24 CPDF_Stream* pFormStream, 23 CPDF_Stream* pFormStream,
25 CPDF_Dictionary* pParentResources = NULL); 24 CPDF_Dictionary* pParentResources = NULL);
26 25
27 ~CPDF_Form(); 26 ~CPDF_Form();
28 27
29 void StartParse(CPDF_AllStates* pGraphicStates, 28 void StartParse(CPDF_AllStates* pGraphicStates,
30 CFX_Matrix* pParentMatrix, 29 CFX_Matrix* pParentMatrix,
31 CPDF_Type3Char* pType3Char, 30 CPDF_Type3Char* pType3Char,
32 CPDF_ParseOptions* pOptions,
33 int level = 0); 31 int level = 0);
34 32
35 void ParseContent(CPDF_AllStates* pGraphicStates, 33 void ParseContent(CPDF_AllStates* pGraphicStates,
36 CFX_Matrix* pParentMatrix, 34 CFX_Matrix* pParentMatrix,
37 CPDF_Type3Char* pType3Char, 35 CPDF_Type3Char* pType3Char,
38 CPDF_ParseOptions* pOptions,
39 int level = 0); 36 int level = 0);
40 37
41 CPDF_Form* Clone() const; 38 CPDF_Form* Clone() const;
42 }; 39 };
43 40
44 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_ 41 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp ('k') | core/fpdfapi/fpdf_page/include/cpdf_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698