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_streamparser.h>
Public Types | |
enum | ElementType { kEndOfData , kNumber , kKeyword , kName , kOther } |
Public Member Functions | |
CPDF_StreamParser (pdfium::span< const uint8_t > span) | |
CPDF_StreamParser (pdfium::span< const uint8_t > span, const WeakPtr< ByteStringPool > &pPool) | |
~CPDF_StreamParser () | |
ElementType | ParseNextElement () |
ByteStringView | GetWord () const |
uint32_t | GetPos () const |
void | SetPos (uint32_t pos) |
const RetainPtr< CPDF_Object > & | GetObject () const |
RetainPtr< CPDF_Object > | ReadNextObject (bool bAllowNestedArray, bool bInArray, uint32_t dwRecursionLevel) |
RetainPtr< CPDF_Stream > | ReadInlineStream (CPDF_Document *pDoc, RetainPtr< CPDF_Dictionary > pDict, const CPDF_Object *pCSObj) |
Friends | |
class | cpdf_streamparser_ReadHexString_Test |
Definition at line 20 of file cpdf_streamparser.h.
Enumerator | |
---|---|
kEndOfData | |
kNumber | |
kKeyword | |
kName | |
kOther |
Definition at line 22 of file cpdf_streamparser.h.
|
explicit |
Definition at line 123 of file cpdf_streamparser.cpp.
References CPDF_StreamParser().
Referenced by CPDF_StreamParser().
CPDF_StreamParser::CPDF_StreamParser | ( | pdfium::span< const uint8_t > | span, |
const WeakPtr< ByteStringPool > & | pPool ) |
Definition at line 126 of file cpdf_streamparser.cpp.
References CPDF_StreamParser().
Referenced by CPDF_StreamParser().
|
default |
|
inline |
Definition at line 35 of file cpdf_streamparser.h.
|
inline |
Definition at line 33 of file cpdf_streamparser.h.
Referenced by TEST().
|
inline |
Definition at line 30 of file cpdf_streamparser.h.
CPDF_StreamParser::ElementType CPDF_StreamParser::ParseNextElement | ( | ) |
Definition at line 220 of file cpdf_streamparser.cpp.
References kEndOfData, kKeyword, kName, kNumber, kOther, PDFCharIsDelimiter(), PDFCharIsLineEnding(), PDFCharIsNumeric(), and PDFCharIsWhitespace().
Referenced by ReadInlineStream().
RetainPtr< CPDF_Stream > CPDF_StreamParser::ReadInlineStream | ( | CPDF_Document * | pDoc, |
RetainPtr< CPDF_Dictionary > | pDict, | ||
const CPDF_Object * | pCSObj ) |
Definition at line 132 of file cpdf_streamparser.cpp.
References fxcrt::ByteString::IsEmpty(), pdfium::stream::kDecodeParms, kEndOfData, kKeyword, and ParseNextElement().
RetainPtr< CPDF_Object > CPDF_StreamParser::ReadNextObject | ( | bool | bAllowNestedArray, |
bool | bInArray, | ||
uint32_t | dwRecursionLevel ) |
Definition at line 298 of file cpdf_streamparser.cpp.
|
inline |
Definition at line 34 of file cpdf_streamparser.h.
Referenced by TEST().
|
friend |
Definition at line 44 of file cpdf_streamparser.h.