OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "core/fpdfdoc/include/fpdf_doc.h" | 13 #include "core/fpdfdoc/include/ipdf_formnotify.h" |
14 #include "core/fxcrt/include/fx_basic.h" | 14 #include "core/fxcrt/include/fx_basic.h" |
15 #include "core/fxge/include/fx_dib.h" | 15 #include "core/fxge/include/fx_dib.h" |
16 #include "fpdfsdk/include/fsdk_baseannot.h" | 16 #include "fpdfsdk/include/fsdk_baseannot.h" |
17 | 17 |
18 #if _FX_OS_ == _FX_ANDROID_ | 18 #if _FX_OS_ == _FX_ANDROID_ |
19 #include "time.h" | 19 #include "time.h" |
20 #else | 20 #else |
21 #include <ctime> | 21 #include <ctime> |
22 #endif | 22 #endif |
23 | 23 |
24 class CPDFSDK_Annot; | 24 class CPDFSDK_Annot; |
25 class CPDFSDK_Document; | 25 class CPDFSDK_Document; |
26 class CPDFSDK_InterForm; | 26 class CPDFSDK_InterForm; |
27 class CPDFSDK_PageView; | 27 class CPDFSDK_PageView; |
28 class CPDF_Action; | 28 class CPDF_Action; |
| 29 class CPDF_FormControl; |
29 class CPDF_FormField; | 30 class CPDF_FormField; |
| 31 class CPDF_InterForm; |
30 struct CPWL_Color; | 32 struct CPWL_Color; |
31 | 33 |
32 #ifdef PDF_ENABLE_XFA | 34 #ifdef PDF_ENABLE_XFA |
33 class CXFA_FFWidgetHandler; | 35 class CXFA_FFWidgetHandler; |
34 | 36 |
35 typedef enum _PDFSDK_XFAAActionType { | 37 typedef enum _PDFSDK_XFAAActionType { |
36 PDFSDK_XFA_Click = 0, | 38 PDFSDK_XFA_Click = 0, |
37 PDFSDK_XFA_Full, | 39 PDFSDK_XFA_Full, |
38 PDFSDK_XFA_PreOpen, | 40 PDFSDK_XFA_PreOpen, |
39 PDFSDK_XFA_PostOpen | 41 PDFSDK_XFA_PostOpen |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 const CPDFSDK_Annot* p2); | 382 const CPDFSDK_Annot* p2); |
381 | 383 |
382 TabOrder m_eTabOrder; | 384 TabOrder m_eTabOrder; |
383 CPDFSDK_PageView* m_pPageView; | 385 CPDFSDK_PageView* m_pPageView; |
384 CFX_ByteString m_sType; | 386 CFX_ByteString m_sType; |
385 CFX_ByteString m_sSubType; | 387 CFX_ByteString m_sSubType; |
386 std::vector<CPDFSDK_Annot*> m_Annots; | 388 std::vector<CPDFSDK_Annot*> m_Annots; |
387 }; | 389 }; |
388 | 390 |
389 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ | 391 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ |
OLD | NEW |