Stefan Hornburg (Racke) > Template-Flute-PDF-0.0042 > Template::Flute::PDF::Import

Download:
Template-Flute-PDF-0.0042.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  1
View/Report Bugs
Source  

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.

syntax highlighting: