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

#include <cpdf_hint_tables.h>

+ Collaboration diagram for CPDF_HintTables:

Classes

class  PageInfo
 
struct  SharedObjGroupInfo
 

Public Member Functions

 CPDF_HintTables (CPDF_ReadValidator *pValidator, const CPDF_LinearizedHeader *pLinearized)
 
virtual ~CPDF_HintTables ()
 
bool GetPagePos (uint32_t index, FX_FILESIZE *szPageStartPos, FX_FILESIZE *szPageLength, uint32_t *dwObjNum) const
 
CPDF_DataAvail::DocAvailStatus CheckPage (uint32_t index)
 
bool LoadHintStream (CPDF_Stream *pHintStream)
 
const std::vector< PageInfo > & PageInfos () const
 
const std::vector< SharedObjGroupInfo > & SharedGroupInfos () const
 
FX_FILESIZE GetFirstPageObjOffset () const
 

Static Public Member Functions

static std::unique_ptr< CPDF_HintTablesParse (CPDF_SyntaxParser *parser, const CPDF_LinearizedHeader *pLinearized)
 

Protected Member Functions

bool ReadPageHintTable (CFX_BitStream *hStream)
 
bool ReadSharedObjHintTable (CFX_BitStream *hStream, uint32_t offset)
 

Detailed Description

Definition at line 22 of file cpdf_hint_tables.h.

Constructor & Destructor Documentation

◆ CPDF_HintTables()

CPDF_HintTables::CPDF_HintTables ( CPDF_ReadValidator * pValidator,
const CPDF_LinearizedHeader * pLinearized )

Definition at line 78 of file cpdf_hint_tables.cpp.

References CPDF_HintTables().

Referenced by CPDF_HintTables().

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

◆ ~CPDF_HintTables()

CPDF_HintTables::~CPDF_HintTables ( )
virtualdefault

Member Function Documentation

◆ CheckPage()

CPDF_DataAvail::DocAvailStatus CPDF_HintTables::CheckPage ( uint32_t index)

◆ GetFirstPageObjOffset()

FX_FILESIZE CPDF_HintTables::GetFirstPageObjOffset ( ) const
inline

Definition at line 93 of file cpdf_hint_tables.h.

◆ GetPagePos()

bool CPDF_HintTables::GetPagePos ( uint32_t index,
FX_FILESIZE * szPageStartPos,
FX_FILESIZE * szPageLength,
uint32_t * dwObjNum ) const

Definition at line 396 of file cpdf_hint_tables.cpp.

Referenced by TEST_F().

+ Here is the caller graph for this function:

◆ LoadHintStream()

bool CPDF_HintTables::LoadHintStream ( CPDF_Stream * pHintStream)

Definition at line 443 of file cpdf_hint_tables.cpp.

References ReadPageHintTable(), and ReadSharedObjHintTable().

+ Here is the call graph for this function:

◆ PageInfos()

const std::vector< PageInfo > & CPDF_HintTables::PageInfos ( ) const
inline

Definition at line 88 of file cpdf_hint_tables.h.

◆ Parse()

std::unique_ptr< CPDF_HintTables > CPDF_HintTables::Parse ( CPDF_SyntaxParser * parser,
const CPDF_LinearizedHeader * pLinearized )
static

Definition at line 46 of file cpdf_hint_tables.cpp.

References CPDF_LinearizedHeader::GetHintLength(), CPDF_LinearizedHeader::GetHintStart(), CPDF_LinearizedHeader::GetPageCount(), CPDF_SyntaxParser::GetValidator(), CPDF_LinearizedHeader::HasHintTable(), and CPDF_SyntaxParser::SetPos().

+ Here is the call graph for this function:

◆ ReadPageHintTable()

bool CPDF_HintTables::ReadPageHintTable ( CFX_BitStream * hStream)
protected

Definition at line 86 of file cpdf_hint_tables.cpp.

References CFX_BitStream::ByteAlign(), CFX_BitStream::GetBits(), CFX_BitStream::IsEOF(), CPDF_Parser::kMaxObjectNumber, and CPDF_Document::kPageMaxNum.

Referenced by LoadHintStream().

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

◆ ReadSharedObjHintTable()

bool CPDF_HintTables::ReadSharedObjHintTable ( CFX_BitStream * hStream,
uint32_t offset )
protected

Definition at line 254 of file cpdf_hint_tables.cpp.

References CFX_BitStream::ByteAlign(), CFX_BitStream::GetBits(), CFX_BitStream::IsEOF(), and CPDF_Parser::kMaxObjectNumber.

Referenced by LoadHintStream().

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

◆ SharedGroupInfos()

const std::vector< SharedObjGroupInfo > & CPDF_HintTables::SharedGroupInfos ( ) const
inline

Definition at line 89 of file cpdf_hint_tables.h.


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