![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "core/fpdfapi/parser/fpdf_parser_decode.h"#include <ctype.h>#include <limits.h>#include <stddef.h>#include <algorithm>#include <array>#include <utility>#include "build/build_config.h"#include "constants/stream_dict_common.h"#include "core/fpdfapi/parser/cpdf_array.h"#include "core/fpdfapi/parser/cpdf_dictionary.h"#include "core/fpdfapi/parser/fpdf_parser_utility.h"#include "core/fxcodec/data_and_bytes_consumed.h"#include "core/fxcodec/fax/faxmodule.h"#include "core/fxcodec/flate/flatemodule.h"#include "core/fxcodec/scanlinedecoder.h"#include "core/fxcrt/check.h"#include "core/fxcrt/compiler_specific.h"#include "core/fxcrt/containers/contains.h"#include "core/fxcrt/fx_extension.h"#include "core/fxcrt/fx_memcpy_wrappers.h"#include "core/fxcrt/fx_safe_types.h"#include "core/fxcrt/numerics/safe_conversions.h"#include "core/fxcrt/span.h"#include "core/fxcrt/stl_util.h"#include "core/fxcrt/utf16.h"Go to the source code of this file.
Variables | |
| const std::array< uint16_t, 256 > | kPDFDocEncoding |
| DataAndBytesConsumed A85Decode | ( | pdfium::span< const uint8_t > | src_span | ) |
Definition at line 117 of file fpdf_parser_decode.cpp.
References PDFCharIsLineEnding().
| std::unique_ptr< ScanlineDecoder > CreateFaxDecoder | ( | pdfium::span< const uint8_t > | src_span, |
| int | width, | ||
| int | height, | ||
| const CPDF_Dictionary * | pParams ) |
Definition at line 307 of file fpdf_parser_decode.cpp.
References CPDF_Dictionary::GetIntegerFor(), and CPDF_Dictionary::GetIntegerFor().
| std::unique_ptr< ScanlineDecoder > CreateFlateDecoder | ( | pdfium::span< const uint8_t > | src_span, |
| int | width, | ||
| int | height, | ||
| int | nComps, | ||
| int | bpc, | ||
| const CPDF_Dictionary * | pParams ) |
Definition at line 332 of file fpdf_parser_decode.cpp.
References CPDF_Dictionary::GetIntegerFor(), and CPDF_Dictionary::GetIntegerFor().
| DataAndBytesConsumed FlateOrLZWDecode | ( | bool | use_lzw, |
| pdfium::span< const uint8_t > | src_span, | ||
| const CPDF_Dictionary * | pParams, | ||
| uint32_t | estimated_size ) |
Definition at line 356 of file fpdf_parser_decode.cpp.
References CPDF_Dictionary::GetIntegerFor(), and CPDF_Dictionary::GetIntegerFor().
| std::optional< DecoderArray > GetDecoderArray | ( | RetainPtr< const CPDF_Dictionary > | pDict | ) |
Definition at line 379 of file fpdf_parser_decode.cpp.
References ValidateDecoderPipeline().
| DataAndBytesConsumed HexDecode | ( | pdfium::span< const uint8_t > | src_span | ) |
Definition at line 204 of file fpdf_parser_decode.cpp.
References FXSYS_HexCharToInt(), and PDFCharIsLineEnding().
| std::optional< PDFDataDecodeResult > PDF_DataDecode | ( | pdfium::span< const uint8_t > | src_span, |
| uint32_t | last_estimated_size, | ||
| bool | bImageAcc, | ||
| const DecoderArray & | decoder_array ) |
Definition at line 429 of file fpdf_parser_decode.cpp.
References fxcodec::DataAndBytesConsumed::bytes_consumed, fxcrt::ByteString::operator=(), and fxcrt::ByteString::operator==().
| WideString PDF_DecodeText | ( | pdfium::span< const uint8_t > | span | ) |
Definition at line 520 of file fpdf_parser_decode.cpp.
References fxcrt::WideString::FromUTF8().
| ByteString PDF_EncodeString | ( | ByteStringView | src | ) |
Definition at line 592 of file fpdf_parser_decode.cpp.
References fxcrt::ByteString::operator+=(), and fxcrt::ByteString::operator+=().
| ByteString PDF_EncodeText | ( | WideStringView | str | ) |
Definition at line 547 of file fpdf_parser_decode.cpp.
References kPDFDocEncoding.
| ByteString PDF_HexEncodeString | ( | ByteStringView | src | ) |
Definition at line 614 of file fpdf_parser_decode.cpp.
References fxcrt::ByteString::operator+=().
| DataAndBytesConsumed RunLengthDecode | ( | pdfium::span< const uint8_t > | src_span | ) |
Definition at line 249 of file fpdf_parser_decode.cpp.
|
static |
Definition at line 504 of file fpdf_parser_decode.cpp.
| bool ValidateDecoderPipeline | ( | const CPDF_Array * | pDecoders | ) |
Definition at line 91 of file fpdf_parser_decode.cpp.
Referenced by GetDecoderArray().
| const std::array<uint16_t, 256> kPDFDocEncoding |
Definition at line 60 of file fpdf_parser_decode.cpp.
Referenced by PDF_EncodeText(), and UnicodesForPredefinedCharSet().