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 #include "core/fpdfapi/page/cpdf_form.h" | 7 #include "core/fpdfapi/page/cpdf_form.h" |
8 | 8 |
| 9 #include "core/fpdfapi/page/cpdf_contentparser.h" |
9 #include "core/fpdfapi/page/cpdf_pageobject.h" | 10 #include "core/fpdfapi/page/cpdf_pageobject.h" |
10 #include "core/fpdfapi/page/cpdf_pageobjectholder.h" | 11 #include "core/fpdfapi/page/cpdf_pageobjectholder.h" |
11 #include "core/fpdfapi/page/pageint.h" | 12 #include "core/fpdfapi/page/pageint.h" |
12 #include "core/fpdfapi/parser/cpdf_dictionary.h" | 13 #include "core/fpdfapi/parser/cpdf_dictionary.h" |
13 #include "core/fpdfapi/parser/cpdf_stream.h" | 14 #include "core/fpdfapi/parser/cpdf_stream.h" |
14 | 15 |
15 CPDF_Form::CPDF_Form(CPDF_Document* pDoc, | 16 CPDF_Form::CPDF_Form(CPDF_Document* pDoc, |
16 CPDF_Dictionary* pPageResources, | 17 CPDF_Dictionary* pPageResources, |
17 CPDF_Stream* pFormStream, | 18 CPDF_Stream* pFormStream, |
18 CPDF_Dictionary* pParentResources) { | 19 CPDF_Dictionary* pParentResources) { |
(...skipping 24 matching lines...) Expand all Loading... |
43 m_ParseState = CONTENT_PARSING; | 44 m_ParseState = CONTENT_PARSING; |
44 } | 45 } |
45 | 46 |
46 void CPDF_Form::ParseContent(CPDF_AllStates* pGraphicStates, | 47 void CPDF_Form::ParseContent(CPDF_AllStates* pGraphicStates, |
47 const CFX_Matrix* pParentMatrix, | 48 const CFX_Matrix* pParentMatrix, |
48 CPDF_Type3Char* pType3Char, | 49 CPDF_Type3Char* pType3Char, |
49 int level) { | 50 int level) { |
50 StartParse(pGraphicStates, pParentMatrix, pType3Char, level); | 51 StartParse(pGraphicStates, pParentMatrix, pType3Char, level); |
51 ContinueParse(nullptr); | 52 ContinueParse(nullptr); |
52 } | 53 } |
OLD | NEW |