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_TextPage; | 10 class CPDF_TextPage; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 CFX_WideTextBuf m_TempTextBuf; | 122 CFX_WideTextBuf m_TempTextBuf; |
123 int m_parserflag; | 123 int m_parserflag; |
124 CPDF_TextObject* m_pPreTextObj; | 124 CPDF_TextObject* m_pPreTextObj; |
125 CFX_AffineMatrix m_perMatrix; | 125 CFX_AffineMatrix m_perMatrix; |
126 FX_BOOL m_IsParsered; | 126 FX_BOOL m_IsParsered; |
127 CFX_AffineMatrix m_DisplayMatrix; | 127 CFX_AffineMatrix m_DisplayMatrix; |
128 | 128 |
129 SEGMENT_Array m_Segment; | 129 SEGMENT_Array m_Segment; |
130 CFX_RectArray m_SelRects; | 130 CFX_RectArray m_SelRects; |
131 LINEOBJ m_LineObj; | 131 LINEOBJ m_LineObj; |
132 FX_BOOL» » » » » » » m_TextlineDir; | 132 int32_t» » » » » » » m_TextlineDir; |
133 CFX_FloatRect m_CurlineRect; | 133 CFX_FloatRect m_CurlineRect; |
134 }; | 134 }; |
135 class CPDF_TextPageFind: public IPDF_TextPageFind | 135 class CPDF_TextPageFind: public IPDF_TextPageFind |
136 { | 136 { |
137 public: | 137 public: |
138 CPDF_TextPageFind(const IPDF_TextPage* pTextPage); | 138 CPDF_TextPageFind(const IPDF_TextPage* pTextPage); |
139 virtual ~CPDF_TextPageFi
nd() {}; | 139 virtual ~CPDF_TextPageFi
nd() {}; |
140 public: | 140 public: |
141 virtual FX_BOOL FindFirst(const CFX_Wide
String& findwhat, int flags, int startPos = 0); | 141 virtual FX_BOOL FindFirst(const CFX_Wide
String& findwhat, int flags, int startPos = 0); |
142 virtual FX_BOOL FindNext(); | 142 virtual FX_BOOL FindNext(); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 LINK_InfoArray m_LinkList; | 204 LINK_InfoArray m_LinkList; |
205 const CPDF_TextPage* m_pTextPage; | 205 const CPDF_TextPage* m_pTextPage; |
206 CFX_WideString m_strPageText; | 206 CFX_WideString m_strPageText; |
207 FX_BOOL m_IsParserd; | 207 FX_BOOL m_IsParserd; |
208 }; | 208 }; |
209 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); | 209 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); |
210 void NormalizeString(CFX_WideString& str); | 210 void NormalizeString(CFX_WideString& str); |
211 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); | 211 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); |
212 | 212 |
213 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ | 213 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ |
OLD | NEW |