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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual void OnKillFocus(CPWL_Wnd* pWnd); | 50 virtual void OnKillFocus(CPWL_Wnd* pWnd); |
51 | 51 |
52 public: | 52 public: |
53 virtual void OnAddUndo(CPWL_Edit* pEdit); | 53 virtual void OnAddUndo(CPWL_Edit* pEdit); |
54 | 54 |
55 public: | 55 public: |
56 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocum
ent); | 56 virtual FX_BOOL CanCopy(CPDFSDK_Document* pDocum
ent); |
57 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocume
nt); | 57 virtual FX_BOOL CanCut(CPDFSDK_Document* pDocume
nt); |
58 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocu
ment); | 58 virtual FX_BOOL CanPaste(CPDFSDK_Document* pDocu
ment); |
59 | 59 |
60 virtual void DoCopy(CPDFSDK_Document* pDocume
nt); | |
61 virtual void DoCut(CPDFSDK_Document* pDocumen
t); | |
62 virtual void DoPaste(CPDFSDK_Document* pDocum
ent); | |
63 | |
64 private: | 60 private: |
65 CFX_WideString GetSelectExportText(); | 61 CFX_WideString GetSelectExportText(); |
66 | 62 |
67 private: | 63 private: |
68 CBA_FontMap* m_pFontMap; | 64 CBA_FontMap* m_pFontMap; |
69 FFL_ComboBoxState m_State; | 65 FFL_ComboBoxState m_State; |
70 }; | 66 }; |
71 | 67 |
72 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ | 68 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_COMBOBOX_H_ |
OLD | NEW |