diff options
author | Nicolas Pena <npm@chromium.org> | 2018-01-03 15:43:25 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-03 21:18:11 +0000 |
commit | cbcae9be4461b9271315038bc5a30262d26626c1 (patch) | |
tree | 66f54b4872e6a1f48cd22d4ed46cc786cd0deacb /core/fpdfdoc/cpdf_variabletext.h | |
parent | 368c634f87eb5fdf03a532d3125d9b6c5400f61a (diff) | |
download | pdfium-cbcae9be4461b9271315038bc5a30262d26626c1.tar.xz |
Remove unused methods from CPDF_VariableText
Change-Id: Id8012a5769df68d29da5c58cc821c71ca93240e1
Reviewed-on: https://pdfium-review.googlesource.com/22111
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_variabletext.h')
-rw-r--r-- | core/fpdfdoc/cpdf_variabletext.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/fpdfdoc/cpdf_variabletext.h b/core/fpdfdoc/cpdf_variabletext.h index bdc95d47f9..a37aa871d5 100644 --- a/core/fpdfdoc/cpdf_variabletext.h +++ b/core/fpdfdoc/cpdf_variabletext.h @@ -29,7 +29,6 @@ struct CPVT_WordInfo; class CPDF_VariableText { public: - enum class ScriptType { Normal, Super, Sub }; class Iterator { public: @@ -43,7 +42,7 @@ class CPDF_VariableText { bool GetLine(CPVT_Line& line) const; void SetAt(int32_t nWordIndex); void SetAt(const CPVT_WordPlace& place); - const CPVT_WordPlace& GetAt() const { return m_CurPos; } + const CPVT_WordPlace& GetWordPlace() const { return m_CurPos; } private: CPVT_WordPlace m_CurPos; @@ -94,13 +93,11 @@ class CPDF_VariableText { void RearrangeAll(); void RearrangePart(const CPVT_WordRange& PlaceRange); - void ResetAll(); void SetText(const WideString& text); CPVT_WordPlace InsertWord(const CPVT_WordPlace& place, uint16_t word, int32_t charset); CPVT_WordPlace InsertSection(const CPVT_WordPlace& place); - CPVT_WordPlace InsertText(const CPVT_WordPlace& place, const wchar_t* text); CPVT_WordPlace DeleteWords(const CPVT_WordRange& PlaceRange); CPVT_WordPlace DeleteWord(const CPVT_WordPlace& place); CPVT_WordPlace BackSpaceWord(const CPVT_WordPlace& place); @@ -139,7 +136,6 @@ class CPDF_VariableText { float GetPlateWidth() const { return m_rcPlate.right - m_rcPlate.left; } float GetPlateHeight() const { return m_rcPlate.top - m_rcPlate.bottom; } - CFX_SizeF GetPlateSize() const; CFX_PointF GetBTPoint() const; CFX_PointF GetETPoint() const; |