### ----------------------------------------------------
### -- PDF::ISO_32000
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: lib/ISO_32000/Table_330-Property_list_entries_for_artifacts.rakumod
### ----------------------------------------------------
use v6;
role ISO_32000::Table_330-Property_list_entries_for_artifacts {
    method Type {...};
    method BBox {...};
    method Attached {...};
    method Subtype {...};
}

=begin pod

=head1 Description

Table 330 – Property list entries for artifacts

=head1 Methods (Entries)

=head2 Type [name]
- (Optional) The type of artifact that this property list describes; if present, is one of the names Pagination, Layout, Page, or (PDF 1.7) Background.

=head2 BBox [rectangle]
- (Optional; required for background artifacts) An array of four numbers in default user space units giving the coordinates of the left, bottom, right, and top edges, respectively, of the artifact’s bounding box (the rectangle that completely encloses its visible extent).

=head2 Attached [array]
- (Optional; pagination and full-page background artifacts only) An array of name objects containing one to four of the names Top, Bottom, Left, and Right, specifying the edges of the page, if any, to which the artifact is logically attached. Page edges is defined by the page’s crop box (see 14.11.2, “Page Boundaries”). The ordering of names within the array is immaterial. Including both Left and Right or both Top and Bottom indicates a full-width or full-height artifact, respectively.
Use of this entry for background artifacts is limited to full-page artifacts. Background artifacts that are not full-page take their dimensions from their parent structural element.

=head2 Subtype [name]
- (Optional; PDF 1.7) The subtype of the artifact. This entry appears only when the Type entry has a value of Pagination. Standard values are Header, Footer, and Watermark. Additional values may be specified for this entry, provided they comply with the naming conventions described in Annex E.

=end pod


