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>
diff --git a/core/fpdfdoc/cpdf_variabletext.h b/core/fpdfdoc/cpdf_variabletext.h
index bdc95d4..a37aa87 100644
--- a/core/fpdfdoc/cpdf_variabletext.h
+++ b/core/fpdfdoc/cpdf_variabletext.h
@@ -29,7 +29,6 @@
class CPDF_VariableText {
public:
- enum class ScriptType { Normal, Super, Sub };
class Iterator {
public:
@@ -43,7 +42,7 @@
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 @@
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 @@
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;