1PDF::API2::Basic::PDF::UAsrerrayC(o3n)tributed Perl DocuPmDeFn:t:aAtPiIo2n::Basic::PDF::Array(3)
2
3
4
6 PDF::API2::Basic::PDF::Array - Corresponds to a PDF array. Inherits
7 from 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 $a->copy($pdf)
40 Copies the array with deep-copy on elements which are not full PDF
41 objects with respect to a particular $pdf output context
42
43
44
45perl v5.12.2 2011-01-24 PDF::API2::Basic::PDF::Array(3)