mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
LibPDF: Parse outline structures
This commit is contained in:
parent
777c232e16
commit
a08922d2f6
3 changed files with 257 additions and 2 deletions
|
@ -67,7 +67,7 @@ public:
|
|||
|
||||
~NameObject() override = default;
|
||||
|
||||
[[nodiscard]] ALWAYS_INLINE FlyString name() const { return m_name; }
|
||||
[[nodiscard]] ALWAYS_INLINE const FlyString& name() const { return m_name; }
|
||||
|
||||
ALWAYS_INLINE bool is_name() const override { return true; }
|
||||
ALWAYS_INLINE const char* type_name() const override { return "name"; }
|
||||
|
@ -86,6 +86,7 @@ public:
|
|||
|
||||
~ArrayObject() override = default;
|
||||
|
||||
[[nodiscard]] ALWAYS_INLINE size_t size() const { return m_elements.size(); }
|
||||
[[nodiscard]] ALWAYS_INLINE Vector<Value> elements() const { return m_elements; }
|
||||
|
||||
ALWAYS_INLINE auto begin() const { return m_elements.begin(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue