mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 16:47:45 +00:00
LibPDF: Implement loading compressed objects from object streams
Now, whenever the xref table points to a compressed object, parse_object_with_index will look it up in the corresponding object stream as if it were a regular object. With this, our parser gains the bare minimum support for xref streams.
This commit is contained in:
parent
f9beff7b5e
commit
563d91b6c4
3 changed files with 55 additions and 0 deletions
|
@ -85,6 +85,7 @@ private:
|
|||
PDFErrorOr<NonnullRefPtr<XRefTable>> parse_xref_stream();
|
||||
PDFErrorOr<NonnullRefPtr<XRefTable>> parse_xref_table();
|
||||
PDFErrorOr<NonnullRefPtr<DictObject>> parse_file_trailer();
|
||||
PDFErrorOr<Value> parse_compressed_object_with_index(u32 index);
|
||||
|
||||
bool navigate_to_before_eof_marker();
|
||||
bool navigate_to_after_startxref();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue