| 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_PDFWINDOW_PWL_EDITCTRL_H_ | 7 #ifndef FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ |
| 8 #define FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ | 8 #define FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 FX_FLOAT fContentMin, | 131 FX_FLOAT fContentMin, |
| 132 FX_FLOAT fContentMax, | 132 FX_FLOAT fContentMax, |
| 133 FX_FLOAT fSmallStep, | 133 FX_FLOAT fSmallStep, |
| 134 FX_FLOAT fBigStep) override; | 134 FX_FLOAT fBigStep) override; |
| 135 void IOnSetScrollPosX(FX_FLOAT fx) override {} | 135 void IOnSetScrollPosX(FX_FLOAT fx) override {} |
| 136 void IOnSetScrollPosY(FX_FLOAT fy) override; | 136 void IOnSetScrollPosY(FX_FLOAT fy) override; |
| 137 void IOnSetCaret(FX_BOOL bVisible, | 137 void IOnSetCaret(FX_BOOL bVisible, |
| 138 const CFX_FloatPoint& ptHead, | 138 const CFX_FloatPoint& ptHead, |
| 139 const CFX_FloatPoint& ptFoot, | 139 const CFX_FloatPoint& ptFoot, |
| 140 const CPVT_WordPlace& place) override; | 140 const CPVT_WordPlace& place) override; |
| 141 void IOnCaretChange(const CPVT_SecProps& secProps, | |
| 142 const CPVT_WordProps& wordProps) override; | |
| 143 void IOnContentChange(const CFX_FloatRect& rcContent) override; | 141 void IOnContentChange(const CFX_FloatRect& rcContent) override; |
| 144 void IOnInvalidateRect(CFX_FloatRect* pRect) override; | 142 void IOnInvalidateRect(CFX_FloatRect* pRect) override; |
| 145 | 143 |
| 146 void InsertText(const FX_WCHAR* csText); | 144 void InsertText(const FX_WCHAR* csText); |
| 147 void SetText(const FX_WCHAR* csText); | 145 void SetText(const FX_WCHAR* csText); |
| 148 void CopyText(); | 146 void CopyText(); |
| 149 void PasteText(); | 147 void PasteText(); |
| 150 void CutText(); | 148 void CutText(); |
| 151 void ShowVScrollBar(FX_BOOL bShow); | 149 void ShowVScrollBar(FX_BOOL bShow); |
| 152 void InsertWord(uint16_t word, int32_t nCharset); | 150 void InsertWord(uint16_t word, int32_t nCharset); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 172 CPWL_Caret* m_pEditCaret; | 170 CPWL_Caret* m_pEditCaret; |
| 173 FX_BOOL m_bMouseDown; | 171 FX_BOOL m_bMouseDown; |
| 174 IPWL_Edit_Notify* m_pEditNotify; | 172 IPWL_Edit_Notify* m_pEditNotify; |
| 175 | 173 |
| 176 private: | 174 private: |
| 177 int32_t m_nCharSet; | 175 int32_t m_nCharSet; |
| 178 int32_t m_nCodePage; | 176 int32_t m_nCodePage; |
| 179 }; | 177 }; |
| 180 | 178 |
| 181 #endif // FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ | 179 #endif // FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ |
| OLD | NEW |