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_FORMFILLER_FFL_COMBOBOX_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_string.h" | 10 #include "core/include/fxcrt/fx_string.h" |
11 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" | 11 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" |
12 | 12 |
13 class CBA_FontMap; | 13 class CBA_FontMap; |
14 class CPDFSDK_Document; | |
15 | 14 |
16 struct FFL_ComboBoxState { | 15 struct FFL_ComboBoxState { |
17 int nIndex; | 16 int nIndex; |
18 int nStart; | 17 int nStart; |
19 int nEnd; | 18 int nEnd; |
20 CFX_WideString sValue; | 19 CFX_WideString sValue; |
21 }; | 20 }; |
22 | 21 |
23 class CFFL_ComboBox : public CFFL_FormFiller, | 22 class CFFL_ComboBox : public CFFL_FormFiller, |
24 public IPWL_FocusHandler, | 23 public IPWL_FocusHandler, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 #endif // PDF_ENABLE_XFA | 60 #endif // PDF_ENABLE_XFA |
62 | 61 |
63 private: | 62 private: |
64 CFX_WideString GetSelectExportText(); | 63 CFX_WideString GetSelectExportText(); |
65 | 64 |
66 CBA_FontMap* m_pFontMap; | 65 CBA_FontMap* m_pFontMap; |
67 FFL_ComboBoxState m_State; | 66 FFL_ComboBoxState m_State; |
68 }; | 67 }; |
69 | 68 |
70 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ | 69 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
OLD | NEW |