01 Dec 2005 20:03:33 UTC
- Distribution: PDF-Writer
- Module version: 0.06
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (857 / 0 / 0)
- KwaliteeBus factor: 2
- 67.24% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity24 month
- Download (5.38KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Looking for help!The maintainer of this distribution is looking for people to help them improve this module! If you're interested then please contact them via email.
PDF::Writer - PDF writer abstraction layer
This document describes version 0.05 of PDF::Writer, released Oct 25, 2005.
use PDF::Writer; # Or, to explicitly specify a back-end ... use PDF::Writer 'pdflib'; use PDF::Writer 'pdfapi2'; use PDF::Writer 'mock'; my $writer = PDF::Writer->new;
This is a generalized API that allows a module that generates PDFs to transparently target multiple backends without changing its code. The currently supported backends are:
Available from CPAN
PDFlib (versions 3+)
Available from "/www.pdflib.com" in http;. There is both a pay and free version. PDF::Writer will work with both, within their limitations. Please see the appropriate documentation for details.
This allows modules that target PDF::Writer to write their tests against a mock interface. Please see PDF::Writer::mock for more information.
If both PDF::API2 and pdflib_pl are available, PDF::API2 is preferred. If neither is available, a run-time exception will be thrown. You must explicitly load the PDF::Writer::mock driver, if you wish to use it.
This acts as a factory, loading the appropriate PDF::Writer driver.
Originally written by:
Autrijus Tang <email@example.com>
Currently maintained by:
Rob Kinyon <firstname.lastname@example.org>
Stevan Little <email@example.com>
Thanks to Infinity Interactive for generously donating our time.
Copyright 2004, 2005 by Autrijus Tang <firstname.lastname@example.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.