Template::Flute::PDF::Import - PDF import class
$import{file} = 'shippinglabel.pdf'; $import{scale} = 0.8; $import{margin} = {left => '3mm', top => '6mm'}; $pdf = new Template::Flute::PDF (template => $flute->template(), file => 'invoice.pdf', import => \%import);
Creates a Template::Flute::PDF::Import object with the following parameters:
PDF file to be imported (required).
Scaling factor for the PDF.
Margin adjustments.
Imports the PDF file.
Stefan Hornburg (Racke), <racke@linuxia.de>
Copyright 2010-2012 Stefan Hornburg (Racke) <racke@linuxia.de>.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Template::Flute::PDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Flute::PDF
CPAN shell
perl -MCPAN -e shell install Template::Flute::PDF
For more information on module installation, please visit the detailed CPAN module installation guide.