mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
LibPDF: Make PDF version accessible on Document
This commit is contained in:
parent
9174ffd7e6
commit
ea89053c12
4 changed files with 26 additions and 15 deletions
|
@ -122,6 +122,8 @@ public:
|
|||
// need to handle the case where the user password is the empty string.
|
||||
PDFErrorOr<void> initialize();
|
||||
|
||||
Version version() const { return m_version; }
|
||||
|
||||
ALWAYS_INLINE RefPtr<SecurityHandler> const& security_handler() const { return m_security_handler; }
|
||||
|
||||
ALWAYS_INLINE RefPtr<OutlineDict> const& outline() const { return m_outline; }
|
||||
|
@ -188,6 +190,7 @@ private:
|
|||
PDFErrorOr<NonnullRefPtr<Object>> find_in_key_value_array(NonnullRefPtr<ArrayObject> key_value_array, DeprecatedFlyString name);
|
||||
|
||||
NonnullRefPtr<DocumentParser> m_parser;
|
||||
Version m_version;
|
||||
RefPtr<DictObject> m_catalog;
|
||||
RefPtr<DictObject> m_trailer;
|
||||
Vector<u32> m_page_object_indices;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue