mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:57:34 +00:00
LibPDF: Add method to Document to dump a Page and all related objects
...except for the /Parent object, else we'd print all pages :)
This commit is contained in:
parent
b4c5a7d1a0
commit
ca433befa0
2 changed files with 62 additions and 0 deletions
|
@ -118,6 +118,7 @@ public:
|
|||
|
||||
[[nodiscard]] u32 get_page_count() const;
|
||||
|
||||
PDFErrorOr<void> dump_page(u32 index);
|
||||
[[nodiscard]] PDFErrorOr<Page> get_page(u32 index);
|
||||
|
||||
ALWAYS_INLINE Value get_value(u32 index) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue