| 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 | 26 |
| 26 class PWL_CLASS CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify | 27 class PWL_CLASS CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 FX_BOOL m_bFocus; | 130 FX_BOOL m_bFocus; |
| 130 CPDF_Rect m_rcOldWindow; | 131 CPDF_Rect m_rcOldWindow; |
| 131 public: | 132 public: |
| 132 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} | 133 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} |
| 133 private: | 134 private: |
| 134 void* m_pFormFiller; | 135 void* m_pFormFiller; |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 #endif | 138 #endif |
| 138 | 139 |
| OLD | NEW |