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_FORMFILLER_CFFL_COMBOBOX_H_ | 7 #ifndef FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_ |
8 #define FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_ | 8 #define FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 class CFFL_ComboBox : public CFFL_FormFiller, public IPWL_FocusHandler { | 22 class CFFL_ComboBox : public CFFL_FormFiller, public IPWL_FocusHandler { |
23 public: | 23 public: |
24 CFFL_ComboBox(CPDFSDK_Environment* pApp, CPDFSDK_Annot* pWidget); | 24 CFFL_ComboBox(CPDFSDK_Environment* pApp, CPDFSDK_Annot* pWidget); |
25 ~CFFL_ComboBox() override; | 25 ~CFFL_ComboBox() override; |
26 | 26 |
27 // CFFL_FormFiller: | 27 // CFFL_FormFiller: |
28 PWL_CREATEPARAM GetCreateParam() override; | 28 PWL_CREATEPARAM GetCreateParam() override; |
29 CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, | 29 CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, |
30 CPDFSDK_PageView* pPageView) override; | 30 CPDFSDK_PageView* pPageView) override; |
31 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags) override; | 31 FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, |
| 32 uint32_t nChar, |
| 33 uint32_t nFlags) override; |
32 FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView) override; | 34 FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView) override; |
33 void SaveData(CPDFSDK_PageView* pPageView) override; | 35 void SaveData(CPDFSDK_PageView* pPageView) override; |
34 void GetActionData(CPDFSDK_PageView* pPageView, | 36 void GetActionData(CPDFSDK_PageView* pPageView, |
35 CPDF_AAction::AActionType type, | 37 CPDF_AAction::AActionType type, |
36 PDFSDK_FieldAction& fa) override; | 38 PDFSDK_FieldAction& fa) override; |
37 void SetActionData(CPDFSDK_PageView* pPageView, | 39 void SetActionData(CPDFSDK_PageView* pPageView, |
38 CPDF_AAction::AActionType type, | 40 CPDF_AAction::AActionType type, |
39 const PDFSDK_FieldAction& fa) override; | 41 const PDFSDK_FieldAction& fa) override; |
40 FX_BOOL IsActionDataChanged(CPDF_AAction::AActionType type, | 42 FX_BOOL IsActionDataChanged(CPDF_AAction::AActionType type, |
41 const PDFSDK_FieldAction& faOld, | 43 const PDFSDK_FieldAction& faOld, |
(...skipping 12 matching lines...) Expand all Loading... |
54 #endif // PDF_ENABLE_XFA | 56 #endif // PDF_ENABLE_XFA |
55 | 57 |
56 private: | 58 private: |
57 CFX_WideString GetSelectExportText(); | 59 CFX_WideString GetSelectExportText(); |
58 | 60 |
59 CBA_FontMap* m_pFontMap; | 61 CBA_FontMap* m_pFontMap; |
60 FFL_ComboBoxState m_State; | 62 FFL_ComboBoxState m_State; |
61 }; | 63 }; |
62 | 64 |
63 #endif // FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_ | 65 #endif // FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_ |
OLD | NEW |