7#ifndef CORE_FPDFAPI_PARSER_CPDF_SIMPLE_PARSER_H_
8#define CORE_FPDFAPI_PARSER_CPDF_SIMPLE_PARSER_H_
12#include "core/fxcrt/bytestring.h"
13#include "third_party/base/containers/span.h"
26 const pdfium::span<
const uint8_t> data_;
27 uint32_t cur_pos_ = 0;
CPDF_CMapParser(CPDF_CMap *pCMap)
void ParseWord(ByteStringView word)
size_t CountChar(ByteStringView pString) const
uint32_t GetNextChar(ByteStringView pString, size_t *pOffset) const
int AppendChar(char *str, uint32_t charcode) const
uint16_t CIDFromCharCode(uint32_t charcode) const
void SetAdditionalMappings(std::vector< CIDRange > mappings)
int GetCharSize(uint32_t charcode) const
void SetMixedFourByteLeadingRanges(std::vector< CodeRange > ranges)
void SetDirectCharcodeToCIDTableRange(uint32_t start_code, uint32_t end_code, uint16_t start_cid)
uint32_t GetCurPos() const
void SetCurPos(uint32_t pos)
CPDF_SimpleParser(pdfium::span< const uint8_t > input)