| 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_DATAAVAIL_H_ | 7 #ifndef PUBLIC_FPDF_DATAAVAIL_H_ |
| 8 #define PUBLIC_FPDF_DATAAVAIL_H_ | 8 #define PUBLIC_FPDF_DATAAVAIL_H_ |
| 9 | 9 |
| 10 #include <stddef.h> // For size_t. | 10 #include <stddef.h> // For size_t. |
| 11 | 11 |
| 12 #include "fpdfview.h" | 12 #include "fpdfview.h" |
| 13 | 13 |
| 14 #define PDF_LINEARIZATION_UNKNOWN -1 | 14 #define PDF_LINEARIZATION_UNKNOWN -1 |
| 15 #define PDF_NOT_LINEARIZED 0 | 15 #define PDF_NOT_LINEARIZED 0 |
| 16 #define PDF_LINEARIZED 1 | 16 #define PDF_LINEARIZED 1 |
| 17 |
| 17 #define PDF_DATA_ERROR -1 | 18 #define PDF_DATA_ERROR -1 |
| 18 #define PDF_DATA_NOTAVAIL 0 | 19 #define PDF_DATA_NOTAVAIL 0 |
| 19 #define PDF_DATA_AVAIL 1 | 20 #define PDF_DATA_AVAIL 1 |
| 21 |
| 20 #define PDF_FORM_ERROR -1 | 22 #define PDF_FORM_ERROR -1 |
| 21 #define PDF_FORM_NOTAVAIL 0 | 23 #define PDF_FORM_NOTAVAIL 0 |
| 22 #define PDF_FORM_AVAIL 1 | 24 #define PDF_FORM_AVAIL 1 |
| 23 #define PDF_FORM_NOTEXIST 2 | 25 #define PDF_FORM_NOTEXIST 2 |
| 24 | 26 |
| 25 #ifdef __cplusplus | 27 #ifdef __cplusplus |
| 26 extern "C" { | 28 extern "C" { |
| 27 #endif | 29 #endif |
| 28 | 30 |
| 29 /** | 31 /** |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 * tell whether a PDF file is a linearized file or not. | 264 * tell whether a PDF file is a linearized file or not. |
| 263 * | 265 * |
| 264 */ | 266 */ |
| 265 DLLEXPORT int STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail); | 267 DLLEXPORT int STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail); |
| 266 | 268 |
| 267 #ifdef __cplusplus | 269 #ifdef __cplusplus |
| 268 } | 270 } |
| 269 #endif | 271 #endif |
| 270 | 272 |
| 271 #endif // PUBLIC_FPDF_DATAAVAIL_H_ | 273 #endif // PUBLIC_FPDF_DATAAVAIL_H_ |
| OLD | NEW |