Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: core/src/fpdftext/text_int.h

Issue 1701883004: Banish CFX_ByteStringArray and CFX_WideStringArray to the XFA side. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/src/fpdftext/fpdf_text_int.cpp ('k') | core/src/fxge/ge/fx_ge_fontmap.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <deque> 10 #include <deque>
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 int nStartPos, 179 int nStartPos,
180 int& WordLength); 180 int& WordLength);
181 int GetCharIndex(int index) const; 181 int GetCharIndex(int index) const;
182 182
183 private: 183 private:
184 std::vector<FX_WORD> m_CharIndex; 184 std::vector<FX_WORD> m_CharIndex;
185 const IPDF_TextPage* m_pTextPage; 185 const IPDF_TextPage* m_pTextPage;
186 CFX_WideString m_strText; 186 CFX_WideString m_strText;
187 CFX_WideString m_findWhat; 187 CFX_WideString m_findWhat;
188 int m_flags; 188 int m_flags;
189 CFX_WideStringArray m_csFindWhatArray; 189 std::vector<CFX_WideString> m_csFindWhatArray;
190 int m_findNextStart; 190 int m_findNextStart;
191 int m_findPreStart; 191 int m_findPreStart;
192 FX_BOOL m_bMatchCase; 192 FX_BOOL m_bMatchCase;
193 FX_BOOL m_bMatchWholeWord; 193 FX_BOOL m_bMatchWholeWord;
194 int m_resStart; 194 int m_resStart;
195 int m_resEnd; 195 int m_resEnd;
196 CFX_RectArray m_resArray; 196 CFX_RectArray m_resArray;
197 FX_BOOL m_IsFind; 197 FX_BOOL m_IsFind;
198 }; 198 };
199 199
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 private: 232 private:
233 LINK_InfoArray m_LinkList; 233 LINK_InfoArray m_LinkList;
234 const CPDF_TextPage* m_pTextPage; 234 const CPDF_TextPage* m_pTextPage;
235 CFX_WideString m_strPageText; 235 CFX_WideString m_strPageText;
236 bool m_bIsParsed; 236 bool m_bIsParsed;
237 }; 237 };
238 238
239 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); 239 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst);
240 240
241 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ 241 #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_
OLDNEW
« no previous file with comments | « core/src/fpdftext/fpdf_text_int.cpp ('k') | core/src/fxge/ge/fx_ge_fontmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698