View on GitHub

FDF-raku

Raku module for Adobe Form Definition Format files

[Raku PDF Project] / [FDF Module] / FDF :: Annot

role FDF::Annot

Description

Annotation dictionaries in an FDF file are of an appropriate PDF::Annot subclass (e.g. PDF::Annot::Widget). They also mix-in this role (FDF::Annot) which includes a Page entry indicating the page of the source document to which the annotation is attached.

Methods

class UInt $.Page

(Required for annotations in FDF files) The ordinal page number on which this annotation should appear, where page 0 is the first page.

method page-number

method page-number() returns UInt

Note that the raw $.Page entry starts at page 0. This is an alternative rw accessor that starts at page 1.