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" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual void OnKillFocus(CPWL_Wnd* pWnd); | 59 virtual void OnKillFocus(CPWL_Wnd* pWnd); |
60 | 60 |
61 public: | 61 public: |
62 virtual void OnAddUndo(CPWL_Edit* pEdit); | 62 virtual void OnAddUndo(CPWL_Edit* pEdit); |
63 | 63 |
64 public: | 64 public: |
65 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocument); | 65 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocument); |
66 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocument); | 66 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocument); |
67 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocument); | 67 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocument); |
68 | 68 |
69 virtual void DoCopy(CPDFSDK_Document* pDocument); | |
70 virtual void DoCut(CPDFSDK_Document* pDocument); | |
71 virtual void DoPaste(CPDFSDK_Document* pDocument); | |
72 | |
73 private: | 69 private: |
74 CFX_WideString GetSelectExportText(); | 70 CFX_WideString GetSelectExportText(); |
75 | 71 |
76 private: | 72 private: |
77 CBA_FontMap* m_pFontMap; | 73 CBA_FontMap* m_pFontMap; |
78 FFL_ComboBoxState m_State; | 74 FFL_ComboBoxState m_State; |
79 }; | 75 }; |
80 | 76 |
81 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ | 77 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
OLD | NEW |