|more useful options|
PDF::Table seems to ignore column properties when there are but two columnsby ted.byers (Beadle)
|on Jul 09, 2013 at 21:44 UTC||Need Help??|
ted.byers has asked for the
wisdom of the Perl Monks concerning the following question:
Here is my column properties specification:
I am using Acivestate perl 5.16, and the problem is happening with the package PDF::Table.
The objective is to have three or four tables that are about 3.5 inches width, aligned one above the other, but with about an eigth of an inch between each table. That part is easy, but the over all effect looks like garbage because with the above column property specifications, every table ends up with different column widths, as if PDF::Table is ignoring the column specification entirely. I am being asked to make all the tables have the same column widths and nothing I have tried, including specifying minimum and maximum column widths for both columns has produced any consistency at all in the tables produced. (The contents of each table is comprised of a value description in the left column and a dollar amount in the right column, if that matters).
This is driving me insane! What do I have to do to get these tables to have the same column widths? Yes, I have checked the obvious and ensured that all the tables are given the same column properties object (column_props => $col_props1 is the last item in the table constructor).