| 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 "../../include/fpdftext/fpdf_text.h" | 10 #include "../../include/fpdftext/fpdf_text.h" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 void GetBoundedSegment(int index, int& start, int& count) const override; | 220 void GetBoundedSegment(int index, int& start, int& count) const override; |
| 221 void GetRects(int index, CFX_RectArray& rects) const override; | 221 void GetRects(int index, CFX_RectArray& rects) const override; |
| 222 | 222 |
| 223 FX_BOOL IsExtract() const { return m_IsParserd; } | 223 FX_BOOL IsExtract() const { return m_IsParserd; } |
| 224 | 224 |
| 225 protected: | 225 protected: |
| 226 void parserLink(); | 226 void parserLink(); |
| 227 void DeleteLinkList(); | 227 void DeleteLinkList(); |
| 228 FX_BOOL CheckWebLink(CFX_WideString& strBeCheck); | 228 FX_BOOL CheckWebLink(CFX_WideString& strBeCheck); |
| 229 FX_BOOL CheckMailLink(CFX_WideString& str); | 229 FX_BOOL CheckMailLink(CFX_WideString& str); |
| 230 FX_BOOL AppendToLinkList(int start, int count, const CFX_WideString& strUrl); | 230 void AppendToLinkList(int start, int count, const CFX_WideString& strUrl); |
| 231 | 231 |
| 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 FX_BOOL m_IsParserd; | 236 FX_BOOL m_IsParserd; |
| 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 void NormalizeString(CFX_WideString& str); | 240 void NormalizeString(CFX_WideString& str); |
| 241 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); | 241 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); |
| 242 void GetTextStream_Unicode(CFX_WideTextBuf& buffer, | 242 void GetTextStream_Unicode(CFX_WideTextBuf& buffer, |
| 243 CPDF_PageObjects* pPage, | 243 CPDF_PageObjects* pPage, |
| 244 FX_BOOL bUseLF, | 244 FX_BOOL bUseLF, |
| 245 CFX_PtrArray* pObjArray); | 245 CFX_PtrArray* pObjArray); |
| 246 | 246 |
| 247 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 247 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
| OLD | NEW |