mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
LibPDF: Parse nested Page Tree structures
We now follow nested page tree nodes to find all of the actual page dicts, whereas previously we just assumed the root level page tree node contained all of the page children directly.
This commit is contained in:
parent
8c745ad0d9
commit
3aeaceb727
4 changed files with 77 additions and 5 deletions
|
@ -29,6 +29,8 @@ public:
|
|||
|
||||
NonnullRefPtr<IndirectValue> parse_indirect_value_at_offset(size_t offset);
|
||||
|
||||
RefPtr<DictObject> conditionally_parse_page_tree_node_at_offset(size_t offset);
|
||||
|
||||
private:
|
||||
bool parse_header();
|
||||
XRefTable parse_xref_table();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue