summaryrefslogtreecommitdiff
path: root/xfa/src/fee/include/ifde_txtedtpage.h
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2015-08-04 13:00:21 -0700
committerNico Weber <thakis@chromium.org>2015-08-04 13:00:21 -0700
commit9d8ec5a6e37e8d1d4d4edca9040de234e2d4728f (patch)
treec97037f398d714665aefccb6eb54d0969ad7030c /xfa/src/fee/include/ifde_txtedtpage.h
parent780cee82236d1b3b0f9b01a22424e4b8ec9a6f12 (diff)
downloadpdfium-9d8ec5a6e37e8d1d4d4edca9040de234e2d4728f.tar.xz
XFA: clang-format all pdfium code.
No behavior change. Generated by: find . -name '*.cpp' -o -name '*.h' | \ grep -E -v 'third_party|thirdparties|lpng_v163|tiff_v403' | \ xargs ../../buildtools/mac/clang-format -i Then manually merged https://codereview.chromium.org/1269223002/ See thread "tabs vs spaces" on pdfium@googlegroups.com for discussion. BUG=none
Diffstat (limited to 'xfa/src/fee/include/ifde_txtedtpage.h')
-rw-r--r--xfa/src/fee/include/ifde_txtedtpage.h40
1 files changed, 23 insertions, 17 deletions
diff --git a/xfa/src/fee/include/ifde_txtedtpage.h b/xfa/src/fee/include/ifde_txtedtpage.h
index 4e6c859793..09dbb43585 100644
--- a/xfa/src/fee/include/ifde_txtedtpage.h
+++ b/xfa/src/fee/include/ifde_txtedtpage.h
@@ -8,25 +8,31 @@
#define _IFDE_TXTEDTPAGE_H
class IFDE_TxtEdtEngine;
class IFDE_TxtEdtPage;
-class IFDE_TxtEdtPage : public IFDE_CanvasSet, public IFX_TxtAccess
-{
-public:
- static IFDE_TxtEdtPage * Create(IFDE_TxtEdtEngine * pEngine, int32_t nIndex);
+class IFDE_TxtEdtPage : public IFDE_CanvasSet, public IFX_TxtAccess {
+ public:
+ static IFDE_TxtEdtPage* Create(IFDE_TxtEdtEngine* pEngine, int32_t nIndex);
- virtual void Release() = 0;
+ virtual void Release() = 0;
- virtual IFDE_TxtEdtEngine * GetEngine() const = 0;
- virtual int32_t GetCharRect(int32_t nIndex, CFX_RectF &rect, FX_BOOL bBBox = FALSE) const = 0;
- virtual int32_t GetCharIndex(const CFX_PointF &fPoint, FX_BOOL &bBefore) = 0;
- virtual void CalcRangeRectArray(int32_t nStart, int32_t nCount, CFX_RectFArray &RectFArr) const = 0;
- virtual int32_t SelectWord (const CFX_PointF &fPoint, int32_t &nCount) = 0;
- virtual int32_t GetCharStart() const = 0;
- virtual int32_t GetCharCount() const = 0;
+ virtual IFDE_TxtEdtEngine* GetEngine() const = 0;
+ virtual int32_t GetCharRect(int32_t nIndex,
+ CFX_RectF& rect,
+ FX_BOOL bBBox = FALSE) const = 0;
+ virtual int32_t GetCharIndex(const CFX_PointF& fPoint, FX_BOOL& bBefore) = 0;
+ virtual void CalcRangeRectArray(int32_t nStart,
+ int32_t nCount,
+ CFX_RectFArray& RectFArr) const = 0;
+ virtual int32_t SelectWord(const CFX_PointF& fPoint, int32_t& nCount) = 0;
+ virtual int32_t GetCharStart() const = 0;
+ virtual int32_t GetCharCount() const = 0;
- virtual int32_t GetDisplayPos(const CFX_RectF &rtClip, FXTEXT_CHARPOS* &pCharPos, FX_LPRECTF pBBox = NULL) const = 0;
- virtual FX_BOOL IsLoaded(FX_LPCRECTF pClipBox = NULL) = 0;
- virtual int32_t LoadPage(FX_LPCRECTF pClipBox = NULL, IFX_Pause *pPause = NULL) = 0;
- virtual void UnloadPage(FX_LPCRECTF pClipBox = NULL) = 0;
- virtual const CFX_RectF& GetContentsBox() = 0;
+ virtual int32_t GetDisplayPos(const CFX_RectF& rtClip,
+ FXTEXT_CHARPOS*& pCharPos,
+ FX_LPRECTF pBBox = NULL) const = 0;
+ virtual FX_BOOL IsLoaded(FX_LPCRECTF pClipBox = NULL) = 0;
+ virtual int32_t LoadPage(FX_LPCRECTF pClipBox = NULL,
+ IFX_Pause* pPause = NULL) = 0;
+ virtual void UnloadPage(FX_LPCRECTF pClipBox = NULL) = 0;
+ virtual const CFX_RectF& GetContentsBox() = 0;
};
#endif