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 _PWL_EDIT_H_ | 7 #ifndef _PWL_EDIT_H_ |
8 #define _PWL_EDIT_H_ | 8 #define _PWL_EDIT_H_ |
9 | 9 |
10 class IPWL_Filler_Notify; | 10 class IPWL_Filler_Notify; |
11 class CPWL_Edit; | 11 class CPWL_Edit; |
12 class IPWL_SpellCheck; | 12 class IPWL_SpellCheck; |
13 | 13 |
14 class IPWL_Filler_Notify | 14 class IPWL_Filler_Notify |
15 { | 15 { |
16 public: | 16 public: |
| 17 virtual ~IPWL_Filler_Notify() { } |
17 virtual void QueryWherePopup(void* pP
rivateData, FX_FLOAT fPopupMin,FX_FLOAT fPopupMax, | 18 virtual void QueryWherePopup(void* pP
rivateData, FX_FLOAT fPopupMin,FX_FLOAT fPopupMax, |
18
FX_INT32 & nRet, FX_FLOAT & fPopupRet) = 0; //nRet: (0:bottom 1:top) | 19
FX_INT32 & nRet, FX_FLOAT & fPopupRet) = 0; //nRet: (0:bottom 1:top) |
19 virtual void OnBeforeKeyStroke(FX_BOO
L bEditOrList, void* pPrivateData, FX_INT32 nKeyCode, | 20 virtual void OnBeforeKeyStroke(FX_BOO
L bEditOrList, void* pPrivateData, FX_INT32 nKeyCode, |
20
CFX_WideString & strChange, const CFX_WideString& strChangeEx, | 21
CFX_WideString & strChange, const CFX_WideString& strChangeEx, |
21
int nSelStart, int nSelEnd, | 22
int nSelStart, int nSelEnd, |
22
FX_BOOL bKeyDown, FX_BOOL & bRC, FX_BOOL & bExit, FX_DWORD nFlag) = 0; | 23
FX_BOOL bKeyDown, FX_BOOL & bRC, FX_BOOL & bExit, FX_DWORD nFlag) = 0; |
23 virtual void OnAfterKeyStroke(FX_BOOL
bEditOrList, void* pPrivateData, FX_BOOL & bExit, FX_DWORD nFlag) = 0; | 24 virtual void OnAfterKeyStroke(FX_BOOL
bEditOrList, void* pPrivateData, FX_BOOL & bExit, FX_DWORD nFlag) = 0; |
24 | 25 |
25 virtual void OnPopupPreOpen(void* pPr
ivateData, FX_BOOL& bExit, FX_DWORD nFlag) = 0; | 26 virtual void OnPopupPreOpen(void* pPr
ivateData, FX_BOOL& bExit, FX_DWORD nFlag) = 0; |
26 virtual void OnPopupPostOpen(void* pP
rivateData, FX_BOOL& bExit, FX_DWORD nFlag) = 0; | 27 virtual void OnPopupPostOpen(void* pP
rivateData, FX_BOOL& bExit, FX_DWORD nFlag) = 0; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 FX_BOOL m_bFocus; | 133 FX_BOOL m_bFocus; |
133 CPDF_Rect m_rcOldWindow; | 134 CPDF_Rect m_rcOldWindow; |
134 public: | 135 public: |
135 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} | 136 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} |
136 private: | 137 private: |
137 void* m_pFormFiller; | 138 void* m_pFormFiller; |
138 }; | 139 }; |
139 | 140 |
140 #endif | 141 #endif |
141 | 142 |
OLD | NEW |