PDF::API2::NamedDestination(3pmUser Contributed Perl DocumentatioPDF::API2::NamedDestination(3pm)
NAME
PDF::API2::NamedDestination -- PDF::API2 named destination support
SYNOPSIS
METHODS
$dest = PDF::API2::NamedDestination->new $pdf
$dest = PDF::API2::NamedDestination->new_api $api
Returns a destination object. This method is different from 'new' that it needs an
PDF::API2-object rather than a PDF::API2::PDF::File-object.
$dest->link $page, %opts
Defines the destination as launch-page with page $page and options %opts (-rect,
-border or 'dest-options').
$dest->url $url, %opts
Defines the destination as launch-url with url $url and options %opts (-rect and/or
-border).
$dest->file $file, %opts
Defines the destination as launch-file with filepath $file and options %opts (-rect
and/or -border).
$dest->pdfile $pdfile, $pagenum, %opts
Defines the destination as pdf-file with filepath $pdfile, $pagenum and options %opts
(same as dest).
$dest->dest( $page, -fit => 1 )
Display the page designated by page, with its contents magnified just enough to fit
the entire page within the window both horizontally and vertically. If the required
horizontal and vertical magnification factors are different, use the smaller of the
two, centering the page within the window in the other dimension.
$dest->dest( $page, -fith => $top )
Display the page designated by page, with the vertical coordinate top positioned at
the top edge of the window and the contents of the page magnified just enough to fit
the entire width of the page within the window.
$dest->dest( $page, -fitv => $left )
Display the page designated by page, with the horizontal coordinate left positioned at
the left edge of the window and the contents of the page magnified just enough to fit
the entire height of the page within the window.
$dest->dest( $page, -fitr => [ $left, $bottom, $right, $top ] )
Display the page designated by page, with its contents magnified just enough to fit
the rectangle specified by the coordinates left, bottom, right, and top entirely
within the window both horizontally and vertically. If the required horizontal and
vertical magnification factors are different, use the smaller of the two, centering
the rectangle within the window in the other dimension.
$dest->dest( $page, -fitb => 1 )
(PDF 1.1) Display the page designated by page, with its contents magnified just enough
to fit its bounding box entirely within the window both horizontally and vertically.
If the required horizontal and vertical magnification factors are different, use the
smaller of the two, centering the bounding box within the window in the other
dimension.
$dest->dest( $page, -fitbh => $top )
(PDF 1.1) Display the page designated by page, with the vertical coordinate top
positioned at the top edge of the window and the contents of the page magnified just
enough to fit the entire width of its bounding box within the window.
$dest->dest( $page, -fitbv => $left )
(PDF 1.1) Display the page designated by page, with the horizontal coordinate left
positioned at the left edge of the window and the contents of the page magnified just
enough to fit the entire height of its bounding box within the window.
$dest->dest( $page, -xyz => [ $left, $top, $zoom ] )
Display the page designated by page, with the coordinates (left, top) positioned at
the top-left corner of the window and the contents of the page magnified by the factor
zoom. A zero (0) value for any of the parameters left, top, or zoom specifies that the
current value of that parameter is to be retained unchanged.
AUTHOR
alfred reibenschuh
HISTORY
$Log: NamedDestination.pm,v $
Revision 2.0 2005/11/16 02:16:00 areibens
revision workaround for SF cvs import not to screw up CPAN
Revision 1.2 2005/11/16 01:27:48 areibens
genesis2
Revision 1.1 2005/11/16 01:19:24 areibens
genesis
Revision 1.5 2005/06/17 19:43:47 fredo
fixed CPAN modulefile versioning (again)
Revision 1.4 2005/06/17 18:53:33 fredo
fixed CPAN modulefile versioning (dislikes cvs)
Revision 1.3 2005/03/14 22:01:05 fredo
upd 2005
Revision 1.2 2005/01/03 04:17:46 fredo
fixed dict creation
Revision 1.1 2005/01/03 03:31:41 fredo
genesis
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
Around line 327:
You forgot a '=back' before '=head1'
perl v5.10.0 2008-05-04 PDF::API2::NamedDestination(3pm)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-24 23:40 @38.107.179.236 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)