1Text::PDF::Array(3) User Contributed Perl Documentation Text::PDF::Array(3)
2
3
4
6 Text::PDF::Array - Corresponds to a PDF array. Inherits from
7 PDF::Objind
8
10 This object is not an array but an associative array containing the
11 array of elements. Thus, there are special instance variables for an
12 array object, beginning with a space
13
14 var Contains the actual array of elements
15
17 PDF::Array->new($parent, @vals)
18 Creates an array with the given storage parent and an optional list of
19 values to initialise the array with.
20
21 $a->outobjdeep($fh, $pdf)
22 Outputs an array as a PDF array to the given filehandle.
23
24 $a->removeobj($elem)
25 Removes all occurrences of an element from an array.
26
27 $a->elementsof
28 Returns a list of all the elements in the array. Notice that this is
29 not the array itself but the elements in the array.
30
31 $a->add_elements
32 Appends the given elements to the array. An element is only added if it
33 is defined.
34
35 $a->val
36 Returns the value of the array, this is a reference to the actual array
37 containing the elements.
38
39 $d->copy($inpdf, $res, $unique, $outpdf, %opts)
40 Copies an object. See Text::PDF::Objind::Copy() for details
41
42
43
44perl v5.32.0 2020-07-28 Text::PDF::Array(3)