| 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" | |
| 11 #include "FFL_FormFiller.h" | 10 #include "FFL_FormFiller.h" |
| 11 #include "core/include/fxcrt/fx_string.h" |
| 12 | 12 |
| 13 class CBA_FontMap; | 13 class CBA_FontMap; |
| 14 class CPDFSDK_Document; | 14 class CPDFSDK_Document; |
| 15 | 15 |
| 16 struct FFL_ComboBoxState { | 16 struct FFL_ComboBoxState { |
| 17 int nIndex; | 17 int nIndex; |
| 18 int nStart; | 18 int nStart; |
| 19 int nEnd; | 19 int nEnd; |
| 20 CFX_WideString sValue; | 20 CFX_WideString sValue; |
| 21 }; | 21 }; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 void OnAddUndo(CPWL_Edit* pEdit) override; | 56 void OnAddUndo(CPWL_Edit* pEdit) override; |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 CFX_WideString GetSelectExportText(); | 59 CFX_WideString GetSelectExportText(); |
| 60 | 60 |
| 61 CBA_FontMap* m_pFontMap; | 61 CBA_FontMap* m_pFontMap; |
| 62 FFL_ComboBoxState m_State; | 62 FFL_ComboBoxState m_State; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ | 65 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
| OLD | NEW |