logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Text::PDF::Array - Corresponds to a PDF array. Inherits from PDF::Objind

Instance Variables

       This object is not an array but an associative array containing the array of elements. Thus, there are
       special instance variables for an array object, beginning with a space

       var Contains the actual array of elements

Methods

PDF::Array->new($parent,@vals)
       Creates  an  array  with  the given storage parent and an optional list of values to initialise the array
       with.

   $a->outobjdeep($fh,$pdf)
       Outputs an array as a PDF array to the given filehandle.

   $a->removeobj($elem)
       Removes all occurrences of an element from an array.

   $a->elementsof
       Returns a list of all the elements in the array. Notice that  this  is  not  the  array  itself  but  the
       elements in the array.

   $a->add_elements
       Appends the given elements to the array. An element is only added if it is defined.

   $a->val
       Returns the value of the array, this is a reference to the actual array containing the elements.

   $d->copy($inpdf,$res,$unique,$outpdf,%opts)
       Copies an object. See Text::PDF::Objind::Copy() for details

perl v5.36.0                                       2022-10-22                              Text::PDF::Array(3pm)

Name

       Text::PDF::Array - Corresponds to a PDF array. Inherits from PDF::Objind

See Also