diff options
author | Lei Zhang <thestig@chromium.org> | 2017-03-22 17:41:02 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-23 01:04:48 +0000 |
commit | a8c2b919f7adec510cbca49675ad4a0cd0d30fd9 (patch) | |
tree | af385e573c920ded6ca2e6488101477f626cab43 /fpdfsdk/pdfwindow/PWL_EditCtrl.h | |
parent | d9d20a47e2c9af8630536786d614eaed229056a8 (diff) | |
download | pdfium-a8c2b919f7adec510cbca49675ad4a0cd0d30fd9.tar.xz |
Remove dead CFX_Edit code and fix some typos.
Change-Id: Ieaac36e06db3d1e2b857d999a7d3d9cd5c5a9506
Reviewed-on: https://pdfium-review.googlesource.com/3118
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_EditCtrl.h')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_EditCtrl.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_EditCtrl.h b/fpdfsdk/pdfwindow/PWL_EditCtrl.h index 6977673eac..0f2487bc26 100644 --- a/fpdfsdk/pdfwindow/PWL_EditCtrl.h +++ b/fpdfsdk/pdfwindow/PWL_EditCtrl.h @@ -33,37 +33,18 @@ class CPWL_EditCtrl : public CPWL_Wnd { CPWL_EditCtrl(); ~CPWL_EditCtrl() override; - CFX_FloatRect GetContentRect() const; - CFX_WideString GetText() const; void SetSel(int32_t nStartChar, int32_t nEndChar); void GetSel(int32_t& nStartChar, int32_t& nEndChar) const; - void GetTextRange(const CFX_FloatRect& rect, - int32_t& nStartChar, - int32_t& nEndChar) const; - CFX_WideString GetText(int32_t& nStartChar, int32_t& nEndChar) const; void Clear(); void SelectAll(); - int32_t GetCaret() const; - void SetCaret(int32_t nPos); - int32_t GetTotalWords() const; - - void Paint(); - - void EnableRefresh(bool bRefresh); CFX_PointF GetScrollPos() const; void SetScrollPos(const CFX_PointF& point); void SetCharSet(uint8_t nCharSet) { m_nCharSet = nCharSet; } int32_t GetCharSet() const; - void SetCodePage(int32_t nCodePage) { m_nCodePage = nCodePage; } - int32_t GetCodePage() const { return m_nCodePage; } - - CPDF_Font* GetCaretFont() const; - float GetCaretFontSize() const; - bool CanUndo() const; bool CanRedo() const; void Redo(); @@ -100,14 +81,9 @@ class CPWL_EditCtrl : public CPWL_Wnd { const CFX_PointF& ptHead, const CFX_PointF& ptFoot, const CPVT_WordPlace& place); - void IOnCaretChange(const CPVT_SecProps& secProps, - const CPVT_WordProps& wordProps); - void IOnContentChange(const CFX_FloatRect& rcContent); void IOnInvalidateRect(CFX_FloatRect* pRect); protected: - void InsertText(const CFX_WideString& wsText); - void SetText(const CFX_WideString& wsText); void CopyText(); void PasteText(); void CutText(); @@ -135,7 +111,6 @@ class CPWL_EditCtrl : public CPWL_Wnd { void CreateEditCaret(const PWL_CREATEPARAM& cp); int32_t m_nCharSet; - int32_t m_nCodePage; }; #endif // FPDFSDK_PDFWINDOW_PWL_EDITCTRL_H_ |