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

Side by Side Diff: xfa/src/fee/include/ifde_txtedtbuf.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/fx_wordbreak.h ('k') | xfa/src/fee/include/ifde_txtedtengine.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_TXTEDTBUF_H 7 #ifndef _IFDE_TXTEDTBUF_H
8 #define _IFDE_TXTEDTBUF_H 8 #define _IFDE_TXTEDTBUF_H
9 #define FDE_DEFCHUNKLENGTH (1024) 9 #define FDE_DEFCHUNKLENGTH (1024)
10 class IFDE_TxtEdtBuf; 10 class IFDE_TxtEdtBuf;
11 class IFDE_TxtEdtBuf 11 class IFDE_TxtEdtBuf
12 { 12 {
13 public: 13 public:
14 virtual void Release() = 0; 14 virtual void Release() = 0;
15 15
16 virtual FX_BOOL» » SetChunkSize(FX_INT32 nChunkSize) = 0; 16 virtual FX_BOOL» » SetChunkSize(int32_t nChunkSize) = 0;
17 virtual FX_INT32» GetChunkSize() const = 0; 17 virtual int32_t» GetChunkSize() const = 0;
18 virtual FX_INT32» GetTextLength() const = 0; 18 virtual int32_t» GetTextLength() const = 0;
19 virtual void SetText(const CFX_WideString &wsText) = 0; 19 virtual void SetText(const CFX_WideString &wsText) = 0;
20 virtual void GetText(CFX_WideString &wsText) const = 0; 20 virtual void GetText(CFX_WideString &wsText) const = 0;
21 virtual FX_WCHAR» GetCharByIndex(FX_INT32 nIndex) const = 0; 21 virtual FX_WCHAR» GetCharByIndex(int32_t nIndex) const = 0;
22 virtual void» » GetRange(CFX_WideString &wsText, FX_INT32 nBegin , FX_INT32 nCount = - 1) const = 0; 22 virtual void» » GetRange(CFX_WideString &wsText, int32_t nBegin, int32_t nCount = - 1) const = 0;
23 23
24 virtual void» » Insert(FX_INT32 nPos, FX_LPCWSTR lpText, FX_INT3 2 nLength = 1) = 0; 24 virtual void» » Insert(int32_t nPos, FX_LPCWSTR lpText, int32_t nLength = 1) = 0;
25 virtual void» » Delete(FX_INT32 nIndex, FX_INT32 nLength = 1) = 0; 25 virtual void» » Delete(int32_t nIndex, int32_t nLength = 1) = 0;
26 26
27 virtual void Clear(FX_BOOL bRelease = TRUE) = 0; 27 virtual void Clear(FX_BOOL bRelease = TRUE) = 0;
28 28
29 virtual FX_BOOL Optimize(IFX_Pause * pPause = NULL) = 0; 29 virtual FX_BOOL Optimize(IFX_Pause * pPause = NULL) = 0;
30 }; 30 };
31 #endif 31 #endif
OLDNEW
« no previous file with comments | « xfa/src/fee/include/fx_wordbreak.h ('k') | xfa/src/fee/include/ifde_txtedtengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698