summaryrefslogtreecommitdiff
path: root/chromium/third_party/pdfium/xfa/fde/cfde_txtedttextset.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/pdfium/xfa/fde/cfde_txtedttextset.h')
-rw-r--r--chromium/third_party/pdfium/xfa/fde/cfde_txtedttextset.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/chromium/third_party/pdfium/xfa/fde/cfde_txtedttextset.h b/chromium/third_party/pdfium/xfa/fde/cfde_txtedttextset.h
index 8ab65787931..8e4c4d01bfe 100644
--- a/chromium/third_party/pdfium/xfa/fde/cfde_txtedttextset.h
+++ b/chromium/third_party/pdfium/xfa/fde/cfde_txtedttextset.h
@@ -9,11 +9,11 @@
#include <vector>
-#include "xfa/fde/fde_visualset.h"
+#include "xfa/fde/ifde_visualset.h"
class CFDE_TxtEdtPage;
-class CFDE_TxtEdtTextSet : public IFDE_TextSet {
+class CFDE_TxtEdtTextSet : public IFDE_VisualSet {
public:
explicit CFDE_TxtEdtTextSet(CFDE_TxtEdtPage* pPage);
~CFDE_TxtEdtTextSet() override;
@@ -22,17 +22,16 @@ class CFDE_TxtEdtTextSet : public IFDE_TextSet {
FDE_VISUALOBJTYPE GetType() override;
CFX_RectF GetRect(const FDE_TEXTEDITPIECE& hVisualObj) override;
- // IFDE_TextSet
- int32_t GetString(FDE_TEXTEDITPIECE* pPiece, CFX_WideString& wsText) override;
- CFX_RetainPtr<CFGAS_GEFont> GetFont() override;
- FX_FLOAT GetFontSize() override;
- FX_ARGB GetFontColor() override;
+ int32_t GetString(FDE_TEXTEDITPIECE* pPiece, CFX_WideString& wsText);
+ CFX_RetainPtr<CFGAS_GEFont> GetFont();
+ float GetFontSize();
+ FX_ARGB GetFontColor();
int32_t GetDisplayPos(const FDE_TEXTEDITPIECE& pPiece,
FXTEXT_CHARPOS* pCharPos,
bool bCharCode = false,
- CFX_WideString* pWSForms = nullptr) override;
+ CFX_WideString* pWSForms = nullptr);
std::vector<CFX_RectF> GetCharRects(const FDE_TEXTEDITPIECE* pPiece,
- bool bBBox) override;
+ bool bBBox);
private:
CFDE_TxtEdtPage* const m_pPage;