| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 LINK_InfoArray m_LinkList; | 200 LINK_InfoArray m_LinkList; |
| 209 const CPDF_TextPage* m_pTextPage; | 201 const CPDF_TextPage* m_pTextPage; |
| 210 CFX_WideString m_strPageText; | 202 CFX_WideString m_strPageText; |
| 211 FX_BOOL m_IsParserd; | 203 FX_BOOL m_IsParserd; |
| 212 }; | 204 }; |
| 213 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); | 205 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); |
| 214 void NormalizeString(CFX_WideString& str); | 206 void NormalizeString(CFX_WideString& str); |
| 215 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); | 207 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); |
| 216 | 208 |
| 217 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 209 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
| OLD | NEW |