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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 int32_t GetTextObjectWritingMode(const CPDF_TextObject* pTextObj); | 126 int32_t GetTextObjectWritingMode(const CPDF_TextObject* pTextObj); |
127 int32_t FindTextlineFlowDirection(); | 127 int32_t FindTextlineFlowDirection(); |
128 | 128 |
129 void SwapTempTextBuf(int32_t iCharListStartAppend, int32_t iBufStartAppend); | 129 void SwapTempTextBuf(int32_t iCharListStartAppend, int32_t iBufStartAppend); |
130 FX_BOOL IsRightToLeft(const CPDF_TextObject* pTextObj, | 130 FX_BOOL IsRightToLeft(const CPDF_TextObject* pTextObj, |
131 const CPDF_Font* pFont, | 131 const CPDF_Font* pFont, |
132 int nItems) const; | 132 int nItems) const; |
133 | 133 |
134 CPDFText_ParseOptions m_ParseOptions; | 134 CPDFText_ParseOptions m_ParseOptions; |
135 CFX_WordArray m_CharIndex; | 135 CFX_WordArray m_CharIndex; |
136 const CPDF_PageObjects* const m_pPage; | 136 const CPDF_PageObjectList* const m_pPage; |
137 PAGECHAR_InfoArray m_charList; | 137 PAGECHAR_InfoArray m_charList; |
138 CFX_WideTextBuf m_TextBuf; | 138 CFX_WideTextBuf m_TextBuf; |
139 PAGECHAR_InfoArray m_TempCharList; | 139 PAGECHAR_InfoArray m_TempCharList; |
140 CFX_WideTextBuf m_TempTextBuf; | 140 CFX_WideTextBuf m_TempTextBuf; |
141 const int m_parserflag; | 141 const int m_parserflag; |
142 CPDF_TextObject* m_pPreTextObj; | 142 CPDF_TextObject* m_pPreTextObj; |
143 CFX_Matrix m_perMatrix; | 143 CFX_Matrix m_perMatrix; |
144 bool m_bIsParsed; | 144 bool m_bIsParsed; |
145 CFX_Matrix m_DisplayMatrix; | 145 CFX_Matrix m_DisplayMatrix; |
146 SEGMENT_Array m_Segment; | 146 SEGMENT_Array m_Segment; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 LINK_InfoArray m_LinkList; | 234 LINK_InfoArray m_LinkList; |
235 const CPDF_TextPage* m_pTextPage; | 235 const CPDF_TextPage* m_pTextPage; |
236 CFX_WideString m_strPageText; | 236 CFX_WideString m_strPageText; |
237 bool m_bIsParsed; | 237 bool m_bIsParsed; |
238 }; | 238 }; |
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_PageObjectList* 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 |