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

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

Issue 1425153006: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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.cpp ('k') | core/src/fxcodec/DEPS » ('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 <ctype.h> 7 #include <ctype.h>
8 #include <algorithm> 8 #include <algorithm>
9 9
10 #include "../../../third_party/base/nonstd_unique_ptr.h"
11 #include "../../include/fpdfapi/fpdf_module.h" 10 #include "../../include/fpdfapi/fpdf_module.h"
12 #include "../../include/fpdfapi/fpdf_page.h" 11 #include "../../include/fpdfapi/fpdf_page.h"
13 #include "../../include/fpdfapi/fpdf_pageobj.h" 12 #include "../../include/fpdfapi/fpdf_pageobj.h"
14 #include "../../include/fpdfapi/fpdf_resource.h" 13 #include "../../include/fpdfapi/fpdf_resource.h"
15 #include "../../include/fpdftext/fpdf_text.h" 14 #include "../../include/fpdftext/fpdf_text.h"
16 #include "../../include/fxcrt/fx_bidi.h" 15 #include "../../include/fxcrt/fx_bidi.h"
17 #include "../../include/fxcrt/fx_ucd.h" 16 #include "../../include/fxcrt/fx_ucd.h"
18 #include "text_int.h" 17 #include "text_int.h"
18 #include "third_party/base/nonstd_unique_ptr.h"
19 19
20 namespace { 20 namespace {
21 21
22 FX_BOOL _IsIgnoreSpaceCharacter(FX_WCHAR curChar) { 22 FX_BOOL _IsIgnoreSpaceCharacter(FX_WCHAR curChar) {
23 if (curChar < 255) { 23 if (curChar < 255) {
24 return FALSE; 24 return FALSE;
25 } 25 }
26 if ((curChar >= 0x0600 && curChar <= 0x06FF) || 26 if ((curChar >= 0x0600 && curChar <= 0x06FF) ||
27 (curChar >= 0xFE70 && curChar <= 0xFEFF) || 27 (curChar >= 0xFE70 && curChar <= 0xFEFF) ||
28 (curChar >= 0xFB50 && curChar <= 0xFDFF) || 28 (curChar >= 0xFB50 && curChar <= 0xFDFF) ||
(...skipping 2697 matching lines...) Expand 10 before | Expand all | Expand 10 after
2726 if (!m_bIsParsed || index < 0 || index >= m_LinkList.GetSize()) { 2726 if (!m_bIsParsed || index < 0 || index >= m_LinkList.GetSize()) {
2727 return; 2727 return;
2728 } 2728 }
2729 CPDF_LinkExt* link = NULL; 2729 CPDF_LinkExt* link = NULL;
2730 link = m_LinkList.GetAt(index); 2730 link = m_LinkList.GetAt(index);
2731 if (!link) { 2731 if (!link) {
2732 return; 2732 return;
2733 } 2733 }
2734 m_pTextPage->GetRectArray(link->m_Start, link->m_Count, rects); 2734 m_pTextPage->GetRectArray(link->m_Start, link->m_Count, rects);
2735 } 2735 }
OLDNEW
« no previous file with comments | « core/src/fpdftext/fpdf_text.cpp ('k') | core/src/fxcodec/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698