fpdfavail.h File Reference

Header file for the asynchronous module - allows reading and downloading of a PDF file to occur at the same time. For example, an application can display the first page of the document while the other pages are still downloading. More...

#include "fpdfview.h"

Go to the source code of this file.

Classes

struct  _FX_FILEAVAIL
 A struct that provides an interface for checking whether the specified section of a PDF file is available. More...
struct  _FX_DOWNLOADHINTS
 An interface for receiving download hints. Use to receive hints for further downloading. More...

Defines

#define DLLEXPORT
#define STDCALL
#define CDECL
The result of the process which check linearized PDF.
#define FSDK_IS_LINEARIZED   1
 Indicates PDF is linearized.
#define FSDK_NOT_LINEARIZED   0
 Indicates PDF is not linearized.
#define FSDK_UNKNOW_LINEARIZED   -1
 Unknown.

Typedefs

typedef struct _FX_FILEAVAIL FX_FILEAVAIL
 A struct that provides an interface for checking whether the specified section of a PDF file is available.
typedef void * FPDF_AVAIL
typedef struct _FX_DOWNLOADHINTS FX_DOWNLOADHINTS
 An interface for receiving download hints. Use to receive hints for further downloading.

Functions

DLLEXPORT FPDF_AVAIL STDCALL FPDFAvail_Create (FX_FILEAVAIL *file_avail, FPDF_FILEACCESS *file)
DLLEXPORT void STDCALL FPDFAvail_Destroy (FPDF_AVAIL avail)
DLLEXPORT int STDCALL FPDFAvail_IsDocAvail (FPDF_AVAIL avail, FX_DOWNLOADHINTS *hints)
DLLEXPORT FPDF_DOCUMENT STDCALL FPDFAvail_GetDocument (FPDF_AVAIL avail)
DLLEXPORT int STDCALL FPDFAvail_GetFirstPageNum (FPDF_DOCUMENT document)
DLLEXPORT int STDCALL FPDFAvail_IsPageAvail (FPDF_AVAIL avail, int page_index, FX_DOWNLOADHINTS *hints)
DLLEXPORT int STDCALL FPDFAvail_IsFormAvail (FPDF_AVAIL avail, FX_DOWNLOADHINTS *hints)
DLLEXPORT FPDF_BOOL STDCALL FPDFAvail_IsLinearized (FPDF_AVAIL avail)
 _FPDFAVAIL_H_

Detailed Description

Header file for the asynchronous module - allows reading and downloading of a PDF file to occur at the same time. For example, an application can display the first page of the document while the other pages are still downloading.

(C) 2011 Foxit Corporation. All Rights Reserved. The following code is copyrighted and contains proprietary information and trade secrets of Foxit Corporation. Functions in this header file, require "asynchronous" module to be enabled in your SDK license.

Author:
Foxit Corporation
Note:
If you want to purchase Foxit PDF SDK license and use ANY of the following functions, please request for enabling asynchronous module explicitly.
Version:
3.1.1