Lines Matching defs:CPDF_Parser
7 #include "core/fpdfapi/parser/cpdf_parser.h"
57 class CPDF_Parser::TrailerData {
125 CPDF_Parser::CPDF_Parser()
132 CPDF_Parser::~CPDF_Parser() {
136 uint32_t CPDF_Parser::GetLastObjNum() const {
140 bool CPDF_Parser::IsValidObjectNumber(uint32_t objnum) const {
144 FX_FILESIZE CPDF_Parser::GetObjectPositionOrZero(uint32_t objnum) const {
149 CPDF_Parser::ObjectType CPDF_Parser::GetObjectType(uint32_t objnum) const {
155 uint16_t CPDF_Parser::GetObjectGenNum(uint32_t objnum) const {
161 bool CPDF_Parser::IsObjectFreeOrNull(uint32_t objnum) const {
174 bool CPDF_Parser::IsObjectFree(uint32_t objnum) const {
178 void CPDF_Parser::SetEncryptDictionary(CPDF_Dictionary* pDict) {
182 RetainPtr<IFX_SeekableReadStream> CPDF_Parser::GetFileAccess() const {
186 void CPDF_Parser::ShrinkObjectMap(uint32_t objnum) {
202 bool CPDF_Parser::InitSyntaxParser(
214 bool CPDF_Parser::ParseFileVersion() {
231 CPDF_Parser::Error CPDF_Parser::StartParse(
239 CPDF_Parser::Error CPDF_Parser::StartParseInternal(CPDF_Document* pDocument) {
304 FX_FILESIZE CPDF_Parser::ParseStartXRef() {
327 CPDF_Parser::Error CPDF_Parser::SetEncryptHandler() {
359 void CPDF_Parser::ReleaseEncryptHandler() {
364 FX_FILESIZE CPDF_Parser::GetObjectOffset(uint32_t objnum) const {
382 bool CPDF_Parser::VerifyCrossRefV4() {
403 bool CPDF_Parser::LoadAllCrossRefV4(FX_FILESIZE xrefpos) {
463 bool CPDF_Parser::LoadLinearizedAllCrossRefV4(FX_FILESIZE xrefpos) {
518 bool CPDF_Parser::ParseAndAppendCrossRefSubsectionData(
602 bool CPDF_Parser::ParseCrossRefV4(std::vector<CrossRefObjData>* out_objects) {
640 bool CPDF_Parser::LoadCrossRefV4(FX_FILESIZE pos,
652 void CPDF_Parser::MergeCrossRefObjectsData(
659 bool CPDF_Parser::LoadAllCrossRefV5(FX_FILESIZE xrefpos) {
678 bool CPDF_Parser::RebuildCrossRef() {
1023 bool CPDF_Parser::LoadCrossRefV5(FX_FILESIZE* pos, bool bMainXRef) {
1169 const CPDF_Array* CPDF_Parser::GetIDArray() const {
1173 CPDF_Dictionary* CPDF_Parser::GetTrailer() const {
1177 std::unique_ptr<CPDF_Dictionary> CPDF_Parser::GetCombinedTrailer() const {
1181 uint32_t CPDF_Parser::GetInfoObjNum() {
1185 uint32_t CPDF_Parser::GetRootObjNum() {
1189 std::unique_ptr<CPDF_Object> CPDF_Parser::ParseIndirectObject(
1239 RetainPtr<CPDF_StreamAcc> CPDF_Parser::GetObjectStream(uint32_t objnum) {
1258 std::unique_ptr<CPDF_Object> CPDF_Parser::ParseIndirectObjectAt(
1266 std::unique_ptr<CPDF_Object> CPDF_Parser::ParseIndirectObjectAtInternal(
1293 std::unique_ptr<CPDF_Object> CPDF_Parser::ParseIndirectObjectAtByStrict(
1302 uint32_t CPDF_Parser::GetFirstPageNo() const {
1306 std::unique_ptr<CPDF_Dictionary> CPDF_Parser::LoadTrailerV4() {
1313 uint32_t CPDF_Parser::GetPermissions() const {
1326 std::unique_ptr<CPDF_LinearizedHeader> CPDF_Parser::ParseLinearizedHeader() {
1330 CPDF_Parser::Error CPDF_Parser::StartLinearizedParse(
1409 bool CPDF_Parser::LoadLinearizedAllCrossRefV5(FX_FILESIZE xrefpos) {
1428 CPDF_Parser::Error CPDF_Parser::LoadLinearizedMainXRefTable() {
1450 CPDF_Parser::ObjectType CPDF_Parser::GetObjectTypeFromCrossRefStreamType(
1454 return CPDF_Parser::ObjectType::kFree;
1456 return CPDF_Parser::ObjectType::kNotCompressed;
1458 return CPDF_Parser::ObjectType::kCompressed;
1460 return CPDF_Parser::ObjectType::kNull;