Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fpdf_dataavail.h File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include <stddef.h>
#include "fpdfview.h"
+ Include dependency graph for fpdf_dataavail.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _FX_FILEAVAIL
 
struct  _FX_DOWNLOADHINTS
 

Macros

#define PDF_LINEARIZATION_UNKNOWN   -1
 
#define PDF_NOT_LINEARIZED   0
 
#define PDF_LINEARIZED   1
 
#define PDF_DATA_ERROR   -1
 
#define PDF_DATA_NOTAVAIL   0
 
#define PDF_DATA_AVAIL   1
 
#define PDF_FORM_ERROR   -1
 
#define PDF_FORM_NOTAVAIL   0
 
#define PDF_FORM_AVAIL   1
 
#define PDF_FORM_NOTEXIST   2
 

Typedefs

typedef struct _FX_FILEAVAIL FX_FILEAVAIL
 
typedef struct _FX_DOWNLOADHINTS FX_DOWNLOADHINTS
 

Functions

FPDF_EXPORT FPDF_AVAIL FPDF_CALLCONV FPDFAvail_Create (FX_FILEAVAIL *file_avail, FPDF_FILEACCESS *file)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFAvail_Destroy (FPDF_AVAIL avail)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsDocAvail (FPDF_AVAIL avail, FX_DOWNLOADHINTS *hints)
 
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDFAvail_GetDocument (FPDF_AVAIL avail, FPDF_BYTESTRING password)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_GetFirstPageNum (FPDF_DOCUMENT doc)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsPageAvail (FPDF_AVAIL avail, int page_index, FX_DOWNLOADHINTS *hints)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsFormAvail (FPDF_AVAIL avail, FX_DOWNLOADHINTS *hints)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsLinearized (FPDF_AVAIL avail)
 

Macro Definition Documentation

◆ PDF_DATA_AVAIL

#define PDF_DATA_AVAIL   1

Definition at line 21 of file fpdf_dataavail.h.

◆ PDF_DATA_ERROR

#define PDF_DATA_ERROR   -1

Definition at line 19 of file fpdf_dataavail.h.

◆ PDF_DATA_NOTAVAIL

#define PDF_DATA_NOTAVAIL   0

Definition at line 20 of file fpdf_dataavail.h.

◆ PDF_FORM_AVAIL

#define PDF_FORM_AVAIL   1

Definition at line 25 of file fpdf_dataavail.h.

◆ PDF_FORM_ERROR

#define PDF_FORM_ERROR   -1

Definition at line 23 of file fpdf_dataavail.h.

◆ PDF_FORM_NOTAVAIL

#define PDF_FORM_NOTAVAIL   0

Definition at line 24 of file fpdf_dataavail.h.

◆ PDF_FORM_NOTEXIST

#define PDF_FORM_NOTEXIST   2

Definition at line 26 of file fpdf_dataavail.h.

◆ PDF_LINEARIZATION_UNKNOWN

#define PDF_LINEARIZATION_UNKNOWN   -1

Definition at line 15 of file fpdf_dataavail.h.

◆ PDF_LINEARIZED

#define PDF_LINEARIZED   1

Definition at line 17 of file fpdf_dataavail.h.

◆ PDF_NOT_LINEARIZED

#define PDF_NOT_LINEARIZED   0

Definition at line 16 of file fpdf_dataavail.h.

Typedef Documentation

◆ FX_DOWNLOADHINTS

◆ FX_FILEAVAIL

typedef struct _FX_FILEAVAIL FX_FILEAVAIL

Function Documentation

◆ FPDFAvail_Create()

FPDF_EXPORT FPDF_AVAIL FPDF_CALLCONV FPDFAvail_Create ( FX_FILEAVAIL * file_avail,
FPDF_FILEACCESS * file )

Definition at line 149 of file fpdf_dataavail.cpp.

Referenced by CheckPDFiumCApi(), and EmbedderTest::OpenDocumentHelper().

+ Here is the caller graph for this function:

◆ FPDFAvail_Destroy()

FPDF_EXPORT void FPDF_CALLCONV FPDFAvail_Destroy ( FPDF_AVAIL avail)

Definition at line 157 of file fpdf_dataavail.cpp.

Referenced by CheckPDFiumCApi(), and FPDFAvailDeleter::operator()().

+ Here is the caller graph for this function:

◆ FPDFAvail_GetDocument()

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDFAvail_GetDocument ( FPDF_AVAIL avail,
FPDF_BYTESTRING password )

Definition at line 172 of file fpdf_dataavail.cpp.

References ProcessParseError(), and CPDF_Parser::SUCCESS.

Referenced by CheckPDFiumCApi(), EmbedderTest::OpenDocumentHelper(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFAvail_GetFirstPageNum()

FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_GetFirstPageNum ( FPDF_DOCUMENT doc)

Definition at line 190 of file fpdf_dataavail.cpp.

References CPDFDocumentFromFPDFDocument(), CPDF_Parser::GetFirstPageNo(), and CPDF_Document::GetParser().

Referenced by CheckPDFiumCApi(), EmbedderTest::GetFirstPageNum(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFAvail_IsDocAvail()

FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsDocAvail ( FPDF_AVAIL avail,
FX_DOWNLOADHINTS * hints )

Definition at line 162 of file fpdf_dataavail.cpp.

References CPDF_DataAvail::IsDocAvail().

Referenced by CheckPDFiumCApi(), EmbedderTest::OpenDocumentHelper(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFAvail_IsFormAvail()

FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsFormAvail ( FPDF_AVAIL avail,
FX_DOWNLOADHINTS * hints )

Definition at line 207 of file fpdf_dataavail.cpp.

References CPDF_DataAvail::IsFormAvail().

Referenced by CheckPDFiumCApi(), EmbedderTest::OpenDocumentHelper(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFAvail_IsLinearized()

FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsLinearized ( FPDF_AVAIL avail)

Definition at line 216 of file fpdf_dataavail.cpp.

References CPDF_DataAvail::IsLinearizedPDF().

Referenced by CheckPDFiumCApi(), EmbedderTest::OpenDocumentHelper(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFAvail_IsPageAvail()

FPDF_EXPORT int FPDF_CALLCONV FPDFAvail_IsPageAvail ( FPDF_AVAIL avail,
int page_index,
FX_DOWNLOADHINTS * hints )

Definition at line 195 of file fpdf_dataavail.cpp.

References CPDF_DataAvail::IsPageAvail().

Referenced by CheckPDFiumCApi(), EmbedderTest::OpenDocumentHelper(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: