| Index: xfa/src/fee/src/fee/fde_txtedtpage.h
|
| diff --git a/xfa/src/fee/src/fee/fde_txtedtpage.h b/xfa/src/fee/src/fee/fde_txtedtpage.h
|
| index cc7ff244b7e177bb14fa4bdf7b9bacdc9c58536c..9b67b6f4863e9c5918e959df15f98d418bd6cbfd 100644
|
| --- a/xfa/src/fee/src/fee/fde_txtedtpage.h
|
| +++ b/xfa/src/fee/src/fee/fde_txtedtpage.h
|
| @@ -99,42 +99,45 @@ class CFDE_TxtEdtPage : public IFDE_TxtEdtPage {
|
| public:
|
| CFDE_TxtEdtPage(IFDE_TxtEdtEngine* pEngine, int32_t nLineIndex);
|
|
|
| - virtual void Release();
|
| - virtual IFDE_TxtEdtEngine* GetEngine() const;
|
| -
|
| - virtual FDE_VISUALOBJTYPE GetType();
|
| - virtual FX_BOOL GetBBox(FDE_HVISUALOBJ hVisualObj, CFX_RectF& bbox);
|
| - virtual FX_BOOL GetMatrix(FDE_HVISUALOBJ hVisualObj, CFX_Matrix& matrix);
|
| - virtual FX_BOOL GetRect(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt);
|
| - virtual FX_BOOL GetClip(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt);
|
| - virtual int32_t GetCharRect(int32_t nIndex,
|
| - CFX_RectF& rect,
|
| - FX_BOOL bBBox = FALSE) const;
|
| - virtual int32_t GetCharIndex(const CFX_PointF& fPoint, FX_BOOL& bBefore);
|
| - virtual int32_t SelectWord(const CFX_PointF& fPoint, int32_t& nCount);
|
| - virtual int32_t GetCharStart() const;
|
| - virtual int32_t GetCharCount() const;
|
| - virtual void CalcRangeRectArray(int32_t nStart,
|
| - int32_t nCount,
|
| - CFX_RectFArray& RectFArr) const;
|
| - virtual int32_t GetDisplayPos(const CFX_RectF& rtClip,
|
| - FXTEXT_CHARPOS*& pCharPos,
|
| - FX_LPRECTF pBBox) const;
|
| -
|
| - virtual FX_BOOL IsLoaded(FX_LPCRECTF pClipBox = NULL);
|
| - virtual int32_t LoadPage(FX_LPCRECTF pClipBox = NULL,
|
| - IFX_Pause* pPause = NULL);
|
| - virtual void UnloadPage(FX_LPCRECTF pClipBox = NULL);
|
| -
|
| - virtual const CFX_RectF& GetContentsBox();
|
| - virtual FX_POSITION GetFirstPosition(FDE_HVISUALOBJ hCanvas);
|
| - virtual FDE_HVISUALOBJ GetNext(FDE_HVISUALOBJ hCanvas,
|
| - FX_POSITION& pos,
|
| - IFDE_VisualSet*& pVisualSet);
|
| - virtual FDE_HVISUALOBJ GetParentCanvas(FDE_HVISUALOBJ hCanvas,
|
| - IFDE_VisualSet*& pVisualSet);
|
| - virtual FX_WCHAR GetChar(void* pIdentity, int32_t index) const;
|
| - virtual int32_t GetWidth(void* pIdentity, int32_t index) const;
|
| + // IFDE_TxtEditPage:
|
| + void Release() override;
|
| + IFDE_TxtEdtEngine* GetEngine() const override;
|
| + int32_t GetCharRect(int32_t nIndex,
|
| + CFX_RectF& rect,
|
| + FX_BOOL bBBox = FALSE) const override;
|
| + int32_t GetCharIndex(const CFX_PointF& fPoint, FX_BOOL& bBefore) override;
|
| + void CalcRangeRectArray(int32_t nStart,
|
| + int32_t nCount,
|
| + CFX_RectFArray& RectFArr) const override;
|
| + int32_t SelectWord(const CFX_PointF& fPoint, int32_t& nCount) override;
|
| + int32_t GetCharStart() const override;
|
| + int32_t GetCharCount() const override;
|
| + int32_t GetDisplayPos(const CFX_RectF& rtClip,
|
| + FXTEXT_CHARPOS*& pCharPos,
|
| + CFX_RectF* pBBox) const override;
|
| + FX_BOOL IsLoaded(const CFX_RectF* pClipBox) override;
|
| + int32_t LoadPage(const CFX_RectF* pClipBox, IFX_Pause* pPause) override;
|
| + void UnloadPage(const CFX_RectF* pClipBox) override;
|
| + const CFX_RectF& GetContentsBox() override;
|
| +
|
| + // IFDE_VisualSet:
|
| + FDE_VISUALOBJTYPE GetType() override;
|
| + FX_BOOL GetBBox(FDE_HVISUALOBJ hVisualObj, CFX_RectF& bbox) override;
|
| + FX_BOOL GetMatrix(FDE_HVISUALOBJ hVisualObj, CFX_Matrix& matrix) override;
|
| + FX_BOOL GetRect(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override;
|
| + FX_BOOL GetClip(FDE_HVISUALOBJ hVisualObj, CFX_RectF& rt) override;
|
| +
|
| + // IFDE_CanvasSet:
|
| + FX_POSITION GetFirstPosition(FDE_HVISUALOBJ hCanvas) override;
|
| + FDE_HVISUALOBJ GetNext(FDE_HVISUALOBJ hCanvas,
|
| + FX_POSITION& pos,
|
| + IFDE_VisualSet*& pVisualSet) override;
|
| + FDE_HVISUALOBJ GetParentCanvas(FDE_HVISUALOBJ hCanvas,
|
| + IFDE_VisualSet*& pVisualSet) override;
|
| +
|
| + // IFX_TxtAccess:
|
| + FX_WCHAR GetChar(void* pIdentity, int32_t index) const override;
|
| + int32_t GetWidth(void* pIdentity, int32_t index) const override;
|
|
|
| protected:
|
| virtual ~CFDE_TxtEdtPage();
|
| @@ -143,13 +146,13 @@ class CFDE_TxtEdtPage : public IFDE_TxtEdtPage {
|
| void NormalizePt2Rect(CFX_PointF& ptF,
|
| const CFX_RectF& rtF,
|
| FX_FLOAT fTolerance) const;
|
| +
|
| IFX_CharIter* m_pIter;
|
| CFDE_TxtEdtTextSet* m_pTextSet;
|
| CFDE_TxtEdtEngine* m_pEditEngine;
|
| CFDE_TXTEDTPieceMassArray m_PieceMassArr;
|
| CFDE_TxtEdtParag* m_pBgnParag;
|
| CFDE_TxtEdtParag* m_pEndParag;
|
| -
|
| int32_t m_nRefCount;
|
| int32_t m_nPageStart;
|
| int32_t m_nCharCount;
|
|
|