Changes for version 0.9.7

  • Reviewed and updated README
  • Huge POD rewrite
  • Adding a small script that generates HTML from POD and applies CSS from CPAN. Useful for reviewing the POD before release.
  • Added a test for POD validation
  • Added an example file that can test GitHub Issues #8, #9, #10
  • GitHub [Issue #9] [Issue #10] Fixed cell_props applied to a different row when 'Repeat Headers' is enabled
  • Introduced column_numbers variable to avoid using $record in a broader scope. Further improvement needed.
  • Header row height is copied to each new page when 'Repeat Headers' is enabled
  • Fixed messing up row height when repeat headers is enabled due to access by array index vs shift/unshift
  • Fixed row height for rows with text blocks
  • Headers_props variable has been wrongly initialised with 0 causing a copy of the first data row even when header props are not passed as parameter
  • Added initialisation of header props justify param so that column and cell properties are not affecting the default value.
  • Fixed an issue with messing up row properties when repeating the header row on each page.
  • Examples have been formatted.
  • One new example added (header.pl) for demonstrating how header row can be added to multiple pages.
  • No need to export variables. Added one more test.
  • Removed pad_w and pad_h local variable as useless
  • Fixed typo causing a bug with row_height param. Added example file for row_height. To be used for writing a test.
  • Added POD for row_height param
  • Row counting should not be skipped if it is first row.
  • Added one more test(duplicates existing) but only to have base.
  • Extracted PDF::API2 Mock as a separate package. Created New test with the very basics. Create a new package that will hold predefined data for tests so it can be reused.
  • Fixed a variable that masks earlier declaration.
  • Fixed Issue #4 - Row height is calculated correctly depending on font size. Some variables are renamed to more meaningful. Row counting is done in a new way with single counter that is used for column and cell props retrieval.
  • Row height is now calculated for each row based on maximum font size from all cells. Refactored some variable names and unified row counting during column size calculation phase.
  • Fixed doc details in POD
  • Cosmetic changes
  • Decreased indent and reduced if body. For easier review, diff with whitespace changes disabled.
  • Added github url in readme

Modules

A utility class for building table layouts in a PDF::API2 object.