| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |