Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: xfa/src/fee/include/ifde_txtedtpage.h

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanups Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/src/fee/include/ifde_txtedtengine.h ('k') | xfa/src/fee/src/fee/fde_txtedtblock.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "xfa/src/fdp/include/fde_psr.h"
12 #include "xfa/src/fgas/include/fx_tbk.h"
13
10 class IFDE_TxtEdtEngine; 14 class IFDE_TxtEdtEngine;
11 class IFDE_TxtEdtPage;
12 class IFDE_TxtEdtPage : public IFDE_CanvasSet, public IFX_TxtAccess { 15 class IFDE_TxtEdtPage : public IFDE_CanvasSet, public IFX_TxtAccess {
13 public: 16 public:
14 static IFDE_TxtEdtPage* Create(IFDE_TxtEdtEngine* pEngine, int32_t nIndex); 17 static IFDE_TxtEdtPage* Create(IFDE_TxtEdtEngine* pEngine, int32_t nIndex);
15 18
16 virtual void Release() = 0; 19 virtual void Release() = 0;
17 20
18 virtual IFDE_TxtEdtEngine* GetEngine() const = 0; 21 virtual IFDE_TxtEdtEngine* GetEngine() const = 0;
19 virtual int32_t GetCharRect(int32_t nIndex, 22 virtual int32_t GetCharRect(int32_t nIndex,
20 CFX_RectF& rect, 23 CFX_RectF& rect,
21 FX_BOOL bBBox = FALSE) const = 0; 24 FX_BOOL bBBox = FALSE) const = 0;
22 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;
23 virtual void CalcRangeRectArray(int32_t nStart, 26 virtual void CalcRangeRectArray(int32_t nStart,
24 int32_t nCount, 27 int32_t nCount,
25 CFX_RectFArray& RectFArr) const = 0; 28 CFX_RectFArray& RectFArr) const = 0;
26 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;
27 virtual int32_t GetCharStart() const = 0; 30 virtual int32_t GetCharStart() const = 0;
28 virtual int32_t GetCharCount() const = 0; 31 virtual int32_t GetCharCount() const = 0;
29 32
30 virtual int32_t GetDisplayPos(const CFX_RectF& rtClip, 33 virtual int32_t GetDisplayPos(const CFX_RectF& rtClip,
31 FXTEXT_CHARPOS*& pCharPos, 34 FXTEXT_CHARPOS*& pCharPos,
32 FX_LPRECTF pBBox = NULL) const = 0; 35 FX_LPRECTF pBBox = NULL) const = 0;
33 virtual FX_BOOL IsLoaded(FX_LPCRECTF pClipBox = NULL) = 0; 36 virtual FX_BOOL IsLoaded(FX_LPCRECTF pClipBox = NULL) = 0;
34 virtual int32_t LoadPage(FX_LPCRECTF pClipBox = NULL, 37 virtual int32_t LoadPage(FX_LPCRECTF pClipBox = NULL,
35 IFX_Pause* pPause = NULL) = 0; 38 IFX_Pause* pPause = NULL) = 0;
36 virtual void UnloadPage(FX_LPCRECTF pClipBox = NULL) = 0; 39 virtual void UnloadPage(FX_LPCRECTF pClipBox = NULL) = 0;
37 virtual const CFX_RectF& GetContentsBox() = 0; 40 virtual const CFX_RectF& GetContentsBox() = 0;
38 }; 41 };
39 42
40 #endif // XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTPAGE_H_ 43 #endif // XFA_SRC_FEE_INCLUDE_IFDE_TXTEDTPAGE_H_
OLDNEW
« no previous file with comments | « xfa/src/fee/include/ifde_txtedtengine.h ('k') | xfa/src/fee/src/fee/fde_txtedtblock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698