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_DOC_H_ | 7 #ifndef PUBLIC_FPDF_DOC_H_ |
8 #define PUBLIC_FPDF_DOC_H_ | 8 #define PUBLIC_FPDF_DOC_H_ |
9 | 9 |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // next position for enumerating to start from. | 265 // next position for enumerating to start from. |
266 // linkAnnot[out] - Receive the link handle. | 266 // linkAnnot[out] - Receive the link handle. |
267 // Return value: | 267 // Return value: |
268 // TRUE if succceed, else False; | 268 // TRUE if succceed, else False; |
269 // | 269 // |
270 DLLEXPORT FPDF_BOOL STDCALL FPDFLink_Enumerate(FPDF_PAGE page, | 270 DLLEXPORT FPDF_BOOL STDCALL FPDFLink_Enumerate(FPDF_PAGE page, |
271 int* startPos, | 271 int* startPos, |
272 FPDF_LINK* linkAnnot); | 272 FPDF_LINK* linkAnnot); |
273 | 273 |
274 // Function: FPDFLink_GetAnnotRect | 274 // Function: FPDFLink_GetAnnotRect |
275 // Get the annotation rectangle. (Specified by the ¡°Rect¡± entry of | 275 // Get the annotation rectangle. (Specified by the |Rect| entry of |
276 // annotation dictionary). | 276 // annotation dictionary). |
277 // Parameters: | 277 // Parameters: |
278 // linkAnnot[in] - Handle to the link annotation. | 278 // linkAnnot[in] - Handle to the link annotation. |
279 // rect[out] - The annotation rect. | 279 // rect[out] - The annotation rect. |
280 // Return value: | 280 // Return value: |
281 // TRUE if succceed, else False; | 281 // TRUE if succceed, else False; |
282 // | 282 // |
283 DLLEXPORT FPDF_BOOL STDCALL FPDFLink_GetAnnotRect(FPDF_LINK linkAnnot, | 283 DLLEXPORT FPDF_BOOL STDCALL FPDFLink_GetAnnotRect(FPDF_LINK linkAnnot, |
284 FS_RECTF* rect); | 284 FS_RECTF* rect); |
285 | 285 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 DLLEXPORT unsigned long STDCALL FPDF_GetMetaText(FPDF_DOCUMENT doc, | 356 DLLEXPORT unsigned long STDCALL FPDF_GetMetaText(FPDF_DOCUMENT doc, |
357 FPDF_BYTESTRING tag, | 357 FPDF_BYTESTRING tag, |
358 void* buffer, | 358 void* buffer, |
359 unsigned long buflen); | 359 unsigned long buflen); |
360 | 360 |
361 #ifdef __cplusplus | 361 #ifdef __cplusplus |
362 } | 362 } |
363 #endif | 363 #endif |
364 | 364 |
365 #endif // PUBLIC_FPDF_DOC_H_ | 365 #endif // PUBLIC_FPDF_DOC_H_ |
OLD | NEW |