| 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_LinkExtract; | 10 class CPDF_LinkExtract; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 const CFX_AffineMatrix& formMatrix, | 104 const CFX_AffineMatrix& formMatrix, |
| 105 FX_POSITION ObjPos); | 105 FX_POSITION ObjPos); |
| 106 int ProcessInsertObject(const CPDF_TextObject* pObj, | 106 int ProcessInsertObject(const CPDF_TextObject* pObj, |
| 107 const CFX_AffineMatrix& formMatrix); | 107 const CFX_AffineMatrix& formMatrix); |
| 108 FX_BOOL GenerateCharInfo(FX_WCHAR unicode, PAGECHAR_INFO& info); | 108 FX_BOOL GenerateCharInfo(FX_WCHAR unicode, PAGECHAR_INFO& info); |
| 109 FX_BOOL IsSameAsPreTextObject(CPDF_TextObject* pTextObj, FX_POSITION ObjPos); | 109 FX_BOOL IsSameAsPreTextObject(CPDF_TextObject* pTextObj, FX_POSITION ObjPos); |
| 110 FX_BOOL IsSameTextObject(CPDF_TextObject* pTextObj1, | 110 FX_BOOL IsSameTextObject(CPDF_TextObject* pTextObj1, |
| 111 CPDF_TextObject* pTextObj2); | 111 CPDF_TextObject* pTextObj2); |
| 112 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) const; | 112 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) const; |
| 113 void CloseTempLine(); | 113 void CloseTempLine(); |
| 114 void OnPiece(IFX_BidiChar* pBidi, CFX_WideString& str); | 114 void OnPiece(CFX_BidiChar* pBidi, CFX_WideString& str); |
| 115 int32_t PreMarkedContent(PDFTEXT_Obj pObj); | 115 int32_t PreMarkedContent(PDFTEXT_Obj pObj); |
| 116 void ProcessMarkedContent(PDFTEXT_Obj pObj); | 116 void ProcessMarkedContent(PDFTEXT_Obj pObj); |
| 117 void CheckMarkedContentObject(int32_t& start, int32_t& nCount) const; | 117 void CheckMarkedContentObject(int32_t& start, int32_t& nCount) const; |
| 118 void FindPreviousTextObject(void); | 118 void FindPreviousTextObject(void); |
| 119 void AddCharInfoByLRDirection(CFX_WideString& str, int i); | 119 void AddCharInfoByLRDirection(CFX_WideString& str, int i); |
| 120 void AddCharInfoByRLDirection(CFX_WideString& str, int i); | 120 void AddCharInfoByRLDirection(CFX_WideString& str, int i); |
| 121 int32_t GetTextObjectWritingMode(const CPDF_TextObject* pTextObj); | 121 int32_t GetTextObjectWritingMode(const CPDF_TextObject* pTextObj); |
| 122 int32_t FindTextlineFlowDirection(); | 122 int32_t FindTextlineFlowDirection(); |
| 123 void SwapTempTextBuf(int32_t iCharListStartAppend, int32_t iBufStartAppend); | 123 void SwapTempTextBuf(int32_t iCharListStartAppend, int32_t iBufStartAppend); |
| 124 FX_BOOL IsRightToLeft(const CPDF_TextObject* pTextObj, | 124 FX_BOOL IsRightToLeft(const CPDF_TextObject* pTextObj, |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 const CPDF_TextPage* m_pTextPage; | 230 const CPDF_TextPage* m_pTextPage; |
| 231 CFX_WideString m_strPageText; | 231 CFX_WideString m_strPageText; |
| 232 FX_BOOL m_IsParserd; | 232 FX_BOOL m_IsParserd; |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); | 235 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); |
| 236 void NormalizeString(CFX_WideString& str); | 236 void NormalizeString(CFX_WideString& str); |
| 237 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); | 237 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); |
| 238 | 238 |
| 239 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 239 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
| OLD | NEW |