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_INCLUDE_CPDF_FORMCONTROL_H_ | 7 #ifndef CORE_FPDFDOC_CPDF_FORMCONTROL_H_ |
8 #define CORE_FPDFDOC_INCLUDE_CPDF_FORMCONTROL_H_ | 8 #define CORE_FPDFDOC_CPDF_FORMCONTROL_H_ |
9 | 9 |
| 10 #include "core/fpdfdoc/cpdf_aaction.h" |
| 11 #include "core/fpdfdoc/cpdf_action.h" |
| 12 #include "core/fpdfdoc/cpdf_annot.h" |
| 13 #include "core/fpdfdoc/cpdf_annotlist.h" |
10 #include "core/fpdfdoc/cpdf_apsettings.h" | 14 #include "core/fpdfdoc/cpdf_apsettings.h" |
11 #include "core/fpdfdoc/include/cpdf_aaction.h" | 15 #include "core/fpdfdoc/cpdf_defaultappearance.h" |
12 #include "core/fpdfdoc/include/cpdf_action.h" | 16 #include "core/fpdfdoc/cpdf_formfield.h" |
13 #include "core/fpdfdoc/include/cpdf_annot.h" | 17 #include "core/fpdfdoc/cpdf_iconfit.h" |
14 #include "core/fpdfdoc/include/cpdf_annotlist.h" | 18 #include "core/fpdfdoc/ipdf_formnotify.h" |
15 #include "core/fpdfdoc/include/cpdf_defaultappearance.h" | |
16 #include "core/fpdfdoc/include/cpdf_formfield.h" | |
17 #include "core/fpdfdoc/include/cpdf_iconfit.h" | |
18 #include "core/fpdfdoc/include/ipdf_formnotify.h" | |
19 #include "core/fxcrt/include/fx_coordinates.h" | 19 #include "core/fxcrt/include/fx_coordinates.h" |
20 #include "core/fxcrt/include/fx_string.h" | 20 #include "core/fxcrt/include/fx_string.h" |
21 #include "core/fxge/include/fx_dib.h" | 21 #include "core/fxge/include/fx_dib.h" |
22 | 22 |
23 #define TEXTPOS_CAPTION 0 | 23 #define TEXTPOS_CAPTION 0 |
24 #define TEXTPOS_ICON 1 | 24 #define TEXTPOS_ICON 1 |
25 #define TEXTPOS_BELOW 2 | 25 #define TEXTPOS_BELOW 2 |
26 #define TEXTPOS_ABOVE 3 | 26 #define TEXTPOS_ABOVE 3 |
27 #define TEXTPOS_RIGHT 4 | 27 #define TEXTPOS_RIGHT 4 |
28 #define TEXTPOS_LEFT 5 | 28 #define TEXTPOS_LEFT 5 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 CFX_WideString GetCaption(const CFX_ByteString& csEntry); | 125 CFX_WideString GetCaption(const CFX_ByteString& csEntry); |
126 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry); | 126 CPDF_Stream* GetIcon(const CFX_ByteString& csEntry); |
127 CPDF_ApSettings GetMK() const; | 127 CPDF_ApSettings GetMK() const; |
128 | 128 |
129 CPDF_FormField* const m_pField; | 129 CPDF_FormField* const m_pField; |
130 CPDF_Dictionary* const m_pWidgetDict; | 130 CPDF_Dictionary* const m_pWidgetDict; |
131 CPDF_InterForm* const m_pForm; | 131 CPDF_InterForm* const m_pForm; |
132 }; | 132 }; |
133 | 133 |
134 #endif // CORE_FPDFDOC_INCLUDE_CPDF_FORMCONTROL_H_ | 134 #endif // CORE_FPDFDOC_CPDF_FORMCONTROL_H_ |
OLD | NEW |