| OLD | NEW |
| 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 CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 7 #ifndef CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
| 8 #define CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 8 #define CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 int nStartPos, | 179 int nStartPos, |
| 180 int& WordLength); | 180 int& WordLength); |
| 181 int GetCharIndex(int index) const; | 181 int GetCharIndex(int index) const; |
| 182 | 182 |
| 183 private: | 183 private: |
| 184 std::vector<FX_WORD> m_CharIndex; | 184 std::vector<FX_WORD> m_CharIndex; |
| 185 const IPDF_TextPage* m_pTextPage; | 185 const IPDF_TextPage* m_pTextPage; |
| 186 CFX_WideString m_strText; | 186 CFX_WideString m_strText; |
| 187 CFX_WideString m_findWhat; | 187 CFX_WideString m_findWhat; |
| 188 int m_flags; | 188 int m_flags; |
| 189 CFX_WideStringArray m_csFindWhatArray; | 189 std::vector<CFX_WideString> m_csFindWhatArray; |
| 190 int m_findNextStart; | 190 int m_findNextStart; |
| 191 int m_findPreStart; | 191 int m_findPreStart; |
| 192 FX_BOOL m_bMatchCase; | 192 FX_BOOL m_bMatchCase; |
| 193 FX_BOOL m_bMatchWholeWord; | 193 FX_BOOL m_bMatchWholeWord; |
| 194 int m_resStart; | 194 int m_resStart; |
| 195 int m_resEnd; | 195 int m_resEnd; |
| 196 CFX_RectArray m_resArray; | 196 CFX_RectArray m_resArray; |
| 197 FX_BOOL m_IsFind; | 197 FX_BOOL m_IsFind; |
| 198 }; | 198 }; |
| 199 | 199 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 private: | 232 private: |
| 233 LINK_InfoArray m_LinkList; | 233 LINK_InfoArray m_LinkList; |
| 234 const CPDF_TextPage* m_pTextPage; | 234 const CPDF_TextPage* m_pTextPage; |
| 235 CFX_WideString m_strPageText; | 235 CFX_WideString m_strPageText; |
| 236 bool m_bIsParsed; | 236 bool m_bIsParsed; |
| 237 }; | 237 }; |
| 238 | 238 |
| 239 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); | 239 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); |
| 240 | 240 |
| 241 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 241 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
| OLD | NEW |