| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 const CFX_AffineMatrix& formMatrix, | 112 const CFX_AffineMatrix& formMatrix, |
| 113 FX_POSITION ObjPos); | 113 FX_POSITION ObjPos); |
| 114 int ProcessInsertObject(const CPDF_TextObject* pObj, | 114 int ProcessInsertObject(const CPDF_TextObject* pObj, |
| 115 const CFX_AffineMatrix& formMatrix); | 115 const CFX_AffineMatrix& formMatrix); |
| 116 FX_BOOL GenerateCharInfo(FX_WCHAR unicode, PAGECHAR_INFO& info); | 116 FX_BOOL GenerateCharInfo(FX_WCHAR unicode, PAGECHAR_INFO& info); |
| 117 FX_BOOL IsSameAsPreTextObject(CPDF_TextObject* pTextObj, FX_POSITION ObjPos); | 117 FX_BOOL IsSameAsPreTextObject(CPDF_TextObject* pTextObj, FX_POSITION ObjPos); |
| 118 FX_BOOL IsSameTextObject(CPDF_TextObject* pTextObj1, | 118 FX_BOOL IsSameTextObject(CPDF_TextObject* pTextObj1, |
| 119 CPDF_TextObject* pTextObj2); | 119 CPDF_TextObject* pTextObj2); |
| 120 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) const; | 120 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) const; |
| 121 void CloseTempLine(); | 121 void CloseTempLine(); |
| 122 void OnPiece(IFX_BidiChar* pBidi, CFX_WideString& str); | 122 void OnPiece(CFX_BidiChar* pBidi, CFX_WideString& str); |
| 123 int32_t PreMarkedContent(PDFTEXT_Obj pObj); | 123 int32_t PreMarkedContent(PDFTEXT_Obj pObj); |
| 124 void ProcessMarkedContent(PDFTEXT_Obj pObj); | 124 void ProcessMarkedContent(PDFTEXT_Obj pObj); |
| 125 void CheckMarkedContentObject(int32_t& start, int32_t& nCount) const; | 125 void CheckMarkedContentObject(int32_t& start, int32_t& nCount) const; |
| 126 void FindPreviousTextObject(void); | 126 void FindPreviousTextObject(void); |
| 127 void AddCharInfoByLRDirection(CFX_WideString& str, int i); | 127 void AddCharInfoByLRDirection(CFX_WideString& str, int i); |
| 128 void AddCharInfoByRLDirection(CFX_WideString& str, int i); | 128 void AddCharInfoByRLDirection(CFX_WideString& str, int i); |
| 129 int32_t GetTextObjectWritingMode(const CPDF_TextObject* pTextObj); | 129 int32_t GetTextObjectWritingMode(const CPDF_TextObject* pTextObj); |
| 130 int32_t FindTextlineFlowDirection(); | 130 int32_t FindTextlineFlowDirection(); |
| 131 | 131 |
| 132 CPDFText_ParseOptions m_ParseOptions; | 132 CPDFText_ParseOptions m_ParseOptions; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 236 |
| 237 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); | 237 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); |
| 238 void NormalizeString(CFX_WideString& str); | 238 void NormalizeString(CFX_WideString& str); |
| 239 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); | 239 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); |
| 240 void GetTextStream_Unicode(CFX_WideTextBuf& buffer, | 240 void GetTextStream_Unicode(CFX_WideTextBuf& buffer, |
| 241 CPDF_PageObjects* pPage, | 241 CPDF_PageObjects* pPage, |
| 242 FX_BOOL bUseLF, | 242 FX_BOOL bUseLF, |
| 243 CFX_PtrArray* pObjArray); | 243 CFX_PtrArray* pObjArray); |
| 244 | 244 |
| 245 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 245 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
| OLD | NEW |