Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Creating a PDF with multiple tables and where data items can spread multipageby tweetiepooh (Hermit) |
on Sep 12, 2017 at 16:43 UTC ( [id://1199220]=perlquestion: print w/replies, xml ) | Need Help?? |
tweetiepooh has asked for the wisdom of the Perl Monks concerning the following question: Hi all I'm trying to create a PDF that will have a large number of tables present, with some data items possibly spanning pages. I can get the data into a structure I can use and have been playing around with how best to neatly present the data. The data will come from 2 sources and describes objects in each source. Objects may not all have the same data items present. The format of the output will be like
I've managed to get the general output just by placing items on a PDF page but using a table would likely be better and there are a number of modules with examples in CPAN but many seem more focussed on row type tables
Are there any tips or examples with this sort of output? Will it allow for large data (many rows) for any item. Can modules like PDF::Table handle documents with n tables (I don't know how many tables there will be? Will simply using code a bit like below work at all?
Script will run on Solaris (Perl5.18) and the gen'd PDF then emailed to user. Once I get the main data working I can work on page header/footers, table of contents, indices and the like. The goal is to make the data readable so we can compare objects in each data source. Objects can be named differently and can have some small code differences but functionally should be similar. Trying to use the vendor tools is not an easy task hence trying to read out the data and "format" it.
Back to
Seekers of Perl Wisdom
|
|