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

Side by Side Diff: fpdfsdk/pdfwindow/PWL_Edit.h

Issue 2152473002: Removing default params from CFX_Edit. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@ifx_cleanup_2
Patch Set: Rebase to master Created 4 years, 5 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
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 FPDFSDK_PDFWINDOW_PWL_EDIT_H_ 7 #ifndef FPDFSDK_PDFWINDOW_PWL_EDIT_H_
8 #define FPDFSDK_PDFWINDOW_PWL_EDIT_H_ 8 #define FPDFSDK_PDFWINDOW_PWL_EDIT_H_
9 9
10 #include "core/fxcrt/include/fx_basic.h" 10 #include "core/fxcrt/include/fx_basic.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 CFX_FloatRect GetFocusRect() const override; 69 CFX_FloatRect GetFocusRect() const override;
70 void OnSetFocus() override; 70 void OnSetFocus() override;
71 void OnKillFocus() override; 71 void OnKillFocus() override;
72 72
73 void SetAlignFormatV(PWL_EDIT_ALIGNFORMAT_V nFormat = PEAV_TOP, 73 void SetAlignFormatV(PWL_EDIT_ALIGNFORMAT_V nFormat = PEAV_TOP,
74 FX_BOOL bPaint = TRUE); // 0:top 1:bottom 2:center 74 FX_BOOL bPaint = TRUE); // 0:top 1:bottom 2:center
75 75
76 void SetCharArray(int32_t nCharArray); 76 void SetCharArray(int32_t nCharArray);
77 void SetLimitChar(int32_t nLimitChar); 77 void SetLimitChar(int32_t nLimitChar);
78 78
79 void SetHorzScale(int32_t nHorzScale, FX_BOOL bPaint = TRUE); 79 void SetCharSpace(FX_FLOAT fCharSpace);
80 void SetCharSpace(FX_FLOAT fCharSpace, FX_BOOL bPaint = TRUE);
81
82 void SetLineLeading(FX_FLOAT fLineLeading, FX_BOOL bPaint = TRUE);
83 80
84 FX_BOOL CanSelectAll() const; 81 FX_BOOL CanSelectAll() const;
85 FX_BOOL CanClear() const; 82 FX_BOOL CanClear() const;
86 FX_BOOL CanCopy() const; 83 FX_BOOL CanCopy() const;
87 FX_BOOL CanCut() const; 84 FX_BOOL CanCut() const;
88 85
89 void CutText(); 86 void CutText();
90 87
91 void SetText(const FX_WCHAR* csText); 88 void SetText(const FX_WCHAR* csText);
92 void ReplaceSel(const FX_WCHAR* csText); 89 void ReplaceSel(const FX_WCHAR* csText);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place, 139 CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place,
143 FX_BOOL bLatin, 140 FX_BOOL bLatin,
144 FX_BOOL bArabic) const; 141 FX_BOOL bArabic) const;
145 IPWL_Filler_Notify* m_pFillerNotify; 142 IPWL_Filler_Notify* m_pFillerNotify;
146 FX_BOOL m_bFocus; 143 FX_BOOL m_bFocus;
147 CFX_FloatRect m_rcOldWindow; 144 CFX_FloatRect m_rcOldWindow;
148 void* m_pFormFiller; 145 void* m_pFormFiller;
149 }; 146 };
150 147
151 #endif // FPDFSDK_PDFWINDOW_PWL_EDIT_H_ 148 #endif // FPDFSDK_PDFWINDOW_PWL_EDIT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698