NAME

Mxpress::PDF - PDF

VERSION

Version 0.02

SYNOPSIS

	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'
	)->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.'
	)->save;

Note

experimental.

AUTHOR

LNATION, <thisusedtobeanemail at gmail.com>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Mxpress::PDF

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2020 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)