| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTPAGE_H_ | 7 #ifndef XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTPAGE_H_ |
| 8 #define XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTPAGE_H_ | 8 #define XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTPAGE_H_ |
| 9 | 9 |
| 10 #include "core/include/fxge/fx_ge.h" | 10 #include "core/include/fxge/fx_ge.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual int32_t GetCharIndex(const CFX_PointF& fPoint, FX_BOOL& bBefore) = 0; | 25 virtual int32_t GetCharIndex(const CFX_PointF& fPoint, FX_BOOL& bBefore) = 0; |
| 26 virtual void CalcRangeRectArray(int32_t nStart, | 26 virtual void CalcRangeRectArray(int32_t nStart, |
| 27 int32_t nCount, | 27 int32_t nCount, |
| 28 CFX_RectFArray& RectFArr) const = 0; | 28 CFX_RectFArray& RectFArr) const = 0; |
| 29 virtual int32_t SelectWord(const CFX_PointF& fPoint, int32_t& nCount) = 0; | 29 virtual int32_t SelectWord(const CFX_PointF& fPoint, int32_t& nCount) = 0; |
| 30 virtual int32_t GetCharStart() const = 0; | 30 virtual int32_t GetCharStart() const = 0; |
| 31 virtual int32_t GetCharCount() const = 0; | 31 virtual int32_t GetCharCount() const = 0; |
| 32 | 32 |
| 33 virtual int32_t GetDisplayPos(const CFX_RectF& rtClip, | 33 virtual int32_t GetDisplayPos(const CFX_RectF& rtClip, |
| 34 FXTEXT_CHARPOS*& pCharPos, | 34 FXTEXT_CHARPOS*& pCharPos, |
| 35 FX_LPRECTF pBBox = NULL) const = 0; | 35 CFX_RectF* pBBox) const = 0; |
| 36 virtual FX_BOOL IsLoaded(FX_LPCRECTF pClipBox = NULL) = 0; | 36 virtual FX_BOOL IsLoaded(const CFX_RectF* pClipBox) = 0; |
| 37 virtual int32_t LoadPage(FX_LPCRECTF pClipBox = NULL, | 37 virtual int32_t LoadPage(const CFX_RectF* pClipBox, IFX_Pause* pPause) = 0; |
| 38 IFX_Pause* pPause = NULL) = 0; | 38 virtual void UnloadPage(const CFX_RectF* pClipBox) = 0; |
| 39 virtual void UnloadPage(FX_LPCRECTF pClipBox = NULL) = 0; | |
| 40 virtual const CFX_RectF& GetContentsBox() = 0; | 39 virtual const CFX_RectF& GetContentsBox() = 0; |
| 41 }; | 40 }; |
| 42 | 41 |
| 43 #endif // XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTPAGE_H_ | 42 #endif // XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTPAGE_H_ |
| OLD | NEW |