| 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_TEXTFIELD_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
| 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
| 9 | 9 |
| 10 #include "FFL_FormFiller.h" | 10 #include "FFL_FormFiller.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 CBA_FontMap* m_pFontMap; | 70 CBA_FontMap* m_pFontMap; |
| 75 FFL_TextFieldState m_State; | 71 FFL_TextFieldState m_State; |
| 76 }; | 72 }; |
| 77 | 73 |
| 78 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ | 74 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_TEXTFIELD_H_ |
| OLD | NEW |