| 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 "core/include/fpdftext/fpdf_text.h" | 10 #include "core/include/fpdftext/fpdf_text.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 CPDF_TextPage(const CPDF_Page* pPage, int flags); | 54 CPDF_TextPage(const CPDF_Page* pPage, int flags); |
| 55 ~CPDF_TextPage() override {} | 55 ~CPDF_TextPage() override {} |
| 56 | 56 |
| 57 // IPDF_TextPage | 57 // IPDF_TextPage |
| 58 FX_BOOL ParseTextPage() override; | 58 FX_BOOL ParseTextPage() override; |
| 59 void NormalizeObjects(FX_BOOL bNormalize) override; | 59 void NormalizeObjects(FX_BOOL bNormalize) override; |
| 60 bool IsParsed() const override { return m_bIsParsed; } | 60 bool IsParsed() const override { return m_bIsParsed; } |
| 61 int CharIndexFromTextIndex(int TextIndex) const override; | 61 int CharIndexFromTextIndex(int TextIndex) const override; |
| 62 int TextIndexFromCharIndex(int CharIndex) const override; | 62 int TextIndexFromCharIndex(int CharIndex) const override; |
| 63 int CountChars() const override; | 63 int CountChars() const override; |
| 64 void GetCharInfo(int index, FPDF_CHAR_INFO& info) const override; | 64 void GetCharInfo(int index, FPDF_CHAR_INFO* info) const override; |
| 65 void GetRectArray(int start, | 65 void GetRectArray(int start, |
| 66 int nCount, | 66 int nCount, |
| 67 CFX_RectArray& rectArray) const override; | 67 CFX_RectArray& rectArray) const override; |
| 68 int GetIndexAtPos(CPDF_Point point, | 68 int GetIndexAtPos(CPDF_Point point, |
| 69 FX_FLOAT xTolerance, | 69 FX_FLOAT xTolerance, |
| 70 FX_FLOAT yTolerance) const override; | 70 FX_FLOAT yTolerance) const override; |
| 71 int GetIndexAtPos(FX_FLOAT x, | 71 int GetIndexAtPos(FX_FLOAT x, |
| 72 FX_FLOAT y, | 72 FX_FLOAT y, |
| 73 FX_FLOAT xTolerance, | 73 FX_FLOAT xTolerance, |
| 74 FX_FLOAT yTolerance) const override; | 74 FX_FLOAT yTolerance) const override; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 | 239 |
| 240 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); | 240 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); |
| 241 void NormalizeString(CFX_WideString& str); | 241 void NormalizeString(CFX_WideString& str); |
| 242 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); | 242 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); |
| 243 void GetTextStream_Unicode(CFX_WideTextBuf& buffer, | 243 void GetTextStream_Unicode(CFX_WideTextBuf& buffer, |
| 244 CPDF_PageObjects* pPage, | 244 CPDF_PageObjects* pPage, |
| 245 FX_BOOL bUseLF, | 245 FX_BOOL bUseLF, |
| 246 CFX_PtrArray* pObjArray); | 246 CFX_PtrArray* pObjArray); |
| 247 | 247 |
| 248 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 248 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
| OLD | NEW |