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

Side by Side Diff: core/fpdftext/include/ipdf_textpagefind.h

Issue 1825953002: Move core/include/fxcrt to core/fxcrt/include. (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 | « core/fpdftext/include/ipdf_textpage.h ('k') | core/fpdftext/unicodenormalization.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_ 7 #ifndef CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_
8 #define CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_ 8 #define CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_
9 9
10 #include "core/fpdftext/include/ipdf_textpage.h" 10 #include "core/fpdftext/include/ipdf_textpage.h"
11 #include "core/include/fxcrt/fx_coordinates.h" 11 #include "core/fxcrt/include/fx_coordinates.h"
12 #include "core/include/fxcrt/fx_string.h" 12 #include "core/fxcrt/include/fx_string.h"
13 13
14 class IPDF_TextPageFind { 14 class IPDF_TextPageFind {
15 public: 15 public:
16 static IPDF_TextPageFind* CreatePageFind(const IPDF_TextPage* pTextPage); 16 static IPDF_TextPageFind* CreatePageFind(const IPDF_TextPage* pTextPage);
17 virtual ~IPDF_TextPageFind() {} 17 virtual ~IPDF_TextPageFind() {}
18 18
19 virtual FX_BOOL FindFirst(const CFX_WideString& findwhat, 19 virtual FX_BOOL FindFirst(const CFX_WideString& findwhat,
20 int flags, 20 int flags,
21 int startPos = 0) = 0; 21 int startPos = 0) = 0;
22 virtual FX_BOOL FindNext() = 0; 22 virtual FX_BOOL FindNext() = 0;
23 virtual FX_BOOL FindPrev() = 0; 23 virtual FX_BOOL FindPrev() = 0;
24 virtual void GetRectArray(CFX_RectArray& rects) const = 0; 24 virtual void GetRectArray(CFX_RectArray& rects) const = 0;
25 virtual int GetCurOrder() const = 0; 25 virtual int GetCurOrder() const = 0;
26 virtual int GetMatchedCount() const = 0; 26 virtual int GetMatchedCount() const = 0;
27 }; 27 };
28 28
29 #endif // CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_ 29 #endif // CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_
OLDNEW
« no previous file with comments | « core/fpdftext/include/ipdf_textpage.h ('k') | core/fpdftext/unicodenormalization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698