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

Side by Side Diff: core/fpdftext/fpdf_text_int.cpp

Issue 1825953002: Move core/include/fxcrt to core/fxcrt/include. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/fpdftext/fpdf_text_int.h ('k') | core/fpdftext/include/ipdf_linkextract.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 #include "core/fpdftext/fpdf_text_int.h" 7 #include "core/fpdftext/fpdf_text_int.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <cctype> 10 #include <cctype>
11 #include <cwctype> 11 #include <cwctype>
12 #include <memory> 12 #include <memory>
13 #include <utility> 13 #include <utility>
14 #include <vector> 14 #include <vector>
15 15
16 #include "core/fpdfapi/fpdf_page/include/cpdf_formobject.h" 16 #include "core/fpdfapi/fpdf_page/include/cpdf_formobject.h"
17 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" 17 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h"
18 #include "core/fpdfapi/fpdf_page/include/cpdf_textobject.h" 18 #include "core/fpdfapi/fpdf_page/include/cpdf_textobject.h"
19 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" 19 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h"
20 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h" 20 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h"
21 #include "core/fpdftext/include/ipdf_linkextract.h" 21 #include "core/fpdftext/include/ipdf_linkextract.h"
22 #include "core/fpdftext/include/ipdf_textpage.h" 22 #include "core/fpdftext/include/ipdf_textpage.h"
23 #include "core/fpdftext/include/ipdf_textpagefind.h" 23 #include "core/fpdftext/include/ipdf_textpagefind.h"
24 #include "core/fpdftext/unicodenormalization.h" 24 #include "core/fpdftext/unicodenormalization.h"
25 #include "core/fxcrt/fx_bidi.h"
26 #include "core/fxcrt/include/fx_ext.h"
27 #include "core/fxcrt/include/fx_ucd.h"
25 #include "core/include/fpdfapi/fpdf_resource.h" 28 #include "core/include/fpdfapi/fpdf_resource.h"
26 #include "core/include/fxcrt/fx_bidi.h"
27 #include "core/include/fxcrt/fx_ext.h"
28 #include "core/include/fxcrt/fx_ucd.h"
29 #include "third_party/base/stl_util.h" 29 #include "third_party/base/stl_util.h"
30 30
31 #define FPDFTEXT_RLTB 1 31 #define FPDFTEXT_RLTB 1
32 #define FPDFTEXT_LEFT -1 32 #define FPDFTEXT_LEFT -1
33 #define FPDFTEXT_RIGHT 1 33 #define FPDFTEXT_RIGHT 1
34 34
35 #define FPDFTEXT_MATCHCASE 0x00000001 35 #define FPDFTEXT_MATCHCASE 0x00000001
36 #define FPDFTEXT_MATCHWHOLEWORD 0x00000002 36 #define FPDFTEXT_MATCHWHOLEWORD 0x00000002
37 #define FPDFTEXT_CONSECUTIVE 0x00000004 37 #define FPDFTEXT_CONSECUTIVE 0x00000004
38 38
(...skipping 2470 matching lines...) Expand 10 before | Expand all | Expand 10 after
2509 if (!m_bIsParsed || index < 0 || index >= m_LinkList.GetSize()) { 2509 if (!m_bIsParsed || index < 0 || index >= m_LinkList.GetSize()) {
2510 return; 2510 return;
2511 } 2511 }
2512 CPDF_LinkExt* link = NULL; 2512 CPDF_LinkExt* link = NULL;
2513 link = m_LinkList.GetAt(index); 2513 link = m_LinkList.GetAt(index);
2514 if (!link) { 2514 if (!link) {
2515 return; 2515 return;
2516 } 2516 }
2517 m_pTextPage->GetRectArray(link->m_Start, link->m_Count, rects); 2517 m_pTextPage->GetRectArray(link->m_Start, link->m_Count, rects);
2518 } 2518 }
OLDNEW
« no previous file with comments | « core/fpdftext/fpdf_text_int.h ('k') | core/fpdftext/include/ipdf_linkextract.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698