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

#include <cpdf_streamcontentparser.h>

+ Collaboration diagram for CPDF_StreamContentParser:

Public Member Functions

 CPDF_StreamContentParser (CPDF_Document *pDoc, RetainPtr< CPDF_Dictionary > pPageResources, RetainPtr< CPDF_Dictionary > pParentResources, const CFX_Matrix *pmtContentToUser, CPDF_PageObjectHolder *pObjHolder, RetainPtr< CPDF_Dictionary > pResources, const CFX_FloatRect &rcBBox, const CPDF_AllStates *pStates, CPDF_Form::RecursionState *parse_state)
 
 ~CPDF_StreamContentParser ()
 
uint32_t Parse (pdfium::span< const uint8_t > pData, uint32_t start_offset, uint32_t max_cost, const std::vector< uint32_t > &stream_start_offsets)
 
CPDF_PageObjectHolderGetPageObjectHolder () const
 
CPDF_AllStatesGetCurStates () const
 
bool IsColored () const
 
pdfium::span< const float > GetType3Data () const
 
RetainPtr< CPDF_FontFindFont (const ByteString &name)
 

Static Public Member Functions

static void InitializeGlobals ()
 
static void DestroyGlobals ()
 
static ByteStringView FindKeyAbbreviationForTesting (ByteStringView abbr)
 
static ByteStringView FindValueAbbreviationForTesting (ByteStringView abbr)
 

Detailed Description

Definition at line 41 of file cpdf_streamcontentparser.h.

Constructor & Destructor Documentation

◆ CPDF_StreamContentParser()

CPDF_StreamContentParser::CPDF_StreamContentParser ( CPDF_Document * pDoc,
RetainPtr< CPDF_Dictionary > pPageResources,
RetainPtr< CPDF_Dictionary > pParentResources,
const CFX_Matrix * pmtContentToUser,
CPDF_PageObjectHolder * pObjHolder,
RetainPtr< CPDF_Dictionary > pResources,
const CFX_FloatRect & rcBBox,
const CPDF_AllStates * pStates,
CPDF_Form::RecursionState * parse_state )

Definition at line 377 of file cpdf_streamcontentparser.cpp.

References CFX_FloatRect::CFX_FloatRect(), CPDF_StreamContentParser(), and CFX_Matrix::operator=().

Referenced by CPDF_StreamContentParser().

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

◆ ~CPDF_StreamContentParser()

CPDF_StreamContentParser::~CPDF_StreamContentParser ( )

Definition at line 412 of file cpdf_streamcontentparser.cpp.

Member Function Documentation

◆ DestroyGlobals()

void CPDF_StreamContentParser::DestroyGlobals ( )
static

Definition at line 372 of file cpdf_streamcontentparser.cpp.

Referenced by CPDF_PageModule::Destroy().

+ Here is the caller graph for this function:

◆ FindFont()

RetainPtr< CPDF_Font > CPDF_StreamContentParser::FindFont ( const ByteString & name)

Definition at line 1172 of file cpdf_streamcontentparser.cpp.

◆ FindKeyAbbreviationForTesting()

ByteStringView CPDF_StreamContentParser::FindKeyAbbreviationForTesting ( ByteStringView abbr)
static

Definition at line 1698 of file cpdf_streamcontentparser.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ FindValueAbbreviationForTesting()

ByteStringView CPDF_StreamContentParser::FindValueAbbreviationForTesting ( ByteStringView abbr)
static

Definition at line 1704 of file cpdf_streamcontentparser.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ GetCurStates()

CPDF_AllStates * CPDF_StreamContentParser::GetCurStates ( ) const
inline

Definition at line 62 of file cpdf_streamcontentparser.h.

◆ GetPageObjectHolder()

CPDF_PageObjectHolder * CPDF_StreamContentParser::GetPageObjectHolder ( ) const
inline

Definition at line 61 of file cpdf_streamcontentparser.h.

◆ GetType3Data()

pdfium::span< const float > CPDF_StreamContentParser::GetType3Data ( ) const
inline

Definition at line 64 of file cpdf_streamcontentparser.h.

◆ InitializeGlobals()

void CPDF_StreamContentParser::InitializeGlobals ( )
static

Definition at line 251 of file cpdf_streamcontentparser.cpp.

Referenced by CPDF_PageModule::Create().

+ Here is the caller graph for this function:

◆ IsColored()

bool CPDF_StreamContentParser::IsColored ( ) const
inline

Definition at line 63 of file cpdf_streamcontentparser.h.

◆ Parse()

uint32_t CPDF_StreamContentParser::Parse ( pdfium::span< const uint8_t > pData,
uint32_t start_offset,
uint32_t max_cost,
const std::vector< uint32_t > & stream_start_offsets )

Definition at line 1552 of file cpdf_streamcontentparser.cpp.

References CPDF_StreamParser::kName.


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