libart-paperback
0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
Main Page
Related Pages
Namespaces
Classes
Files
File List
document-catalog.hxx
1
#ifndef art__paperback__internals__document_catalog_hxx_
2
#define art__paperback__internals__document_catalog_hxx_
3
4
#include <art/paperback/types.hxx>
5
#include <art/paperback/forward.hxx>
6
7
#include <art/paperback/internals/page-tree.hxx>
8
9
namespace
Art::Paperback::Internals
10
{
11
12
class
Document_catalog
13
{
14
public
:
15
struct
Create_new
{};
16
static
constexpr
Create_new
const
create_new{};
17
18
/// Constructor.
19
///
20
Document_catalog
(Create_new
const
&,
Document
&);
21
22
/// Destructor.
23
///
24
~Document_catalog
() noexcept;
25
26
/// Access the parent document.
27
///
28
Document
&
29
document
();
30
31
/// Access the parent document.
32
///
33
Document
const&
34
document
() const;
35
36
/// Access the page tree.
37
///
38
Page_tree
&
39
pages
();
40
41
private:
42
Document_catalog
(
Document_catalog
const&) = delete;
43
Document_catalog
(
Document_catalog
&&) = delete;
44
Document_catalog
& operator=(
Document_catalog
const&) = delete;
45
Document_catalog
& operator=(
Document_catalog
&&) = delete;
46
47
struct Internal;
48
unique_ptr<Internal> internal;
49
50
};
51
52
}
// namespace Art::Paperback::Internals
53
54
#endif
Art::Paperback::Document
Definition
document.hxx:12
Art::Paperback::Internals::Document_catalog
Definition
document-catalog.hxx:13
Art::Paperback::Internals::Document_catalog::Document_catalog
Document_catalog(Create_new const &, Document &)
Constructor.
Definition
document-catalog.cxx:26
Art::Paperback::Internals::Document_catalog::pages
Page_tree & pages()
Access the page tree.
Definition
document-catalog.cxx:53
Art::Paperback::Internals::Document_catalog::~Document_catalog
~Document_catalog() noexcept
Destructor.
Definition
document-catalog.cxx:34
Art::Paperback::Internals::Page_tree
Represents a PDF page tree.
Definition
page-tree.hxx:16
Art::Paperback::Internals
Internal namespace.
Definition
forward.hxx:91
Art::Paperback::Internals::document
Document & document(Page_tree &page_tree)
Get the document associated with a page tree.
Definition
page-tree.cxx:133
Art::Paperback::Internals::Document_catalog::Create_new
Definition
document-catalog.hxx:15
art
paperback
internals
document-catalog.hxx
Generated by
1.13.2