Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Side by Side Diff: xfa/include/fwl/lightwidget/edit.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/include/fwl/lightwidget/datetimepicker.h ('k') | xfa/include/fwl/lightwidget/listbox.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_ 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_ 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 FWL_ERR DeleteRange(int32_t nStart, int32_t nCount = -1); 38 FWL_ERR DeleteRange(int32_t nStart, int32_t nCount = -1);
39 FWL_ERR ReplaceSelections(const CFX_WideStringC& wsReplace); 39 FWL_ERR ReplaceSelections(const CFX_WideStringC& wsReplace);
40 FWL_ERR Replace(int32_t nStart, 40 FWL_ERR Replace(int32_t nStart,
41 int32_t nLen, 41 int32_t nLen,
42 const CFX_WideStringC& wsReplace); 42 const CFX_WideStringC& wsReplace);
43 FWL_ERR DoClipboard(int32_t iCmd); 43 FWL_ERR DoClipboard(int32_t iCmd);
44 FX_BOOL Redo(const CFX_ByteStringC& bsRecord); 44 FX_BOOL Redo(const CFX_ByteStringC& bsRecord);
45 FX_BOOL Undo(const CFX_ByteStringC& bsRecord); 45 FX_BOOL Undo(const CFX_ByteStringC& bsRecord);
46 FWL_ERR SetTabWidth(FX_FLOAT fTabWidth, FX_BOOL bEquidistant); 46 FWL_ERR SetTabWidth(FX_FLOAT fTabWidth, FX_BOOL bEquidistant);
47 FWL_ERR SetNumberRange(int32_t iMin, int32_t iMax); 47 FWL_ERR SetNumberRange(int32_t iMin, int32_t iMax);
48 FWL_ERR SetBackColor(FX_DWORD dwColor); 48 FWL_ERR SetBackColor(uint32_t dwColor);
49 FWL_ERR SetFont(const CFX_WideString& wsFont, FX_FLOAT fSize); 49 FWL_ERR SetFont(const CFX_WideString& wsFont, FX_FLOAT fSize);
50 FX_BOOL CanUndo(); 50 FX_BOOL CanUndo();
51 FX_BOOL CanRedo(); 51 FX_BOOL CanRedo();
52 FX_BOOL Undo(); 52 FX_BOOL Undo();
53 FX_BOOL Redo(); 53 FX_BOOL Redo();
54 FX_BOOL Copy(CFX_WideString& wsCopy); 54 FX_BOOL Copy(CFX_WideString& wsCopy);
55 FX_BOOL Cut(CFX_WideString& wsCut); 55 FX_BOOL Cut(CFX_WideString& wsCut);
56 FX_BOOL Paste(const CFX_WideString& wsPaste); 56 FX_BOOL Paste(const CFX_WideString& wsPaste);
57 FX_BOOL Delete(); 57 FX_BOOL Delete();
58 void SetScrollOffset(FX_FLOAT fScrollOffset); 58 void SetScrollOffset(FX_FLOAT fScrollOffset);
59 FX_BOOL GetSuggestWords(CFX_PointF pointf, 59 FX_BOOL GetSuggestWords(CFX_PointF pointf,
60 std::vector<CFX_ByteString>& sSuggest); 60 std::vector<CFX_ByteString>& sSuggest);
61 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, 61 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf,
62 const CFX_ByteStringC& bsReplace); 62 const CFX_ByteStringC& bsReplace);
63 CFWL_Edit(); 63 CFWL_Edit();
64 virtual ~CFWL_Edit(); 64 virtual ~CFWL_Edit();
65 }; 65 };
66 66
67 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_ 67 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_EDIT_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/lightwidget/datetimepicker.h ('k') | xfa/include/fwl/lightwidget/listbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698