| 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_IFWL_EDIT_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ |
| 8 #define XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ | 8 #define XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 FX_BOOL Delete(); | 156 FX_BOOL Delete(); |
| 157 FX_BOOL Redo(const CFX_ByteStringC& bsRecord); | 157 FX_BOOL Redo(const CFX_ByteStringC& bsRecord); |
| 158 FX_BOOL Undo(const CFX_ByteStringC& bsRecord); | 158 FX_BOOL Undo(const CFX_ByteStringC& bsRecord); |
| 159 FX_BOOL Undo(); | 159 FX_BOOL Undo(); |
| 160 FX_BOOL Redo(); | 160 FX_BOOL Redo(); |
| 161 FX_BOOL CanUndo(); | 161 FX_BOOL CanUndo(); |
| 162 FX_BOOL CanRedo(); | 162 FX_BOOL CanRedo(); |
| 163 FWL_ERR SetTabWidth(FX_FLOAT fTabWidth, FX_BOOL bEquidistant); | 163 FWL_ERR SetTabWidth(FX_FLOAT fTabWidth, FX_BOOL bEquidistant); |
| 164 FWL_ERR SetOuter(IFWL_Widget* pOuter); | 164 FWL_ERR SetOuter(IFWL_Widget* pOuter); |
| 165 FWL_ERR SetNumberRange(int32_t iMin, int32_t iMax); | 165 FWL_ERR SetNumberRange(int32_t iMin, int32_t iMax); |
| 166 FWL_ERR SetBackColor(FX_DWORD dwColor); | 166 FWL_ERR SetBackColor(uint32_t dwColor); |
| 167 FWL_ERR SetFont(const CFX_WideString& wsFont, FX_FLOAT fSize); | 167 FWL_ERR SetFont(const CFX_WideString& wsFont, FX_FLOAT fSize); |
| 168 void SetScrollOffset(FX_FLOAT fScrollOffset); | 168 void SetScrollOffset(FX_FLOAT fScrollOffset); |
| 169 FX_BOOL GetSuggestWords(CFX_PointF pointf, | 169 FX_BOOL GetSuggestWords(CFX_PointF pointf, |
| 170 std::vector<CFX_ByteString>& sSuggest); | 170 std::vector<CFX_ByteString>& sSuggest); |
| 171 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, | 171 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, |
| 172 const CFX_ByteStringC& bsReplace); | 172 const CFX_ByteStringC& bsReplace); |
| 173 | 173 |
| 174 protected: | 174 protected: |
| 175 IFWL_Edit(); | 175 IFWL_Edit(); |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 #endif // XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ | 178 #endif // XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ |
| OLD | NEW |