| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_ | |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_ | |
| 9 | |
| 10 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h" | |
| 11 | |
| 12 class CPDF_Document; | |
| 13 class CPDF_Dictionary; | |
| 14 class CPDF_Stream; | |
| 15 class CPDF_AllStates; | |
| 16 class CFX_Matrix; | |
| 17 class CPDF_Type3Char; | |
| 18 | |
| 19 class CPDF_Form : public CPDF_PageObjectHolder { | |
| 20 public: | |
| 21 CPDF_Form(CPDF_Document* pDocument, | |
| 22 CPDF_Dictionary* pPageResources, | |
| 23 CPDF_Stream* pFormStream, | |
| 24 CPDF_Dictionary* pParentResources = nullptr); | |
| 25 ~CPDF_Form() override; | |
| 26 | |
| 27 void ParseContent(CPDF_AllStates* pGraphicStates, | |
| 28 const CFX_Matrix* pParentMatrix, | |
| 29 CPDF_Type3Char* pType3Char, | |
| 30 int level = 0); | |
| 31 | |
| 32 CPDF_Form* Clone() const; | |
| 33 | |
| 34 private: | |
| 35 void StartParse(CPDF_AllStates* pGraphicStates, | |
| 36 const CFX_Matrix* pParentMatrix, | |
| 37 CPDF_Type3Char* pType3Char, | |
| 38 int level = 0); | |
| 39 }; | |
| 40 | |
| 41 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_ | |
| OLD | NEW |