1
Fork 0
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:
Nico Weber 2023-07-12 12:21:41 -04:00 committed by Andreas Kling
parent b4c5a7d1a0
commit ca433befa0
2 changed files with 62 additions and 0 deletions

View file

@ -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