Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: fpdfsdk/include/fpdfview.h

Issue 589813002: Add FPDF_GetSecurityHandlerRevision (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | fpdfsdk/src/fpdfview.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/src/fpdfview.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698