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.cpp File Reference

(5a424f4a7b188b75da63eb697f63558af0b17f6f)

#include "public/fpdf_dataavail.h"
#include <memory>
#include <utility>
#include "core/fpdfapi/page/cpdf_docpagedata.h"
#include "core/fpdfapi/parser/cpdf_data_avail.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/render/cpdf_docrenderdata.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/fx_stream.h"
#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/unowned_ptr.h"
#include "core/fxcrt/unowned_ptr_exclusion.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "public/fpdf_formfill.h"
#include "third_party/base/numerics/safe_conversions.h"
+ Include dependency graph for fpdf_dataavail.cpp:

Go to the source code of this file.

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)
 

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: