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/include/fxcrt/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
11 #include "fpdfsdk/formfiller/cffl_formfiller.h" | 11 #include "fpdfsdk/formfiller/cffl_formfiller.h" |
12 | 12 |
13 class CBA_FontMap; | 13 class CBA_FontMap; |
14 | 14 |
15 struct FFL_ComboBoxState { | 15 struct FFL_ComboBoxState { |
16 int nIndex; | 16 int nIndex; |
17 int nStart; | 17 int nStart; |
18 int nEnd; | 18 int nEnd; |
19 CFX_WideString sValue; | 19 CFX_WideString sValue; |
20 }; | 20 }; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 #endif // PDF_ENABLE_XFA | 60 #endif // PDF_ENABLE_XFA |
61 | 61 |
62 private: | 62 private: |
63 CFX_WideString GetSelectExportText(); | 63 CFX_WideString GetSelectExportText(); |
64 | 64 |
65 CBA_FontMap* m_pFontMap; | 65 CBA_FontMap* m_pFontMap; |
66 FFL_ComboBoxState m_State; | 66 FFL_ComboBoxState m_State; |
67 }; | 67 }; |
68 | 68 |
69 #endif // FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_ | 69 #endif // FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_ |
OLD | NEW |