Search results
21 kwi 2017 · I am looking to create .pdf files from scratch, with only simple formatting such as bold/italic and left/right/center justify. Being able to use a template file would nice, from an MVC perspective, but if the best module doesn't support that, I'm ok. I want the best module for my narrow problem set.
It provides a library of modules and functions so that a PDF file (document) may be built and maintained from Perl programs (it can also read in, modify, and write back out existing PDF files). It is not a WYSIWYG editor; nor is it a canned utility or converter.
PDF::Template - Perl extension for separation of data and PDF document layout. SYNOPSIS use PDF::Template; my $rpt = new PDF::Template(FILENAME=>'rpt_allpwps.xml'); # Set some parameters $rpt->param(REPORT_NAME=>'P-9: PWP Booklet'); $rpt->param(OUTER=>\@arrayofhashrefsofarrayrefsofhashrefsorsomething); # Write out a PDF file $rpt->write_file ...
With PDFUnit, any document, whether created using a powerful design tool, exported from MS Word or LibreOffice, processed using an API, or dropped out of an XSL-FO workflow, can be tested. The interface of PDFUnit-Perl is a wrapper around PDFUnit-Java.
Text::PDF There seem to be a growing plethora of Perl modules for creating and manipulating PDF files. This module is no exception. Beyond the standard features you would expect from a PDF manipulation module there are: FEATURES . Works with more than one PDF file open at once .
The Template Toolkit is a collection of Perl modules which implement a fast, flexible, powerful and extensible template processing system. It is "input-agnostic" and can be used equally well for processing any kind of text documents: HTML, XML, CSS, Javascript, Perl code, plain text, and so on.
14 kwi 2019 · #!/usr/bin/perl use PDF::API2; # Create a blank PDF file $pdf = PDF::API2->new(); # Add a blank page $page = $pdf->page(); # Define Letter-sized page measured in points.