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

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

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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.h » ('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 _IFDE_TXTEDTPAGE_H 7 #ifndef _IFDE_TXTEDTPAGE_H
8 #define _IFDE_TXTEDTPAGE_H 8 #define _IFDE_TXTEDTPAGE_H
9 class IFDE_TxtEdtEngine; 9 class IFDE_TxtEdtEngine;
10 class IFDE_TxtEdtPage; 10 class IFDE_TxtEdtPage;
11 class IFDE_TxtEdtPage : public IFDE_CanvasSet, public IFX_TxtAccess 11 class IFDE_TxtEdtPage : public IFDE_CanvasSet, public IFX_TxtAccess
12 { 12 {
13 public: 13 public:
14 static IFDE_TxtEdtPage * Create(IFDE_TxtEdtEngine * pEngine, FX_INT32 nIndex ); 14 static IFDE_TxtEdtPage * Create(IFDE_TxtEdtEngine * pEngine, int32_t nIndex) ;
15 15
16 virtual void Release() = 0; 16 virtual void Release() = 0;
17 17
18 virtual IFDE_TxtEdtEngine * GetEngine() const = 0; 18 virtual IFDE_TxtEdtEngine * GetEngine() const = 0;
19 virtual FX_INT32» GetCharRect(FX_INT32 nIndex, CFX_RectF &rect, FX_BOOL bB Box = FALSE) const = 0; 19 virtual int32_t» GetCharRect(int32_t nIndex, CFX_RectF &rect, FX_BOOL bBB ox = FALSE) const = 0;
20 virtual FX_INT32» GetCharIndex(const CFX_PointF &fPoint, FX_BOOL &bBefore) = 0; 20 virtual int32_t» GetCharIndex(const CFX_PointF &fPoint, FX_BOOL &bBefore) = 0;
21 virtual void» » CalcRangeRectArray(FX_INT32 nStart, FX_INT32 nCo unt, CFX_RectFArray &RectFArr) const = 0; 21 virtual void» » CalcRangeRectArray(int32_t nStart, int32_t nCoun t, CFX_RectFArray &RectFArr) const = 0;
22 virtual FX_INT32» SelectWord (const CFX_PointF &fPoint, FX_INT32 &nCount) = 0; 22 virtual int32_t» SelectWord (const CFX_PointF &fPoint, int32_t &nCount) = 0;
23 virtual FX_INT32» GetCharStart() const = 0; 23 virtual int32_t» GetCharStart() const = 0;
24 virtual FX_INT32» GetCharCount() const = 0; 24 virtual int32_t» GetCharCount() const = 0;
25 25
26 virtual FX_INT32» GetDisplayPos(const CFX_RectF &rtClip, FXTEXT_CHARPOS* & pCharPos, FX_LPRECTF pBBox = NULL) const = 0; 26 virtual int32_t» GetDisplayPos(const CFX_RectF &rtClip, FXTEXT_CHARPOS* & pCharPos, FX_LPRECTF pBBox = NULL) const = 0;
27 virtual FX_BOOL IsLoaded(FX_LPCRECTF pClipBox = NULL) = 0; 27 virtual FX_BOOL IsLoaded(FX_LPCRECTF pClipBox = NULL) = 0;
28 virtual FX_INT32» » » LoadPage(FX_LPCRECTF pClipBox = NULL, IF X_Pause *pPause = NULL) = 0; 28 virtual int32_t» » » LoadPage(FX_LPCRECTF pClipBox = NULL, IF X_Pause *pPause = NULL) = 0;
29 virtual void UnloadPage(FX_LPCRECTF pClipBox = NULL) = 0; 29 virtual void UnloadPage(FX_LPCRECTF pClipBox = NULL) = 0;
30 virtual const CFX_RectF& GetContentsBox() = 0; 30 virtual const CFX_RectF& GetContentsBox() = 0;
31 }; 31 };
32 #endif 32 #endif
OLDNEW
« no previous file with comments | « xfa/src/fee/include/ifde_txtedtengine.h ('k') | xfa/src/fee/src/fee/fde_txtedtblock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698