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
CPDF_LinearizedHeader Class Reference

#include <cpdf_linearized_header.h>

+ Collaboration diagram for CPDF_LinearizedHeader:

Public Member Functions

 ~CPDF_LinearizedHeader ()
 
FX_FILESIZE GetFileSize () const
 
uint32_t GetFirstPageNo () const
 
FX_FILESIZE GetMainXRefTableFirstEntryOffset () const
 
uint32_t GetPageCount () const
 
FX_FILESIZE GetFirstPageEndOffset () const
 
uint32_t GetFirstPageObjNum () const
 
FX_FILESIZE GetLastXRefOffset () const
 
bool HasHintTable () const
 
FX_FILESIZE GetHintStart () const
 
uint32_t GetHintLength () const
 

Static Public Member Functions

static std::unique_ptr< CPDF_LinearizedHeaderParse (CPDF_SyntaxParser *parser)
 

Protected Member Functions

 CPDF_LinearizedHeader (const CPDF_Dictionary *pDict, FX_FILESIZE szLastXRefOffset)
 

Detailed Description

Definition at line 19 of file cpdf_linearized_header.h.

Constructor & Destructor Documentation

◆ ~CPDF_LinearizedHeader()

CPDF_LinearizedHeader::~CPDF_LinearizedHeader ( )
default

◆ CPDF_LinearizedHeader()

CPDF_LinearizedHeader::CPDF_LinearizedHeader ( const CPDF_Dictionary * pDict,
FX_FILESIZE szLastXRefOffset )
protected

Definition at line 89 of file cpdf_linearized_header.cpp.

References CPDF_Dictionary::GetIntegerFor().

+ Here is the call graph for this function:

Member Function Documentation

◆ GetFileSize()

FX_FILESIZE CPDF_LinearizedHeader::GetFileSize ( ) const
inline

Definition at line 26 of file cpdf_linearized_header.h.

◆ GetFirstPageEndOffset()

FX_FILESIZE CPDF_LinearizedHeader::GetFirstPageEndOffset ( ) const
inline

Definition at line 34 of file cpdf_linearized_header.h.

◆ GetFirstPageNo()

uint32_t CPDF_LinearizedHeader::GetFirstPageNo ( ) const
inline

Definition at line 27 of file cpdf_linearized_header.h.

Referenced by CPDF_Document::LoadPages().

+ Here is the caller graph for this function:

◆ GetFirstPageObjNum()

uint32_t CPDF_LinearizedHeader::GetFirstPageObjNum ( ) const
inline

Definition at line 36 of file cpdf_linearized_header.h.

Referenced by CPDF_Document::LoadPages().

+ Here is the caller graph for this function:

◆ GetHintLength()

uint32_t CPDF_LinearizedHeader::GetHintLength ( ) const
inline

Definition at line 43 of file cpdf_linearized_header.h.

Referenced by HasHintTable(), and CPDF_HintTables::Parse().

+ Here is the caller graph for this function:

◆ GetHintStart()

FX_FILESIZE CPDF_LinearizedHeader::GetHintStart ( ) const
inline

Definition at line 42 of file cpdf_linearized_header.h.

Referenced by HasHintTable(), and CPDF_HintTables::Parse().

+ Here is the caller graph for this function:

◆ GetLastXRefOffset()

FX_FILESIZE CPDF_LinearizedHeader::GetLastXRefOffset ( ) const
inline

Definition at line 38 of file cpdf_linearized_header.h.

◆ GetMainXRefTableFirstEntryOffset()

FX_FILESIZE CPDF_LinearizedHeader::GetMainXRefTableFirstEntryOffset ( ) const
inline

Definition at line 29 of file cpdf_linearized_header.h.

◆ GetPageCount()

uint32_t CPDF_LinearizedHeader::GetPageCount ( ) const
inline

Definition at line 32 of file cpdf_linearized_header.h.

Referenced by HasHintTable(), CPDF_Document::LoadPages(), and CPDF_HintTables::Parse().

+ Here is the caller graph for this function:

◆ HasHintTable()

bool CPDF_LinearizedHeader::HasHintTable ( ) const

Definition at line 111 of file cpdf_linearized_header.cpp.

References GetHintLength(), GetHintStart(), and GetPageCount().

Referenced by CPDF_HintTables::Parse().

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

◆ Parse()

std::unique_ptr< CPDF_LinearizedHeader > CPDF_LinearizedHeader::Parse ( CPDF_SyntaxParser * parser)
static

Definition at line 59 of file cpdf_linearized_header.cpp.

References CPDF_SyntaxParser::GetDocumentSize(), CPDF_SyntaxParser::GetIndirectObject(), CPDF_SyntaxParser::GetNextWord(), CPDF_SyntaxParser::GetPos(), CPDF_SyntaxParser::kLoose, and CPDF_SyntaxParser::SetPos().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: