Changes for version 2.022 - 2014-07-04

  • Added $pdf->version() get/set method. When opening an existing PDF, the existing version number will now be retained.
  • Renamed the following in PDF::API2:
    • importpage to import_page
    • openScalar to open_scalar
    • The old names are deprecated.
  • [RT #69503] Fix the -firstpage option to $pdf->preferences() so that it doesn't always lead to a crash (reported by Dietrich Streifert).
  • [RT #47974] Accept malformed xref subsections (with a warning) that have extraneous spaces on the first line (reported by Abhinav Kaushik).
  • [RT #94505] For Code128 barcodes, the initial character set is now optional (defaults to B or C depending on the content to be encoded). The initial character set can be passed as a capital letter, and the program will die if an invalid character set is requested (requested by Andrea Nall).
  • Interleaved 2 of 5 barcodes now prepend a zero when an odd number of digits is specified, which is standard behavior. Previously, a zero was appended instead.
  • $page->rotate(0) now sets rotation to 0 degrees rather than deleting an existing page rotation command. Page rotation is inherited, so this is necessary to undo any inherited page rotation.
  • Fix: Attempts to use EAN-128 barcodes resulted in an error.
  • Add a more informative error when text() is called without first setting a font(), and when font() is called without including a font size.

Modules

Facilitates the creation and modification of PDF files
Add annotations to a PDF
Corresponds to a PDF array. Inherits from PDF::Objind
A special form of PDF::String which holds the strings true or false
PDF Dictionaries and Streams. Inherits from PDF::Objind
Holds the trailers and cross-reference tables for a PDF file
Abstract superclass for PDF stream filters
Inherits from PDF::API2::Basic::PDF::String and stores PDF names (things beginning with /)
PDF Null type object. This is a subclass of PDF::API2::Basic::PDF::Objind and cannot be subclassed.
Numbers in PDF. Inherits from PDF::API2::Basic::PDF::String
PDF indirect object reference. Also acts as an abstract superclass for all elements in a PDF file.
Represents a PDF page, inherits from PDF::API2::Basic::PDF::Pages
a PDF pages hierarchical element. Inherits from PDF::API2::Basic::PDF::Dict
PDF String type objects and superclass for simple objects that are basically stringlike (Number, Name, etc.)
Utility functions for PDF library
Methods for adding graphics and text to a PDF
lite pdf creation
Add named destination shortcuts to a PDF
Manage PDF outlines (aka bookmarks)
Methods to interact with individual pages
Base class for PDF resources
Base class for font resources
Base class for CID fonts
Base class for CJK fonts
Base class for PDF color spaces
Support for color space separations
Graphics state dictionary support
Module for using bitmapped Fonts.
Module for using the 14 PDF built-in Fonts.
Module for using synthetic Fonts.
Unicode Font Support
Base class for external objects
Base class for external form objects
Base class for one-dimensional barcodes
Code 128 and EAN-128 barcode support
Base class for external raster image objects
utility package for often use methods across the package.

Provides

in lib/PDF/API2/Win32.pm
in lib/PDF/API2/Basic/PDF/Filter/ASCII85Decode.pm
in lib/PDF/API2/Basic/PDF/Filter/ASCIIHexDecode.pm
in lib/PDF/API2/Basic/PDF/Filter/FlateDecode.pm
in lib/PDF/API2/Basic/PDF/Filter/LZWDecode.pm
in lib/PDF/API2/Basic/PDF/Filter/RunLengthDecode.pm
in lib/PDF/API2/Basic/PDF/Literal.pm
in lib/PDF/API2/Content/Text.pm
in lib/PDF/API2/Matrix.pm
in lib/PDF/API2/Outlines.pm
in lib/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm
in lib/PDF/API2/Resource/ColorSpace/DeviceN.pm
in lib/PDF/API2/Resource/ColorSpace/Indexed.pm
in lib/PDF/API2/Resource/ColorSpace/Indexed/Hue.pm
in lib/PDF/API2/Resource/ColorSpace/Indexed/WebColor.pm
in lib/PDF/API2/Resource/Colors.pm
in lib/PDF/API2/Resource/Font.pm
in lib/PDF/API2/Resource/Font/CoreFont/bankgothic.pm
in lib/PDF/API2/Resource/Font/CoreFont/courier.pm
in lib/PDF/API2/Resource/Font/CoreFont/courierbold.pm
in lib/PDF/API2/Resource/Font/CoreFont/courierboldoblique.pm
in lib/PDF/API2/Resource/Font/CoreFont/courieroblique.pm
in lib/PDF/API2/Resource/Font/CoreFont/georgia.pm
in lib/PDF/API2/Resource/Font/CoreFont/georgiabold.pm
in lib/PDF/API2/Resource/Font/CoreFont/georgiabolditalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/georgiaitalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/helvetica.pm
in lib/PDF/API2/Resource/Font/CoreFont/helveticabold.pm
in lib/PDF/API2/Resource/Font/CoreFont/helveticaboldoblique.pm
in lib/PDF/API2/Resource/Font/CoreFont/helveticaoblique.pm
in lib/PDF/API2/Resource/Font/CoreFont/symbol.pm
in lib/PDF/API2/Resource/Font/CoreFont/timesbold.pm
in lib/PDF/API2/Resource/Font/CoreFont/timesbolditalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/timesitalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/timesroman.pm
in lib/PDF/API2/Resource/Font/CoreFont/trebuchet.pm
in lib/PDF/API2/Resource/Font/CoreFont/trebuchetbold.pm
in lib/PDF/API2/Resource/Font/CoreFont/trebuchetbolditalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/trebuchetitalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/verdana.pm
in lib/PDF/API2/Resource/Font/CoreFont/verdanabold.pm
in lib/PDF/API2/Resource/Font/CoreFont/verdanabolditalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/verdanaitalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/webdings.pm
in lib/PDF/API2/Resource/Font/CoreFont/wingdings.pm
in lib/PDF/API2/Resource/Font/CoreFont/zapfdingbats.pm
in lib/PDF/API2/Resource/Font/Postscript.pm
in lib/PDF/API2/Resource/Glyphs.pm
in lib/PDF/API2/Resource/PaperSizes.pm
in lib/PDF/API2/Resource/Pattern.pm
in lib/PDF/API2/Resource/Shading.pm
in lib/PDF/API2/Resource/XObject/Form/BarCode/codabar.pm
in lib/PDF/API2/Resource/XObject/Form/BarCode/code3of9.pm
in lib/PDF/API2/Resource/XObject/Form/BarCode/ean13.pm
in lib/PDF/API2/Resource/XObject/Form/BarCode/int2of5.pm
in lib/PDF/API2/Resource/XObject/Form/Hybrid.pm
in lib/PDF/API2/Resource/XObject/Image/GD.pm
in lib/PDF/API2/Resource/XObject/Image/GIF.pm
in lib/PDF/API2/Resource/XObject/Image/JPEG.pm
in lib/PDF/API2/Resource/XObject/Image/PNG.pm
in lib/PDF/API2/Resource/XObject/Image/PNM.pm
in lib/PDF/API2/Resource/XObject/Image/TIFF.pm
in lib/PDF/API2/UniWrap.pm
in lib/PDF/API2/Win32.pm