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