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> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "core/include/fpdfapi/fpdf_page.h" | 13 #include "core/include/fpdfapi/fpdf_page.h" |
14 #include "core/include/fpdftext/fpdf_text.h" | 14 #include "core/include/fpdftext/fpdf_text.h" |
15 #include "core/include/fxcrt/fx_basic.h" | 15 #include "core/include/fxcrt/fx_basic.h" |
16 | 16 |
17 class CFX_BidiChar; | 17 class CFX_BidiChar; |
18 class CPDF_DocProgressiveSearch; | |
19 class CPDF_FormObject; | 18 class CPDF_FormObject; |
20 class CPDF_LinkExtract; | 19 class CPDF_LinkExtract; |
21 class CPDF_TextPageFind; | 20 class CPDF_TextPageFind; |
22 | 21 |
23 #define FPDFTEXT_CHAR_ERROR -1 | 22 #define FPDFTEXT_CHAR_ERROR -1 |
24 #define FPDFTEXT_CHAR_NORMAL 0 | 23 #define FPDFTEXT_CHAR_NORMAL 0 |
25 #define FPDFTEXT_CHAR_GENERATED 1 | 24 #define FPDFTEXT_CHAR_GENERATED 1 |
26 #define FPDFTEXT_CHAR_UNUNICODE 2 | 25 #define FPDFTEXT_CHAR_UNUNICODE 2 |
27 #define FPDFTEXT_CHAR_HYPHEN 3 | 26 #define FPDFTEXT_CHAR_HYPHEN 3 |
28 #define FPDFTEXT_CHAR_PIECE 4 | 27 #define FPDFTEXT_CHAR_PIECE 4 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 private: | 235 private: |
237 LINK_InfoArray m_LinkList; | 236 LINK_InfoArray m_LinkList; |
238 const CPDF_TextPage* m_pTextPage; | 237 const CPDF_TextPage* m_pTextPage; |
239 CFX_WideString m_strPageText; | 238 CFX_WideString m_strPageText; |
240 bool m_bIsParsed; | 239 bool m_bIsParsed; |
241 }; | 240 }; |
242 | 241 |
243 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); | 242 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); |
244 | 243 |
245 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 244 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
OLD | NEW |