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 class CPDF_ParseOptions; |
| 19 |
| 20 class CPDF_Form : public CPDF_PageObjectHolder { |
| 21 public: |
| 22 CPDF_Form(CPDF_Document* pDocument, |
| 23 CPDF_Dictionary* pPageResources, |
| 24 CPDF_Stream* pFormStream, |
| 25 CPDF_Dictionary* pParentResources = NULL); |
| 26 |
| 27 ~CPDF_Form(); |
| 28 |
| 29 void StartParse(CPDF_AllStates* pGraphicStates, |
| 30 CFX_Matrix* pParentMatrix, |
| 31 CPDF_Type3Char* pType3Char, |
| 32 CPDF_ParseOptions* pOptions, |
| 33 int level = 0); |
| 34 |
| 35 void ParseContent(CPDF_AllStates* pGraphicStates, |
| 36 CFX_Matrix* pParentMatrix, |
| 37 CPDF_Type3Char* pType3Char, |
| 38 CPDF_ParseOptions* pOptions, |
| 39 int level = 0); |
| 40 |
| 41 CPDF_Form* Clone() const; |
| 42 }; |
| 43 |
| 44 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_FORM_H_ |
OLD | NEW |