Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_data_avail.h>
Classes | |
class | DownloadHints |
class | FileAvail |
Public Types | |
enum | DocAvailStatus { kDataError = -1 , kDataNotAvailable = 0 , kDataAvailable = 1 } |
enum | DocLinearizationStatus { kLinearizationUnknown = -1 , kNotLinearized = 0 , kLinearized = 1 } |
enum | DocFormStatus { kFormError = -1 , kFormNotAvailable = 0 , kFormAvailable = 1 , kFormNotExist = 2 } |
Public Member Functions | |
CPDF_DataAvail (FileAvail *pFileAvail, RetainPtr< IFX_SeekableReadStream > pFileRead) | |
~CPDF_DataAvail () override | |
void | OnObservableDestroyed () override |
DocAvailStatus | IsDocAvail (DownloadHints *pHints) |
DocAvailStatus | IsPageAvail (uint32_t dwPage, DownloadHints *pHints) |
DocFormStatus | IsFormAvail (DownloadHints *pHints) |
DocLinearizationStatus | IsLinearizedPDF () |
int | GetPageCount () const |
RetainPtr< const CPDF_Dictionary > | GetPageDictionary (int index) const |
RetainPtr< CPDF_ReadValidator > | GetValidator () const |
std::pair< CPDF_Parser::Error, std::unique_ptr< CPDF_Document > > | ParseDocument (std::unique_ptr< CPDF_Document::RenderDataIface > pRenderData, std::unique_ptr< CPDF_Document::PageDataIface > pPageData, const ByteString &password) |
const CPDF_HintTables * | GetHintTablesForTest () const |
Definition at line 31 of file cpdf_data_avail.h.
Enumerator | |
---|---|
kDataError | |
kDataNotAvailable | |
kDataAvailable |
Definition at line 36 of file cpdf_data_avail.h.
Enumerator | |
---|---|
kFormError | |
kFormNotAvailable | |
kFormAvailable | |
kFormNotExist |
Definition at line 54 of file cpdf_data_avail.h.
Enumerator | |
---|---|
kLinearizationUnknown | |
kNotLinearized | |
kLinearized |
Definition at line 45 of file cpdf_data_avail.h.
CPDF_DataAvail::CPDF_DataAvail | ( | FileAvail * | pFileAvail, |
RetainPtr< IFX_SeekableReadStream > | pFileRead ) |
Definition at line 77 of file cpdf_data_avail.cpp.
References CPDF_DataAvail().
Referenced by CPDF_DataAvail().
|
override |
Definition at line 83 of file cpdf_data_avail.cpp.
|
inline |
Definition at line 93 of file cpdf_data_avail.h.
int CPDF_DataAvail::GetPageCount | ( | ) | const |
Definition at line 922 of file cpdf_data_avail.cpp.
RetainPtr< const CPDF_Dictionary > CPDF_DataAvail::GetPageDictionary | ( | int | index | ) | const |
Definition at line 928 of file cpdf_data_avail.cpp.
Referenced by IsPageAvail().
RetainPtr< CPDF_ReadValidator > CPDF_DataAvail::GetValidator | ( | ) | const |
Definition at line 913 of file cpdf_data_avail.cpp.
Referenced by IsDocAvail(), and IsPageAvail().
CPDF_DataAvail::DocAvailStatus CPDF_DataAvail::IsDocAvail | ( | DownloadHints * | pHints | ) |
Definition at line 97 of file cpdf_data_avail.cpp.
References GetValidator(), kDataAvailable, kDataError, and kDataNotAvailable.
Referenced by FPDFAvail_IsDocAvail().
CPDF_DataAvail::DocFormStatus CPDF_DataAvail::IsFormAvail | ( | DownloadHints * | pHints | ) |
Definition at line 959 of file cpdf_data_avail.cpp.
Referenced by FPDFAvail_IsFormAvail().
CPDF_DataAvail::DocLinearizationStatus CPDF_DataAvail::IsLinearizedPDF | ( | ) |
Definition at line 477 of file cpdf_data_avail.cpp.
References kDataError, kDataNotAvailable, kLinearizationUnknown, and kNotLinearized.
Referenced by FPDFAvail_IsLinearized().
CPDF_DataAvail::DocAvailStatus CPDF_DataAvail::IsPageAvail | ( | uint32_t | dwPage, |
DownloadHints * | pHints ) |
Definition at line 793 of file cpdf_data_avail.cpp.
References CPDF_ObjectAvail::CheckAvail(), GetPageDictionary(), GetValidator(), kDataAvailable, kDataError, kDataNotAvailable, and kFormNotAvailable.
Referenced by FPDFAvail_IsPageAvail().
|
override |
Definition at line 89 of file cpdf_data_avail.cpp.
std::pair< CPDF_Parser::Error, std::unique_ptr< CPDF_Document > > CPDF_DataAvail::ParseDocument | ( | std::unique_ptr< CPDF_Document::RenderDataIface > | pRenderData, |
std::unique_ptr< CPDF_Document::PageDataIface > | pPageData, | ||
const ByteString & | password ) |
Definition at line 1012 of file cpdf_data_avail.cpp.
References CPDF_Parser::HANDLER_ERROR, and CPDF_Parser::SUCCESS.