27 #ifndef _FSPDF_ASYNC_R_H_ 28 #define _FSPDF_ASYNC_R_H_ 59 #ifndef _FSPDF_DEF_MACRO_DOC_LINEARIZED_ 60 #define _FSPDF_DEF_MACRO_DOC_LINEARIZED_ 67 #define FSPDF_DOC_LINEARIZED_YES 1 69 #define FSPDF_DOC_LINEARIZED_NO 0 71 #define FSPDF_DOC_LINEARIZED_UNKNOW -1 74 #endif //_FSPDF_DEF_MACRO_DOC_LINEARIZED_ 76 #ifndef _FSPDF_DEF_STRUCTURE_ASYNCFILEHANDLER_ 77 #define _FSPDF_DEF_STRUCTURE_ASYNCFILEHANDLER_ 82 typedef struct _FSPDF_ASYNCFILEHANDLER
FS_RESULT FSPDF_Doc_AsyncLoad(FSPDF_ASYNCFILEHANDLER *asyncFile, const FSCRT_BSTR *password, FSCRT_DOCUMENT *document)
Load PDF file in asynchronous mode.
unsigned int FS_DWORD
32-bit unsigned integer.
Definition: fs_base_r.h:142
Structure for receiving download hints.
Definition: fpdf_async_r.h:82
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
FS_RESULT FSPDF_Doc_IsDocAvail(FSCRT_DOCUMENT document, FS_BOOL *isAvail)
Check whether the document is available.
FS_RESULT FSPDF_Doc_IsPageAvail(FSCRT_DOCUMENT document, FS_INT32 pageIndex, FS_BOOL *isAvail)
Check whether the page is available.
int FS_BOOL
Boolean type (This should be TRUE or FALSE).
Definition: fs_base_r.h:133
FS_RESULT FSPDF_Doc_GetFirstAvailPageIndex(FSCRT_DOCUMENT document, FS_INT32 *pageIndex)
Get the page index of first available page in a linearized PDF.
void * FS_LPVOID
A pointer to any types.
Definition: fs_base_r.h:127
FS_LPVOID clientData
User-defined data.
Definition: fpdf_async_r.h:89
Structure for byte string.
Definition: fs_base_r.h:611
FS_RESULT FSPDF_Doc_IsLinearized(FSCRT_DOCUMENT document, FS_INT32 *linearizedState)
Check if the asynchronous file is a linearized PDF and get the linearized state.
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160
FS_RESULT FSPDF_Doc_IsFormAvail(FSCRT_DOCUMENT document, FS_BOOL *isAvail)
Check whether the form is available.