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_PAGE_CPDF_FORM_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_FORM_H_ |
8 #define CORE_FPDFAPI_PAGE_CPDF_FORM_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_FORM_H_ |
9 | 9 |
10 #include "core/fpdfapi/page/cpdf_pageobjectholder.h" | 10 #include "core/fpdfapi/page/cpdf_pageobjectholder.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 CPDF_Dictionary* pPageResources, | 22 CPDF_Dictionary* pPageResources, |
23 CPDF_Stream* pFormStream, | 23 CPDF_Stream* pFormStream, |
24 CPDF_Dictionary* pParentResources = nullptr); | 24 CPDF_Dictionary* pParentResources = nullptr); |
25 ~CPDF_Form() override; | 25 ~CPDF_Form() override; |
26 | 26 |
27 void ParseContent(CPDF_AllStates* pGraphicStates, | 27 void ParseContent(CPDF_AllStates* pGraphicStates, |
28 const CFX_Matrix* pParentMatrix, | 28 const CFX_Matrix* pParentMatrix, |
29 CPDF_Type3Char* pType3Char, | 29 CPDF_Type3Char* pType3Char, |
30 int level = 0); | 30 int level = 0); |
31 | 31 |
32 CPDF_Form* Clone() const; | |
33 | |
34 private: | 32 private: |
35 void StartParse(CPDF_AllStates* pGraphicStates, | 33 void StartParse(CPDF_AllStates* pGraphicStates, |
36 const CFX_Matrix* pParentMatrix, | 34 const CFX_Matrix* pParentMatrix, |
37 CPDF_Type3Char* pType3Char, | 35 CPDF_Type3Char* pType3Char, |
38 int level = 0); | 36 int level = 0); |
39 }; | 37 }; |
40 | 38 |
41 #endif // CORE_FPDFAPI_PAGE_CPDF_FORM_H_ | 39 #endif // CORE_FPDFAPI_PAGE_CPDF_FORM_H_ |
OLD | NEW |