NAME
Template::Flute::PDF::Box - PDF boxes class
CONSTRUCTOR
new
Creates a Template::Flute:PDF::Box object with the following parameters:
-
Template::Flute::PDF object (required).
- elt
-
Corresponding HTML template element for the box (required).
FUNCTIONS
calculate
Calculates dimensions of the box.
Images
The width and height of an image is determined according to the following priority list.
From width/height attribute of the <img> HTML tag.
From corresponding CSS width/height property.
From width/height of the image.
align OFFSET
Aligns boxes (center, left, right).
partition PAGE_NUM HEIGHT_BASE
Partitions boxes through pages.
property NAME NAME ...
Returns property.
render PARAMETERS
Renders box.
adjust_page PAGE_NUM
Adjust page number for all descendants to PAGE_NUM.
setup_specs
Setup specifications for this box.
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.