| 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 #ifndef PUBLIC_FPDF_TEXT_H_ | 7 #ifndef PUBLIC_FPDF_TEXT_H_ |
| 8 #define PUBLIC_FPDF_TEXT_H_ | 8 #define PUBLIC_FPDF_TEXT_H_ |
| 9 | 9 |
| 10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
| 11 | 11 |
| 12 // Exported Functions | 12 // Exported Functions |
| 13 #ifdef __cplusplus | 13 #ifdef __cplusplus |
| 14 extern "C" { | 14 extern "C" { |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 // Function: FPDFText_LoadPage | 17 // Function: FPDFText_LoadPage |
| 18 // Prepare information about all characters in a page. | 18 // Prepare information about all characters in a page. |
| 19 // Parameters: | 19 // Parameters: |
| 20 // page - Handle to the page. Returned by FPDF_LoadPage function | 20 // page - Handle to the page. Returned by FPDF_LoadPage function |
| 21 // (in FPDFVIEW module). | 21 // (in FPDFVIEW module). |
| 22 // Return value: | 22 // Return value: |
| 23 // A handle to the text page information structure. | 23 // A handle to the text page information structure. |
| 24 // NULL if something goes wrong. | 24 // NULL if something goes wrong. |
| 25 // Comments: | 25 // Comments: |
| 26 // Application must call FPDFText_ClosePage to release the text page | 26 // Application must call FPDFText_ClosePage to release the text page |
| 27 // information. | 27 // information. |
| 28 // Notes: | |
| 29 // The method can not support to load out FPDF_TEXTPAGE for the | |
| 30 // document consists of dynamic fields. | |
| 31 // | 28 // |
| 32 DLLEXPORT FPDF_TEXTPAGE STDCALL FPDFText_LoadPage(FPDF_PAGE page); | 29 DLLEXPORT FPDF_TEXTPAGE STDCALL FPDFText_LoadPage(FPDF_PAGE page); |
| 33 | 30 |
| 34 // Function: FPDFText_ClosePage | 31 // Function: FPDFText_ClosePage |
| 35 // Release all resources allocated for a text page information | 32 // Release all resources allocated for a text page information |
| 36 // structure. | 33 // structure. |
| 37 // Parameters: | 34 // Parameters: |
| 38 // text_page - Handle to a text page information structure. | 35 // text_page - Handle to a text page information structure. |
| 39 // Returned by FPDFText_LoadPage function. | 36 // Returned by FPDFText_LoadPage function. |
| 40 // Return Value: | 37 // Return Value: |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 // Return Value: | 407 // Return Value: |
| 411 // None. | 408 // None. |
| 412 // | 409 // |
| 413 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page); | 410 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page); |
| 414 | 411 |
| 415 #ifdef __cplusplus | 412 #ifdef __cplusplus |
| 416 } | 413 } |
| 417 #endif | 414 #endif |
| 418 | 415 |
| 419 #endif // PUBLIC_FPDF_TEXT_H_ | 416 #endif // PUBLIC_FPDF_TEXT_H_ |
| OLD | NEW |