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_FPDFDOC_CPDF_FORMFIELD_H_ | 7 #ifndef CORE_FPDFDOC_CPDF_FORMFIELD_H_ |
8 #define CORE_FPDFDOC_CPDF_FORMFIELD_H_ | 8 #define CORE_FPDFDOC_CPDF_FORMFIELD_H_ |
9 | 9 |
10 #include "core/fpdfdoc/cpdf_aaction.h" | 10 #include "core/fpdfdoc/cpdf_aaction.h" |
11 #include "core/fpdfdoc/cpdf_formfield.h" | 11 #include "core/fpdfdoc/cpdf_formfield.h" |
12 #include "core/fxcrt/include/fx_basic.h" | 12 #include "core/fxcrt/fx_basic.h" |
13 #include "core/fxcrt/include/fx_string.h" | 13 #include "core/fxcrt/fx_string.h" |
14 #include "core/fxcrt/include/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
15 | 15 |
16 #define FIELDTYPE_UNKNOWN 0 | 16 #define FIELDTYPE_UNKNOWN 0 |
17 #define FIELDTYPE_PUSHBUTTON 1 | 17 #define FIELDTYPE_PUSHBUTTON 1 |
18 #define FIELDTYPE_CHECKBOX 2 | 18 #define FIELDTYPE_CHECKBOX 2 |
19 #define FIELDTYPE_RADIOBUTTON 3 | 19 #define FIELDTYPE_RADIOBUTTON 3 |
20 #define FIELDTYPE_COMBOBOX 4 | 20 #define FIELDTYPE_COMBOBOX 4 |
21 #define FIELDTYPE_LISTBOX 5 | 21 #define FIELDTYPE_LISTBOX 5 |
22 #define FIELDTYPE_TEXTFIELD 6 | 22 #define FIELDTYPE_TEXTFIELD 6 |
23 #define FIELDTYPE_SIGNATURE 7 | 23 #define FIELDTYPE_SIGNATURE 7 |
24 | 24 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 CPDF_FormField::Type m_Type; | 159 CPDF_FormField::Type m_Type; |
160 uint32_t m_Flags; | 160 uint32_t m_Flags; |
161 CPDF_InterForm* m_pForm; | 161 CPDF_InterForm* m_pForm; |
162 CPDF_Dictionary* m_pDict; | 162 CPDF_Dictionary* m_pDict; |
163 CFX_ArrayTemplate<CPDF_FormControl*> m_ControlList; | 163 CFX_ArrayTemplate<CPDF_FormControl*> m_ControlList; |
164 FX_FLOAT m_FontSize; | 164 FX_FLOAT m_FontSize; |
165 CPDF_Font* m_pFont; | 165 CPDF_Font* m_pFont; |
166 }; | 166 }; |
167 | 167 |
168 #endif // CORE_FPDFDOC_CPDF_FORMFIELD_H_ | 168 #endif // CORE_FPDFDOC_CPDF_FORMFIELD_H_ |
OLD | NEW |