libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
Art::Paperback::Page Class Reference

Classes

struct  Create_new
 
struct  Internal
 
struct  Properties
 Properties of a new page. More...
 

Public Member Functions

 Page (Create_new const &, Internals::Page_tree &, Properties const &)
 Constructor.
 
 ~Page () noexcept
 Destructor.
 
Internals::Page_treepage_tree () const
 Access the parent page tree.
 
Carousel::Object object () const
 Access the page's object.
 
Carousel::Streamcontents ()
 Access the page content stream.
 
Internals::Resource_collectionresources ()
 Access page resource collection.
 

Static Public Attributes

static constexpr Create_new const create_new {}
 

Private Member Functions

 Page (Page const &)=delete
 
 Page (Page &&)=delete
 
Pageoperator= (Page const &)=delete
 
Pageoperator= (Page &&)=delete
 

Private Attributes

unique_ptr< Internalinternal
 

Constructor & Destructor Documentation

◆ Page()

Art::Paperback::Page::Page ( Create_new const & ,
Internals::Page_tree & page_tree,
Properties const & properties )

Constructor.

This constructor creates a new page.

Parameters
page_treeA reference to the parent page tree.
propertiesThe properties of the new page.

◆ ~Page()

Art::Paperback::Page::~Page ( )
noexcept

Destructor.

Member Function Documentation

◆ page_tree()

Internals::Page_tree & Art::Paperback::Page::page_tree ( ) const

Access the parent page tree.

◆ object()

Carousel::Object Art::Paperback::Page::object ( ) const

Access the page's object.

◆ contents()

Carousel::Stream & Art::Paperback::Page::contents ( )

Access the page content stream.

◆ resources()

Internals::Resource_collection & Art::Paperback::Page::resources ( )

Access page resource collection.