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 #include "public/fpdf_text.h" | 7 #include "public/fpdf_text.h" |
8 | 8 |
| 9 #include "core/fpdftext/include/ipdf_linkextract.h" |
| 10 #include "core/fpdftext/include/ipdf_textpage.h" |
| 11 #include "core/fpdftext/include/ipdf_textpagefind.h" |
9 #include "core/include/fpdfdoc/fpdf_doc.h" | 12 #include "core/include/fpdfdoc/fpdf_doc.h" |
10 #include "core/include/fpdftext/fpdf_text.h" | |
11 #include "fpdfsdk/include/fsdk_define.h" | 13 #include "fpdfsdk/include/fsdk_define.h" |
12 | 14 |
13 #ifdef PDF_ENABLE_XFA | 15 #ifdef PDF_ENABLE_XFA |
14 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" | 16 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" |
15 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h" | 17 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h" |
16 #endif // PDF_ENABLE_XFA | 18 #endif // PDF_ENABLE_XFA |
17 | 19 |
18 #ifdef _WIN32 | 20 #ifdef _WIN32 |
19 #include <tchar.h> | 21 #include <tchar.h> |
20 #endif | 22 #endif |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 CFX_FloatRect rect = rectArray.GetAt(rect_index); | 292 CFX_FloatRect rect = rectArray.GetAt(rect_index); |
291 *left = rect.left; | 293 *left = rect.left; |
292 *right = rect.right; | 294 *right = rect.right; |
293 *top = rect.top; | 295 *top = rect.top; |
294 *bottom = rect.bottom; | 296 *bottom = rect.bottom; |
295 } | 297 } |
296 } | 298 } |
297 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page) { | 299 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page) { |
298 delete (IPDF_LinkExtract*)link_page; | 300 delete (IPDF_LinkExtract*)link_page; |
299 } | 301 } |
OLD | NEW |