CTS logo
hazy blue Catskill Mountains in distance

News:

PDF::Builder v3.027 Released, 18 April 2025
   Please also see the CPAN listing, the GitHub entry, and the latest changes list.


A Thought…

I was disappointed when I went to the Air and Space Museum — there was nothing there.

   — wndflower1, Non Sequitur comic letters

NAME

PDF::Builder::Basic::PDF::Array - Corresponds to a PDF array

Inherits from PDF::Builder::Basic::PDF::Objind

METHODS

new

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

outobjdeep

    $a->outobjdeep($fh, $pdf)
Outputs an array as a PDF array to the given filehandle. It's unusual to need to call this method from user code.

elements

    $a->elements()
Returns the contents of the array.

add_elements

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

remove_element

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

val

    $a->val()
Returns a reference to the contents of the array.

copy

    $a->copy($pdf)
Copies the array with deep-copy on elements which are not full PDF objects with respect to a particular $pdf output context.

NAVIGATION LINKS

Up (Parents)

Master Index
PDF::Builder -- Facilitates the creation and modification of PDF files
PDF::Builder::Basic::PDF -- Various utilities and support routines

Siblings

PDF::Builder::Basic::PDF::Bool -- Holds the strings true or false
PDF::Builder::Basic::PDF::Dict -- PDF Dictionaries and Streams
PDF::Builder::Basic::PDF::File -- Holds the trailers and cross-reference tables for a PDF file
PDF::Builder::Basic::PDF::Filter -- Abstract superclass for PDF stream filters
PDF::Builder::Basic::PDF::Literal -- Literal PDF Object
PDF::Builder::Basic::PDF::Name -- Stores PDF names (things beginning with /)
PDF::Builder::Basic::PDF::Null -- PDF Null type object
PDF::Builder::Basic::PDF::Number -- Numbers in PDF
PDF::Builder::Basic::PDF::Objind -- PDF indirect object reference
PDF::Builder::Basic::PDF::Page -- Represents a PDF page
PDF::Builder::Basic::PDF::Pages -- PDF pages hierarchical element
PDF::Builder::Basic::PDF::String -- PDF String type objects
PDF::Builder::Basic::PDF::Utils -- Utility functions for PDF library

 

All content © copyright 2005 – 2025 by Catskill Technology Services, LLC.
All rights reserved.
Note that Third Party software (whether Open Source or proprietary) on this site remains under the copyright and license of its owners. Catskill Technology Services, LLC does not claim copyright over such software.

 

This page is https://www.catskilltech.com/Documentation/PDF/Builder/Basic/PDF/Array.html

Search Quotations database.

Last updated Sat, 19 Apr 2025 at 8:15 PM

Valid HTML 5

Tue, 11 Nov 2025 at 2:25 AM EST