Mxpress::PDF - PDF
Version 0.03
use Mxpress::PDF; my $pdf = Mxpress::PDF->new_pdf('test-pdf', page => { background => '#000', padding => 5 }, toc => { font => { colour => '#00f' }, }, title => { font => { colour => '#f00' }, }, subtitle => { font => { colour => '#0ff' }, }, subsubtitle => { font => { colour => '#f0f' }, }, text => { font => { colour => '#fff' }, }, )->add_page->title->add( 'This is a title' )->line->add->toc->placeholder->toc->add( title => 'This is a title' )->text->add( 'Add some text.' )->toc->add( subtitle => 'This is a subtitle' )->text->add( 'Add some more text.' )->toc->add( subsubtitle => 'This is a subsubtitle' )->text->add( 'Add some more text.' )->image->add( 'path/to/file.png' )->save;
experimental.
LNATION, <thisusedtobeanemail at gmail.com>
<thisusedtobeanemail at gmail.com>
Please report any bugs or feature requests to bug-mxpress-pdf at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Mxpress-PDF. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-mxpress-pdf at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Mxpress::PDF
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Mxpress-PDF
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Mxpress-PDF
CPAN Ratings
https://cpanratings.perl.org/d/Mxpress-PDF
Search CPAN
https://metacpan.org/release/Mxpress-PDF
This software is Copyright (c) 2020 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Mxpress::PDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mxpress::PDF
CPAN shell
perl -MCPAN -e shell install Mxpress::PDF
For more information on module installation, please visit the detailed CPAN module installation guide.