### ----------------------------------------------------
### -- FDF
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: lib/FDF/Page.rakumod
### ----------------------------------------------------
unit role FDF::Page;

use PDF::COS::Tie::Hash;
also does PDF::COS::Tie::Hash;

use ISO_32000::Table_248-Entries_in_an_FDF_page_dictionary;
also does ISO_32000::Table_248-Entries_in_an_FDF_page_dictionary;

use ISO_32000_2::Table_251-Entries_in_an_FDF_page_dictionary;
also does ISO_32000_2::Table_251-Entries_in_an_FDF_page_dictionary;

=begin pod
=head1 role FDF::Page

=head2 Description

The FDF Page dictionary describes a new page that is added to the target document.

=head2 Methods
=end pod

# See [PDF 32000 - Table 248 Entries in an FDF page dictionary]
use PDF::COS::Tie;

use FDF::Template;
#| (Required) An array of FDF template dictionaries describing the named pages that serve as templates on the page. 
has FDF::Template @.Templates is entry(:required);
#| (Optional) An FDF page information dictionary containing additional information about the page. At the time of ISO-32000 publication, no entries have been defined for this dictionary. 
has Hash $.Info is entry;



