OLD | NEW |
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_CPDF_TEXTPAGEFIND_H_ | 7 #ifndef CORE_FPDFTEXT_CPDF_TEXTPAGEFIND_H_ |
8 #define CORE_FPDFTEXT_CPDF_TEXTPAGEFIND_H_ | 8 #define CORE_FPDFTEXT_CPDF_TEXTPAGEFIND_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "core/fxcrt/include/fx_coordinates.h" | 12 #include "core/fxcrt/fx_coordinates.h" |
13 #include "core/fxcrt/include/fx_string.h" | 13 #include "core/fxcrt/fx_string.h" |
14 #include "core/fxcrt/include/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
15 | 15 |
16 class CPDF_TextPage; | 16 class CPDF_TextPage; |
17 | 17 |
18 class CPDF_TextPageFind { | 18 class CPDF_TextPageFind { |
19 public: | 19 public: |
20 explicit CPDF_TextPageFind(const CPDF_TextPage* pTextPage); | 20 explicit CPDF_TextPageFind(const CPDF_TextPage* pTextPage); |
21 ~CPDF_TextPageFind(); | 21 ~CPDF_TextPageFind(); |
22 | 22 |
23 FX_BOOL FindFirst(const CFX_WideString& findwhat, | 23 FX_BOOL FindFirst(const CFX_WideString& findwhat, |
24 int flags, | 24 int flags, |
(...skipping 26 matching lines...) Expand all Loading... |
51 int m_findPreStart; | 51 int m_findPreStart; |
52 FX_BOOL m_bMatchCase; | 52 FX_BOOL m_bMatchCase; |
53 FX_BOOL m_bMatchWholeWord; | 53 FX_BOOL m_bMatchWholeWord; |
54 int m_resStart; | 54 int m_resStart; |
55 int m_resEnd; | 55 int m_resEnd; |
56 std::vector<CFX_FloatRect> m_resArray; | 56 std::vector<CFX_FloatRect> m_resArray; |
57 FX_BOOL m_IsFind; | 57 FX_BOOL m_IsFind; |
58 }; | 58 }; |
59 | 59 |
60 #endif // CORE_FPDFTEXT_CPDF_TEXTPAGEFIND_H_ | 60 #endif // CORE_FPDFTEXT_CPDF_TEXTPAGEFIND_H_ |
OLD | NEW |