The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Template::Flute::PDF::Import - PDF import class

SYNOPSIS

$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);

CONSTRUCTOR

new

Creates a Template::Flute::PDF::Import object with the following parameters:

file

PDF file to be imported (required).

scale

Scaling factor for the PDF.

margin

Margin adjustments.

FUNCTIONS

import

Imports the PDF file.

AUTHOR

Stefan Hornburg (Racke), <racke@linuxia.de>

LICENSE AND COPYRIGHT

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.