Skip to content

Commit

Permalink
Add PDF::Bread /Metadata entry
Browse files Browse the repository at this point in the history
Optional PDF 2.0 field.
  • Loading branch information
dwarring committed Sep 5, 2024
1 parent 642c725 commit a29f672
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/PDF/Bead-Thread.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ role PDF::Thread does PDF::COS::Tie::Hash {
use PDF::COS::Tie;
use PDF::COS::Name;
use PDF::Info;
use PDF::Metadata::XML;

has PDF::COS::Name $.Type is entry where 'Thread'; # [name] (Optional) The type of PDF object that this dictionary describes; if present, is Thread for a thread dictionary.
has PDF::Bead $.F is entry(:required, :alias<first>); # [dictionary] (Required; is an indirect reference) The first bead in the thread.
has PDF::Info $.I is entry(:alias<info>); # [dictionary] (Optional) A thread information dictionary containing information about the thread, such as its title, author, and creation date. The contents of this dictionary shall conform to the syntax for the document information dictionary (see Link 14.3.3, “Document Information Dictionary” ).
has PDF::Metadata::XML $.Metadata is entry(:alias<metadata>); # [stream] (Optional; PDF 2.0; is an indirect reference) A metadata stream containing information about the thread, such as its title, author, and creation date (see 14.3.2, "Metadata streams")

}

0 comments on commit a29f672

Please sign in to comment.