OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_ |
| 8 #define CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_ |
| 9 |
| 10 class IPDF_TextPageFind { |
| 11 public: |
| 12 static IPDF_TextPageFind* CreatePageFind(const IPDF_TextPage* pTextPage); |
| 13 virtual ~IPDF_TextPageFind() {} |
| 14 |
| 15 virtual FX_BOOL FindFirst(const CFX_WideString& findwhat, |
| 16 int flags, |
| 17 int startPos = 0) = 0; |
| 18 virtual FX_BOOL FindNext() = 0; |
| 19 virtual FX_BOOL FindPrev() = 0; |
| 20 virtual void GetRectArray(CFX_RectArray& rects) const = 0; |
| 21 virtual int GetCurOrder() const = 0; |
| 22 virtual int GetMatchedCount() const = 0; |
| 23 }; |
| 24 |
| 25 #endif // CORE_FPDFTEXT_INCLUDE_IPDF_TEXTPAGEFIND_H_ |
OLD | NEW |