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

Side by Side Diff: public/fpdf_doc.h

Issue 2475923003: Implement FPDF_VIEWERREF_GetName() API. (Closed)
Patch Set: Comment Created 4 years, 1 month 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 | « fpdfsdk/fpdfview_embeddertest.cpp ('k') | public/fpdfview.h » ('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 #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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // CreationDate, or ModDate. 264 // CreationDate, or ModDate.
265 // For detailed explanations of these tags and their respective 265 // For detailed explanations of these tags and their respective
266 // values, please refer to PDF Reference 1.6, section 10.2.1, 266 // values, please refer to PDF Reference 1.6, section 10.2.1,
267 // 'Document Information Dictionary'. 267 // 'Document Information Dictionary'.
268 // buffer - a buffer for the title. May be NULL. 268 // buffer - a buffer for the title. May be NULL.
269 // buflen - the length of the buffer, in bytes. May be 0. 269 // buflen - the length of the buffer, in bytes. May be 0.
270 // 270 //
271 // Returns the number of bytes in the title, including trailing zeros. 271 // Returns the number of bytes in the title, including trailing zeros.
272 // 272 //
273 // The |buffer| is always encoded in UTF-16LE. The |buffer| is followed by two 273 // The |buffer| is always encoded in UTF-16LE. The |buffer| is followed by two
274 // bytes of zeros indicating the end of the string. If |buflen| is less then 274 // bytes of zeros indicating the end of the string. If |buflen| is less than
275 // the returned length, or |buffer| is NULL, |buffer| will not be modified. 275 // the returned length, or |buffer| is NULL, |buffer| will not be modified.
276 DLLEXPORT unsigned long STDCALL FPDF_GetMetaText(FPDF_DOCUMENT doc, 276 DLLEXPORT unsigned long STDCALL FPDF_GetMetaText(FPDF_DOCUMENT doc,
277 FPDF_BYTESTRING tag, 277 FPDF_BYTESTRING tag,
278 void* buffer, 278 void* buffer,
279 unsigned long buflen); 279 unsigned long buflen);
280 280
281 #ifdef __cplusplus 281 #ifdef __cplusplus
282 } // extern "C" 282 } // extern "C"
283 #endif // __cplusplus 283 #endif // __cplusplus
284 284
285 #endif // PUBLIC_FPDF_DOC_H_ 285 #endif // PUBLIC_FPDF_DOC_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfview_embeddertest.cpp ('k') | public/fpdfview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698