| 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 XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
| 8 #define XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 virtual int32_t GetSelRange(int32_t nIndex, int32_t& nStart); | 56 virtual int32_t GetSelRange(int32_t nIndex, int32_t& nStart); |
| 57 virtual FWL_Error ClearSelections(); | 57 virtual FWL_Error ClearSelections(); |
| 58 virtual int32_t GetLimit(); | 58 virtual int32_t GetLimit(); |
| 59 virtual FWL_Error SetLimit(int32_t nLimit); | 59 virtual FWL_Error SetLimit(int32_t nLimit); |
| 60 virtual FWL_Error SetAliasChar(FX_WCHAR wAlias); | 60 virtual FWL_Error SetAliasChar(FX_WCHAR wAlias); |
| 61 virtual FWL_Error Insert(int32_t nStart, | 61 virtual FWL_Error Insert(int32_t nStart, |
| 62 const FX_WCHAR* lpText, | 62 const FX_WCHAR* lpText, |
| 63 int32_t nLen); | 63 int32_t nLen); |
| 64 virtual FWL_Error DeleteSelections(); | 64 virtual FWL_Error DeleteSelections(); |
| 65 virtual FWL_Error DeleteRange(int32_t nStart, int32_t nCount = -1); | 65 virtual FWL_Error DeleteRange(int32_t nStart, int32_t nCount = -1); |
| 66 virtual FWL_Error ReplaceSelections(const CFX_WideStringC& wsReplace); | |
| 67 virtual FWL_Error Replace(int32_t nStart, | 66 virtual FWL_Error Replace(int32_t nStart, |
| 68 int32_t nLen, | 67 int32_t nLen, |
| 69 const CFX_WideStringC& wsReplace); | 68 const CFX_WideStringC& wsReplace); |
| 70 virtual FWL_Error DoClipboard(int32_t iCmd); | 69 virtual FWL_Error DoClipboard(int32_t iCmd); |
| 71 virtual FX_BOOL Copy(CFX_WideString& wsCopy); | 70 virtual FX_BOOL Copy(CFX_WideString& wsCopy); |
| 72 virtual FX_BOOL Cut(CFX_WideString& wsCut); | 71 virtual FX_BOOL Cut(CFX_WideString& wsCut); |
| 73 virtual FX_BOOL Paste(const CFX_WideString& wsPaste); | 72 virtual FX_BOOL Paste(const CFX_WideString& wsPaste); |
| 74 virtual FX_BOOL Delete(); | 73 virtual FX_BOOL Delete(); |
| 75 virtual FX_BOOL Redo(const CFX_ByteStringC& bsRecord); | 74 virtual FX_BOOL Redo(const CFX_ByteStringC& bsRecord); |
| 76 virtual FX_BOOL Undo(const CFX_ByteStringC& bsRecord); | 75 virtual FX_BOOL Undo(const CFX_ByteStringC& bsRecord); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 void OnButtonDblClk(CFWL_MsgMouse* pMsg); | 190 void OnButtonDblClk(CFWL_MsgMouse* pMsg); |
| 192 void OnMouseMove(CFWL_MsgMouse* pMsg); | 191 void OnMouseMove(CFWL_MsgMouse* pMsg); |
| 193 void OnKeyDown(CFWL_MsgKey* pMsg); | 192 void OnKeyDown(CFWL_MsgKey* pMsg); |
| 194 void OnChar(CFWL_MsgKey* pMsg); | 193 void OnChar(CFWL_MsgKey* pMsg); |
| 195 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos); | 194 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos); |
| 196 void DoCursor(CFWL_MsgMouse* pMsg); | 195 void DoCursor(CFWL_MsgMouse* pMsg); |
| 197 CFWL_EditImp* m_pOwner; | 196 CFWL_EditImp* m_pOwner; |
| 198 }; | 197 }; |
| 199 | 198 |
| 200 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 199 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
| OLD | NEW |