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

Side by Side Diff: xfa/src/fee/fx_wordbreak/fx_wordbreak.h

Issue 1778633003: Collapse xfa/src/fee directories (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/fde_txtedtparag.cpp ('k') | xfa/src/fee/fx_wordbreak/fx_wordbreak_impl.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 XFA_SRC_FEE_INCLUDE_FX_WORDBREAK_H_ 7 #ifndef XFA_SRC_FEE_FX_WORDBREAK_FX_WORDBREAK_H_
8 #define XFA_SRC_FEE_INCLUDE_FX_WORDBREAK_H_ 8 #define XFA_SRC_FEE_FX_WORDBREAK_FX_WORDBREAK_H_
9 9
10 #include "core/include/fxcrt/fx_string.h" 10 #include "core/include/fxcrt/fx_string.h"
11 #include "core/include/fxcrt/fx_system.h" 11 #include "core/include/fxcrt/fx_system.h"
12 12
13 class IFX_CharIter; 13 class IFX_CharIter;
14 14
15 class IFX_WordBreak { 15 class IFX_WordBreak {
16 public: 16 public:
17 virtual ~IFX_WordBreak() {} 17 virtual ~IFX_WordBreak() {}
18 virtual void Release() = 0; 18 virtual void Release() = 0;
19 virtual void Attach(IFX_CharIter* pIter) = 0; 19 virtual void Attach(IFX_CharIter* pIter) = 0;
20 virtual void Attach(const CFX_WideString& wsText) = 0; 20 virtual void Attach(const CFX_WideString& wsText) = 0;
21 virtual FX_BOOL Next(FX_BOOL bPrev) = 0; 21 virtual FX_BOOL Next(FX_BOOL bPrev) = 0;
22 virtual void SetAt(int32_t nIndex) = 0; 22 virtual void SetAt(int32_t nIndex) = 0;
23 virtual int32_t GetWordPos() const = 0; 23 virtual int32_t GetWordPos() const = 0;
24 virtual int32_t GetWordLength() const = 0; 24 virtual int32_t GetWordLength() const = 0;
25 virtual void GetWord(CFX_WideString& wsWord) const = 0; 25 virtual void GetWord(CFX_WideString& wsWord) const = 0;
26 virtual FX_BOOL IsEOF(FX_BOOL bTail = TRUE) const = 0; 26 virtual FX_BOOL IsEOF(FX_BOOL bTail = TRUE) const = 0;
27 }; 27 };
28 IFX_WordBreak* FX_WordBreak_Create(); 28 IFX_WordBreak* FX_WordBreak_Create();
29 29
30 #endif // XFA_SRC_FEE_INCLUDE_FX_WORDBREAK_H_ 30 #endif // XFA_SRC_FEE_FX_WORDBREAK_FX_WORDBREAK_H_
OLDNEW
« no previous file with comments | « xfa/src/fee/fde_txtedtparag.cpp ('k') | xfa/src/fee/fx_wordbreak/fx_wordbreak_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698