1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 08:57:47 +00:00

LibPDF: Move document-specific parsing functionality into its own class

The Parser class is now a generic PDF object parser, of which the new
DocumentParser class derives. DocumentParser now takes over all
functions relating to linearization, pages, xref and trailer handling.

This allows the use of multiple parsers in the same document's
context, which will be needed in order to handle PDF object streams.
This commit is contained in:
Julian Offenhäuser 2022-08-15 11:45:24 +02:00 committed by Sam Atkins
parent 9f4659cc63
commit 4887aacec7
7 changed files with 746 additions and 706 deletions

View file

@ -2,6 +2,7 @@ set(SOURCES
ColorSpace.cpp
CommonNames.cpp
Document.cpp
DocumentParser.cpp
Encoding.cpp
Encryption.cpp
Filter.cpp