1PDF::Builder::Basic::PDUFs:e:rPaCgoen(t3r)ibuted Perl DoPcDuFm:e:nBtuaitlidoenr::Basic::PDF::Page(3)
2
3
4
6 PDF::Builder::Basic::PDF::Page - Represents a PDF page, inherits from
7 PDF::Builder::Basic::PDF::Pages
8
10 Represents a page of output in PDF. It also keeps track of the content
11 stream, any resources (such as fonts) being switched, etc.
12
13 Page inherits from Pages due to a number of shared methods. They are
14 really structurally quite different.
15
17 A page has various working variables:
18
19 ' curstrm'
20 The currently open stream
21
23 PDF::Builder::Basic::PDF::Page->new($pdf, $parent, $index)
24 Creates a new page based on a pages object (perhaps the root
25 object).
26
27 The page is also added to the parent at this point, so pages are
28 ordered in a PDF document in the order in which they are created
29 rather than in the order they are closed.
30
31 Only the essential elements in the page dictionary are created
32 here, all others are either optional or can be inherited.
33
34 The optional index value indicates the index in the parent list
35 that this page should be inserted (so that new pages need not be
36 appended)
37
38 $p->ship_out($pdf)
39 Ships the page out to the given output file context
40
41
42
43perl v5.38.0 2023-07-21 PDF::Builder::Basic::PDF::Page(3)