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 "../include/fsdk_define.h" | 8 #include "../include/fsdk_define.h" |
8 #include "../include/fpdftext.h" | |
9 | 9 |
10 #ifdef _WIN32 | 10 #ifdef _WIN32 |
11 #include <tchar.h> | 11 #include <tchar.h> |
12 #endif | 12 #endif |
13 | 13 |
14 // jabdelmalek: commented out to build on Linux. Not used. | 14 // jabdelmalek: commented out to build on Linux. Not used. |
15 // extern HANDLE g_hModule; | 15 // extern HANDLE g_hModule; |
16 | 16 |
17 DLLEXPORT FPDF_TEXTPAGE STDCALL FPDFText_LoadPage(FPDF_PAGE page) | 17 DLLEXPORT FPDF_TEXTPAGE STDCALL FPDFText_LoadPage(FPDF_PAGE page) |
18 { | 18 { |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 } | 244 } |
245 } | 245 } |
246 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page) | 246 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page) |
247 { | 247 { |
248 if (!link_page) return; | 248 if (!link_page) return; |
249 IPDF_LinkExtract* pageLink=(IPDF_LinkExtract*)link_page; | 249 IPDF_LinkExtract* pageLink=(IPDF_LinkExtract*)link_page; |
250 delete pageLink; | 250 delete pageLink; |
251 pageLink =NULL; | 251 pageLink =NULL; |
252 } | 252 } |
253 | 253 |
OLD | NEW |