/usr/share/doc/libcatalyst-view-pdf-reuse-perl/README is in libcatalyst-view-pdf-reuse-perl 0.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | NAME
Catalyst::View::PDF::Reuse - Create PDF files from Catalyst using
Template Toolkit templates
VERSION
Version 0.01
SYNOPSIS
Create a PDF::Reuse view:
script/myapp_create.pl view PDF::Reuse PDF::Reuse
In MyApp.pm, add a configuration item for the template include path:
__PACKAGE__->config('View::PDF::Reuse' => {
INCLUDE_PATH => __PACKAGE__->path_to('root','templates')
});
In your controller:
$c->stash->{pdf_template} = 'hello_pdf.tt';
$c->forward('View::PDF::Reuse');
In root/templates/hello_pdf.tt:
[% pdf.prFont('Helvetica-Bold') %]
[% pdf.prFontSize(20) %]
[% pdf.prText(100,100,'Hello, World!') %]
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Catalyst::View::PDF::Reuse
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-View-PDF-Reuse
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Catalyst-View-PDF-Reuse
CPAN Ratings
http://cpanratings.perl.org/d/Catalyst-View-PDF-Reuse
Search CPAN
http://search.cpan.org/dist/Catalyst-View-PDF-Reuse
SEE ALSO
Penny's Arcade Open Source - http://www.pennysarcade.co.uk/opensource
COPYRIGHT AND LICENCE
Copyright (C) 2009 Penny's Arcade Limited
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
|