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 class CPDF_TextParseOptions | |
11 { | |
12 public: | |
13 CPDF_TextParseOptions(); | |
14 FX_BOOL m_bCheckObjectOrder; | |
15 FX_BOOL m_bCheckDirection; | |
16 int m_nCheckSameObject; | |
17 }; | |
18 class CPDF_TextPage; | 10 class CPDF_TextPage; |
19 class CPDF_LinkExtract; | 11 class CPDF_LinkExtract; |
20 class CPDF_TextPageFind; | 12 class CPDF_TextPageFind; |
21 class CPDF_DocProgressiveSearch; | 13 class CPDF_DocProgressiveSearch; |
22 #define FPDFTEXT_CHAR_ERROR -1 | 14 #define FPDFTEXT_CHAR_ERROR -1 |
23 #define FPDFTEXT_CHAR_NORMAL 0 | 15 #define FPDFTEXT_CHAR_NORMAL 0 |
24 #define FPDFTEXT_CHAR_GENERATED 1 | 16 #define FPDFTEXT_CHAR_GENERATED 1 |
25 #define FPDFTEXT_CHAR_UNUNICODE 2 | 17 #define FPDFTEXT_CHAR_UNUNICODE 2 |
26 #define FPDFTEXT_CHAR_HYPHEN 3 | 18 #define FPDFTEXT_CHAR_HYPHEN 3 |
27 #define FPDFTEXT_CHAR_PIECE 4 | 19 #define FPDFTEXT_CHAR_PIECE 4 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 LINK_InfoArray m_LinkList; | 205 LINK_InfoArray m_LinkList; |
214 const CPDF_TextPage* m_pTextPage; | 206 const CPDF_TextPage* m_pTextPage; |
215 CFX_WideString m_strPageText; | 207 CFX_WideString m_strPageText; |
216 FX_BOOL m_IsParserd; | 208 FX_BOOL m_IsParserd; |
217 }; | 209 }; |
218 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); | 210 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); |
219 void NormalizeString(CFX_WideString& str); | 211 void NormalizeString(CFX_WideString& str); |
220 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); | 212 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); |
221 | 213 |
222 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 214 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
OLD | NEW |