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

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

Dependencies

Annotate this POD

CPAN RT

New  2
Open  2
View/Report Bugs
Source  

NAME ^

Template::Flute::PDF::Box - PDF boxes class

CONSTRUCTOR ^

new

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

pdf

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.

  1. From width/height attribute of the <img> HTML tag.
  2. From corresponding CSS width/height property.
  3. 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.

syntax highlighting: