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

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

Issue 1088733002: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase. Created 5 years, 8 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_search.cpp ('k') | core/src/fpdftext/txtproc.h » ('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 _PDF_TEXT_INT_H_ 7 #ifndef _PDF_TEXT_INT_H_
8 #define _PDF_TEXT_INT_H_ 8 #define _PDF_TEXT_INT_H_
9 class CPDF_TextParseOptions : public CFX_Object 9 class CPDF_TextParseOptions
10 { 10 {
11 public: 11 public:
12 CPDF_TextParseOptions(); 12 CPDF_TextParseOptions();
13 FX_BOOL m_bCheckObjectOrder; 13 FX_BOOL m_bCheckObjectOrder;
14 FX_BOOL m_bCheckDirection; 14 FX_BOOL m_bCheckDirection;
15 int m_nCheckSameObject; 15 int m_nCheckSameObject;
16 }; 16 };
17 class CPDF_TextPage; 17 class CPDF_TextPage;
18 class CPDF_LinkExtract; 18 class CPDF_LinkExtract;
19 class CPDF_TextPageFind; 19 class CPDF_TextPageFind;
20 class CPDF_DocProgressiveSearch; 20 class CPDF_DocProgressiveSearch;
21 #define FPDFTEXT_CHAR_ERROR -1 21 #define FPDFTEXT_CHAR_ERROR -1
22 #define FPDFTEXT_CHAR_NORMAL 0 22 #define FPDFTEXT_CHAR_NORMAL 0
23 #define FPDFTEXT_CHAR_GENERATED 1 23 #define FPDFTEXT_CHAR_GENERATED 1
24 #define FPDFTEXT_CHAR_UNUNICODE 2 24 #define FPDFTEXT_CHAR_UNUNICODE 2
25 #define FPDFTEXT_CHAR_HYPHEN 3 25 #define FPDFTEXT_CHAR_HYPHEN 3
26 #define FPDFTEXT_CHAR_PIECE 4 26 #define FPDFTEXT_CHAR_PIECE 4
27 #define FPDFTEXT_MC_PASS 0 27 #define FPDFTEXT_MC_PASS 0
28 #define FPDFTEXT_MC_DONE 1 28 #define FPDFTEXT_MC_DONE 1
29 #define FPDFTEXT_MC_DELAY 2 29 #define FPDFTEXT_MC_DELAY 2
30 typedef struct _PAGECHAR_INFO: public CFX_Object { 30 typedef struct _PAGECHAR_INFO {
31 int m_CharCode; 31 int m_CharCode;
32 FX_WCHAR m_Unicode; 32 FX_WCHAR m_Unicode;
33 FX_FLOAT m_OriginX; 33 FX_FLOAT m_OriginX;
34 FX_FLOAT m_OriginY; 34 FX_FLOAT m_OriginY;
35 FX_INT32 m_Flag; 35 FX_INT32 m_Flag;
36 CFX_FloatRect m_CharBox; 36 CFX_FloatRect m_CharBox;
37 CPDF_TextObject* m_pTextObj; 37 CPDF_TextObject* m_pTextObj;
38 CFX_AffineMatrix m_Matrix; 38 CFX_AffineMatrix m_Matrix;
39 int m_Index; 39 int m_Index;
40 } PAGECHAR_INFO; 40 } PAGECHAR_INFO;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 CFX_WideStringArray m_csFindWhatArray; 170 CFX_WideStringArray m_csFindWhatArray;
171 int m_findNextStart; 171 int m_findNextStart;
172 int m_findPreStart; 172 int m_findPreStart;
173 FX_BOOL m_bMatchCase; 173 FX_BOOL m_bMatchCase;
174 FX_BOOL m_bMatchWholeWor d; 174 FX_BOOL m_bMatchWholeWor d;
175 int m_resStart; 175 int m_resStart;
176 int m_resEnd; 176 int m_resEnd;
177 CFX_RectArray m_resArray; 177 CFX_RectArray m_resArray;
178 FX_BOOL m_IsFind; 178 FX_BOOL m_IsFind;
179 }; 179 };
180 class CPDF_LinkExt: public CFX_Object 180 class CPDF_LinkExt
181 { 181 {
182 public: 182 public:
183 CPDF_LinkExt() {}; 183 CPDF_LinkExt() {};
184 int m_Start; 184 int m_Start;
185 int m_Count; 185 int m_Count;
186 CFX_WideString m_strUrl; 186 CFX_WideString m_strUrl;
187 virtual ~CPDF_LinkExt() {}; 187 virtual ~CPDF_LinkExt() {};
188 }; 188 };
189 typedef CFX_ArrayTemplate<CPDF_LinkExt*> LINK_InfoArray; 189 typedef CFX_ArrayTemplate<CPDF_LinkExt*> LINK_InfoArray;
190 class CPDF_LinkExtract: public IPDF_LinkExtract 190 class CPDF_LinkExtract: public IPDF_LinkExtract
(...skipping 20 matching lines...) Expand all
211 private: 211 private:
212 LINK_InfoArray m_LinkList; 212 LINK_InfoArray m_LinkList;
213 const CPDF_TextPage* m_pTextPage; 213 const CPDF_TextPage* m_pTextPage;
214 CFX_WideString m_strPageText; 214 CFX_WideString m_strPageText;
215 FX_BOOL m_IsParserd; 215 FX_BOOL m_IsParserd;
216 }; 216 };
217 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_LPWSTR pDst); 217 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_LPWSTR pDst);
218 void NormalizeString(CFX_WideString& str); 218 void NormalizeString(CFX_WideString& str);
219 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); 219 void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest);
220 #endif 220 #endif
OLDNEW
« no previous file with comments | « core/src/fpdftext/fpdf_text_search.cpp ('k') | core/src/fpdftext/txtproc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698