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 | 7 |
8 #ifndef _FPDFVIEW_H_ | 8 #ifndef _FPDFVIEW_H_ |
9 #define _FPDFVIEW_H_ | 9 #define _FPDFVIEW_H_ |
10 | 10 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 // Function: FPDF_GetDocPermission | 253 // Function: FPDF_GetDocPermission |
254 // Get file permission flags of the document. | 254 // Get file permission flags of the document. |
255 // Parameters: | 255 // Parameters: |
256 // document - Handle to document. Returned by
FPDF_LoadDocument function. | 256 // document - Handle to document. Returned by
FPDF_LoadDocument function. |
257 // Return value: | 257 // Return value: |
258 // A 32-bit integer indicating permission flags. Please ref
er to PDF Reference for | 258 // A 32-bit integer indicating permission flags. Please ref
er to PDF Reference for |
259 // detailed description. If the document is not protected,
0xffffffff will be returned. | 259 // detailed description. If the document is not protected,
0xffffffff will be returned. |
260 // | 260 // |
261 DLLEXPORT unsigned long STDCALL FPDF_GetDocPermissions(FPDF_DOCUMENT document); | 261 DLLEXPORT unsigned long STDCALL FPDF_GetDocPermissions(FPDF_DOCUMENT document); |
262 | 262 |
| 263 // Function: FPDF_GetSecurityHandlerRevision |
| 264 // Get the revision for security handler. |
| 265 // Parameters: |
| 266 // document - Handle to document. Returned by
FPDF_LoadDocument function. |
| 267 // Return value: |
| 268 // The security handler revision number. Please refer to PD
F Reference for |
| 269 // detailed description. If the document is not protected,
-1 will be returned. |
| 270 // |
| 271 DLLEXPORT int STDCALL FPDF_GetSecurityHandlerRevision(FPDF_DOCUMENT document); |
| 272 |
263 // Function: FPDF_GetPageCount | 273 // Function: FPDF_GetPageCount |
264 // Get total number of pages in a document. | 274 // Get total number of pages in a document. |
265 // Parameters: | 275 // Parameters: |
266 // document - Handle to document. Returned by
FPDF_LoadDocument function. | 276 // document - Handle to document. Returned by
FPDF_LoadDocument function. |
267 // Return value: | 277 // Return value: |
268 // Total number of pages in the document. | 278 // Total number of pages in the document. |
269 // | 279 // |
270 DLLEXPORT int STDCALL FPDF_GetPageCount(FPDF_DOCUMENT document); | 280 DLLEXPORT int STDCALL FPDF_GetPageCount(FPDF_DOCUMENT document); |
271 | 281 |
272 // Function: FPDF_LoadPage | 282 // Function: FPDF_LoadPage |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 // Return value: | 610 // Return value: |
601 // The handle of the dest. | 611 // The handle of the dest. |
602 // | 612 // |
603 DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDestByName(FPDF_DOCUMENT document,FPDF_
BYTESTRING name); | 613 DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDestByName(FPDF_DOCUMENT document,FPDF_
BYTESTRING name); |
604 | 614 |
605 #ifdef __cplusplus | 615 #ifdef __cplusplus |
606 }; | 616 }; |
607 #endif | 617 #endif |
608 | 618 |
609 #endif // _FPDFVIEW_H_ | 619 #endif // _FPDFVIEW_H_ |
OLD | NEW |