summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedttextset.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/cfde_txtedttextset.h')
-rw-r--r--xfa/fde/cfde_txtedttextset.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/xfa/fde/cfde_txtedttextset.h b/xfa/fde/cfde_txtedttextset.h
index 8ab6578793..8046d38d79 100644
--- a/xfa/fde/cfde_txtedttextset.h
+++ b/xfa/fde/cfde_txtedttextset.h
@@ -13,7 +13,7 @@
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();
+ FX_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;