Skip to content

Commit

Permalink
Also add PDF::ISO_32000_2 interface roles
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Jul 16, 2024
1 parent 732f954 commit 275cf6f
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{{$NEXT}}
- Perform ISO::32000 (PDF 1.7) and ISO::32000_2 (PDF 2.0) roles.
- Fixed one typo in FDF::Field entries: $.ApRef -> $.APRef

0.0.3 2022-06-09T15:32:45+12:00
- upload to zef ecosystem
Expand Down
5 changes: 3 additions & 2 deletions META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
],
"build-depends": [
],
"depends": [
"depends": [
"PDF::Class:ver<0.5.4+>",
"PDF::ISO_32000:ver<0.0.13+>",
"PDF::ISO_32000",
"PDF::ISO_32000_2",
"PDF"
],
"description": "Classes for FDF (Forms Data Definition)",
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ also is PDF;
use ISO_32000::Table_241-Entry_in_the_FDF_trailer_dictionary;
also does ISO_32000::Table_241-Entry_in_the_FDF_trailer_dictionary;

use ISO_32000_2::Table_244-Entry_in_the_FDF_trailer_dictionary;
also does ISO_32000_2::Table_244-Entry_in_the_FDF_trailer_dictionary;

# See [PDF 32000 Table 241 - Entry in the FDF trailer dictionary]
=begin pod
=head2 Description
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF/Annot.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ also does PDF::COS::Tie::Hash;
use ISO_32000::Table_251-Additional_entry_for_annotation_dictionaries_in_an_FDF_file;
also does ISO_32000::Table_251-Additional_entry_for_annotation_dictionaries_in_an_FDF_file;

use ISO_32000_2::Table_254-Additional_entry_for_annotation_dictionaries_in_an_FDF_file;
also does ISO_32000_2::Table_254-Additional_entry_for_annotation_dictionaries_in_an_FDF_file;

=begin pod
=head1 role FDF::Annot
Expand Down
6 changes: 6 additions & 0 deletions lib/FDF/Catalog.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ unit role FDF::Catalog;
use PDF::COS::Tie::Hash;
also does PDF::COS::Tie::Hash;

use ISO_32000::Table_242-Entries_in_the_FDF_catalog_dictionary;
also does ISO_32000::Table_242-Entries_in_the_FDF_catalog_dictionary;

use ISO_32000_2::Table_245-Entries_in_the_FDF_catalog_dictionary;
also does ISO_32000_2::Table_245-Entries_in_the_FDF_catalog_dictionary;

=begin pod
=head1 role FDF::Catalog
Expand Down
6 changes: 3 additions & 3 deletions lib/FDF/Dict.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ also does PDF::COS::Tie::Hash;
use ISO_32000::Table_243-Entries_in_the_FDF_dictionary;
also does ISO_32000::Table_243-Entries_in_the_FDF_dictionary;

use ISO_32000_2::Table_246-Entries_in_the_FDF_dictionary;
also does ISO_32000_2::Table_246-Entries_in_the_FDF_dictionary;

=begin pod
=head1 Role FDF::Dict
Expand All @@ -16,9 +19,6 @@ This is the main dictionary describing the contents of an FDF (Forms Data Format
=head2 METHODS
=end pod


# See [PDF 32000 Table 243 – Entries in the FDF dictionary]

use PDF::COS::Tie;
use PDF::Filespec :FileRef, :&to-file;
use PDF::Class::Defs :AnnotLike;
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF/Field.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ also does PDF::COS::Tie::Hash;
use ISO_32000::Table_246-Entries_in_an_FDF_field_dictionary;
also does ISO_32000::Table_246-Entries_in_an_FDF_field_dictionary;

use ISO_32000_2::Table_249-Entries_in_an_FDF_field_dictionary;
also does ISO_32000_2::Table_249-Entries_in_an_FDF_field_dictionary;

=begin pod
=head1 role FDF::Field
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF/Field/AdditionalActions.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ also does PDF::COS::Tie::Hash;
use ISO_32000::Table_196-Entries_in_a_form_fields_additional-actions_dictionary;
also does ISO_32000::Table_196-Entries_in_a_form_fields_additional-actions_dictionary;

use ISO_32000_2::Table_199-Entries_in_a_form_fields_additional-actions_dictionary;
also does ISO_32000_2::Table_199-Entries_in_a_form_fields_additional-actions_dictionary;

=begin pod
=head1 Description
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF/IconFit.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ also does PDF::COS::Tie::Hash ;
use ISO_32000::Table_247-Entries_in_an_icon_fit_dictionary;
also does ISO_32000::Table_247-Entries_in_an_icon_fit_dictionary;

use ISO_32000_2::Table_250-Entries_in_an_icon_fit_dictionary;
also does ISO_32000_2::Table_250-Entries_in_an_icon_fit_dictionary;

=begin pod
=head1 role FDF::IconFit
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF/JavaScript.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ also does PDF::COS::Tie::Hash;
use ISO_32000::Table_245-Entries_in_the_JavaScript_dictionary;
also does ISO_32000::Table_245-Entries_in_the_JavaScript_dictionary;

use ISO_32000_2::Table_248-Entries_in_the_ECMAScript_dictionary;
also does ISO_32000_2::Table_248-Entries_in_the_ECMAScript_dictionary;

=begin pod
=head1 role FDF::JavaScript
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF/NamedPageRef.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ also does PDF::COS::Tie::Hash;
use ISO_32000::Table_250-Entries_in_an_FDF_named_page_reference_dictionary;
also does ISO_32000::Table_250-Entries_in_an_FDF_named_page_reference_dictionary;

use ISO_32000_2::Table_253-Entries_in_an_FDF_named_page_reference_dictionary;
also does ISO_32000_2::Table_253-Entries_in_an_FDF_named_page_reference_dictionary;

=begin pod
=head1 role FDF::NamedPageRef
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF/Page.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ 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
Expand Down
3 changes: 3 additions & 0 deletions lib/FDF/Template.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ also does PDF::COS::Tie::Hash;
use ISO_32000::Table_249-Entries_in_an_FDF_template_dictionary;
also does ISO_32000::Table_249-Entries_in_an_FDF_template_dictionary;

use ISO_32000_2::Table_252-Entries_in_an_FDF_template_dictionary;
also does ISO_32000_2::Table_252-Entries_in_an_FDF_template_dictionary;

=begin pod
=head1 role FDF::Template
Expand Down

0 comments on commit 275cf6f

Please sign in to comment.