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 _FFL_COMBOBOX_H_ | 7 #ifndef _FFL_COMBOBOX_H_ |
8 #define _FFL_COMBOBOX_H_ | 8 #define _FFL_COMBOBOX_H_ |
| 9 |
| 10 #include "../../../core/include/fxcrt/fx_string.h" |
| 11 #include "FFL_FormFiller.h" |
| 12 |
| 13 class CBA_FontMap; |
| 14 class CPDFSDK_Document; |
9 | 15 |
10 struct FFL_ComboBoxState | 16 struct FFL_ComboBoxState |
11 { | 17 { |
12 int nIndex; | 18 int nIndex; |
13 int nStart; | 19 int nStart; |
14 int nEnd; | 20 int nEnd; |
15 CFX_WideString sValue; | 21 CFX_WideString sValue; |
16 }; | 22 }; |
17 class CBA_FontMap; | |
18 | 23 |
19 class CFFL_ComboBox : public CFFL_FormFiller, public IPWL_FocusHandler, public I
PWL_Edit_Notify | 24 class CFFL_ComboBox : public CFFL_FormFiller, public IPWL_FocusHandler, public I
PWL_Edit_Notify |
20 { | 25 { |
21 public: | 26 public: |
22 CFFL_ComboBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget); | 27 CFFL_ComboBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget); |
23 virtual ~CFFL_ComboBox(); | 28 virtual ~CFFL_ComboBox(); |
24 | 29 |
25 virtual PWL_CREATEPARAM GetCreateParam(); | 30 virtual PWL_CREATEPARAM GetCreateParam(); |
26 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPAR
AM& cp, CPDFSDK_PageView* pPageView); | 31 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPAR
AM& cp, CPDFSDK_PageView* pPageView); |
27 | 32 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 CFX_WideString GetSelectExportText(); | 65 CFX_WideString GetSelectExportText(); |
61 | 66 |
62 private: | 67 private: |
63 CBA_FontMap* m_pFontMap; | 68 CBA_FontMap* m_pFontMap; |
64 FFL_ComboBoxState m_State; | 69 FFL_ComboBoxState m_State; |
65 //CFFL_IM_BOX m_IMBox; | 70 //CFFL_IM_BOX m_IMBox; |
66 }; | 71 }; |
67 | 72 |
68 #endif //_FFL_COMBOBOX_H_ | 73 #endif //_FFL_COMBOBOX_H_ |
69 | 74 |
OLD | NEW |