|
libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
|
Represents a PDF page tree. More...
#include <art/paperback/internals/page-tree.hxx>
Classes | |
| struct | Create_new |
| struct | Internal |
Public Member Functions | |
| Page_tree (Create_new const &, Document_catalog &) | |
| Constructor. | |
| ~Page_tree () noexcept | |
| Destructor. | |
| Document_catalog & | document_catalog () const |
| Access the parent document catalog. | |
| Carousel::Object | object () const |
| Access the associated data object. | |
| Page & | create_page (Page::Properties const &) |
| Create a new page and add it to the page tree. | |
| Page & | get_page (size_t) |
| Get page. | |
| Page const & | get_page (size_t) const |
| Get page. | |
| void | erase_page (size_t) |
| Erase page. | |
Static Public Attributes | |
| static constexpr Create_new const | create_new {} |
Private Member Functions | |
| Page_tree (Page_tree const &)=delete | |
| Page_tree (Page_tree &&)=delete | |
| Page_tree & | operator= (Page_tree const &)=delete |
| Page_tree & | operator= (Page_tree &&)=delete |
Private Attributes | |
| unique_ptr< Internal > | internal |
Represents a PDF page tree.
| Art::Paperback::Internals::Page_tree::Page_tree | ( | Create_new const & | , |
| Document_catalog & | document_catalog ) |
Constructor.
This constructor creates a new page tree.
| document_catalog | The parent document catalog. |
|
noexcept |
Destructor.
| Document_catalog & Art::Paperback::Internals::Page_tree::document_catalog | ( | ) | const |
Access the parent document catalog.
| Carousel::Object Art::Paperback::Internals::Page_tree::object | ( | ) | const |
Access the associated data object.
| Page & Art::Paperback::Internals::Page_tree::create_page | ( | Page::Properties const & | properties | ) |
Create a new page and add it to the page tree.
| properties | The properties of the new page. |
| Page & Art::Paperback::Internals::Page_tree::get_page | ( | size_t | ) |
Get page.
| Page const & Art::Paperback::Internals::Page_tree::get_page | ( | size_t | ) | const |
Get page.
| void Art::Paperback::Internals::Page_tree::erase_page | ( | size_t | ) |
Erase page.