-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTable_30-Entries_in_a_page_object.rakumod
137 lines (102 loc) · 8.56 KB
/
Table_30-Entries_in_a_page_object.rakumod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
use v6;
role ISO_32000::Table_30-Entries_in_a_page_object {
method Type {...};
method Parent {...};
method LastModified {...};
method Resources {...};
method MediaBox {...};
method CropBox {...};
method BleedBox {...};
method TrimBox {...};
method ArtBox {...};
method BoxColorInfo {...};
method Contents {...};
method Rotate {...};
method Group {...};
method Thumb {...};
method B {...};
method Dur {...};
method Trans {...};
method Annots {...};
method AA {...};
method Metadata {...};
method PieceInfo {...};
method StructParents {...};
method ID {...};
method PZ {...};
method SeparationInfo {...};
method Tabs {...};
method TemplateInstantiated {...};
method PresSteps {...};
method UserUnit {...};
method VP {...};
}
=begin pod
=head1 Description
Table 30 – Entries in a page object
=head1 Methods (Entries)
=head2 Type [name]
- (Required) The type of PDF object that this dictionary describes; is Page for a page object.
=head2 Parent [dictionary]
- (Required; is an indirect reference) The page tree node that is the immediate parent of this page object.
=head2 LastModified [date]
- (Required if PieceInfo is present; optional otherwise; PDF 1.3) The date and time (see 7.9.4, "Dates") when the page’s contents were most recently modified. If a page-piece dictionary (PieceInfo) is present, the modification date is used to ascertain which of the application data dictionaries that it contains correspond to the current content of the page (see 14.5, "Page-Piece Dictionaries").
=head2 Resources [dictionary]
- (Required; inheritable) A dictionary containing any resources required by the page (see 7.8.3, "Resource Dictionaries"). If the page requires no resources, the value of this entry is an empty dictionary. Omitting the entry entirely indicates that the resources is inherited from an ancestor node in the page tree.
=head2 MediaBox [rectangle]
- (Required; inheritable) A rectangle (see 7.9.5, "Rectangles"), expressed in default user space units, that defines the boundaries of the physical medium on which the page is displayed or printed (see 14.11.2, "Page Boundaries").
=head2 CropBox [rectangle]
- (Optional; inheritable) A rectangle, expressed in default user space units, that defines the visible region of default user space. When the page is displayed or printed, its contents is clipped (cropped) to this rectangle and then is imposed on the output medium in some implementation-defined manner (see 14.11.2, "Page Boundaries"). Default value: the value of MediaBox.
=head2 BleedBox [rectangle]
- (Optional; PDF 1.3) A rectangle, expressed in default user space units, that defines the region to which the contents of the page is clipped when output in a production environment (see 14.11.2, "Page Boundaries"). Default value: the value of CropBox.
=head2 TrimBox [rectangle]
- (Optional; PDF 1.3) A rectangle, expressed in default user space units, that defines the intended dimensions of the finished page after trimming (see 14.11.2, "Page Boundaries"). Default value: the value of CropBox.
=head2 ArtBox [rectangle]
- (Optional; PDF 1.3) A rectangle, expressed in default user space units, that defines the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator (see 14.11.2, "Page Boundaries"). Default value: the value of CropBox.
=head2 BoxColorInfo [dictionary]
- (Optional; PDF 1.4) A box colour information dictionary that specifies the colours and other visual characteristics that is used in displaying guidelines on the screen for the various page boundaries (see 14.11.2.2, "Display of Page Boundaries"). If this entry is absent, the application uses its own current default settings.
=head2 Contents [stream or array]
- (Optional) A content stream (see 7.8.2, "Content Streams") that describes the contents of this page. If this entry is absent, the page is empty.
The value is either a single stream or an array of streams. If the value is an array, the effect is as if all of the streams in the array were concatenated, in order, to form a single stream. Conforming writers can create image objects and other resources as they occur, even though they interrupt the content stream. The division between streams may occur only at the boundaries between lexical tokens (see 7.2, "Lexical Conventions") but is unrelated to the page’s logical content or organization. Applications that consume or produce PDF files need not preserve the existing structure of the Contents array. Conforming writers does not create a Contents array containing no elements.
=head2 Rotate [integer]
- (Optional; inheritable) The number of degrees by which the page is rotated clockwise when displayed or printed. The value is a multiple of 90. Default value: 0.
=head2 Group [dictionary]
- (Optional; PDF 1.4) A group attributes dictionary that specifies the attributes of the page’s page group for use in the transparent imaging model (see 11.4.7, "Page Group" and 11.6.6, "Transparency Group XObjects").
=head2 Thumb [stream]
- (Optional) A stream object that defines the page’s thumbnail image (see 12.3.4, "Thumbnail Images").
=head2 B [array]
- (Optional; PDF 1.1; recommended if the page contains article beads) An array that contains indirect references to all article beads appearing on the page (see 12.4.3, "Articles"). The beads is listed in the array in natural reading order.
NOTE The information in this entry can be created or recreated from the information obtained from the Threads key in the Catalog.
=head2 Dur [number]
- (Optional; PDF 1.1) The page’s display duration (also called its advance timing): the maximum length of time, in seconds, that the page is displayed during presentations before the viewer application shall automatically advance to the next page (see 12.4.4, "Presentations"). By default, the viewer does not advance automatically.
=head2 Trans [dictionary]
- (Optional; PDF 1.1) A transition dictionary describing the transition effect that is used when displaying the page during presentations (see 12.4.4, "Presentations").
=head2 Annots [array]
- (Optional) An array of annotation dictionaries that contains indirect references to all annotations associated with the page (see 12.5, "Annotations").
=head2 AA [dictionary]
- (Optional; PDF 1.2) An additional-actions dictionary that defines actions to be performed when the page is opened or closed (see 12.6.3, "Trigger Events").
(PDF 1.3) additional-actions dictionaries are not inheritable.
=head2 Metadata [stream]
- (Optional; PDF 1.4) A metadata stream that contains metadata for the page (see 14.3.2, "Metadata Streams").
=head2 PieceInfo [dictionary]
- (Optional; PDF 1.3) A page-piece dictionary associated with the page (see 14.5, "Page-Piece Dictionaries").
=head2 StructParents [integer]
- (Required if the page contains structural content items; PDF 1.3) The integer key of the page’s entry in the structural parent tree (see 14.7.4.4, "Finding Structure Elements from Content Items").
=head2 ID [byte string]
- (Optional; PDF 1.3; indirect reference preferred) The digital identifier of the page’s parent Web Capture content set (see 14.10.6, "Object Attributes Related to Web Capture").
=head2 PZ [number]
- (Optional; PDF 1.3) The page’s preferred zoom (magnification) factor: the factor by which it is scaled to achieve the natural display magnification (see 14.10.6, "Object Attributes Related to Web Capture").
=head2 SeparationInfo [dictionary]
- (Optional; PDF 1.3) A separation dictionary that contains information needed to generate colour separations for the page (see 14.11.4, "Separation Dictionaries").
=head2 Tabs [name]
- (Optional; PDF 1.5) A name specifying the tab order that is used for annotations on the page. The possible values is R (row order), C (column order), and S (structure order). See 12.5, "Annotations" for details.
=head2 TemplateInstantiated [name]
- (Required if this page was created from a named page object; PDF 1.5) The name of the originating page object (see 12.7.6, "Named Pages").
=head2 PresSteps [dictionary]
- (Optional; PDF 1.5) A navigation node dictionary that represents the first node on the page (see 12.4.4.2, "Sub-page Navigation").
=head2 UserUnit [number]
- (Optional; PDF 1.6) A positive number that shall give the size of default user space units, in multiples of 1 ⁄ 72 inch. The range of supported values is implementation-dependent.
Default value: 1.0 (user space unit is 1 ⁄ 72 inch).
=head2 VP [dictionary]
- (Optional; PDF 1.6) An array of viewport dictionaries (see Table 260) that specifies rectangular regions of the page.
=end pod