./textproc/p5-PDF-Table, Utility class for building table layouts in a Perl5 PDF::API2 object

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.006, Package name: p5-PDF-Table-1.006, Maintainer: pkgsrc-users

This module is intended for table generation using PDF::API2


Required to run:
[textproc/p5-PDF-API2] [lang/perl5]

Master sites: (Expand)

Filesize: 90.346 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-28 02:43:38 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.006

Upstream changes:
=== Version 1.006 (2024-03-20)

    examples/*.pl
     Add ability to read an ENV environmental variable 'PDF_prefLib' to get
      the preferred library to use (API2 or Builder). Checks for command line
      A or B (or -A -B), ENV{PDF_prefLib} A or B, PDF::API2 or PDF::Builder,
      examples/PDFpref file A or B, PDF::API2 or PDF::Builder. This is of
      real interest only when BOTH libraries are installed, and you need to
      pick one or the other to run with.

      Note that util/3_examples.pl also has the ability to give 'A' or 'B'
      on the command line to indicate a preference for API2 or Builder (if
      both are installed).

      Note that the t-tests use a dummy library PDFAPI2Mock, that provides
      enough of the interface to let the tests be run, regardless of whether
      you already have API2 or Builder installed! However, you will still need
      to have at least one of the two installed in order to run the examples
      or otherwise use PDF::Table.

    lib/PDF/Table.pm, examples/no_repeat.pl (new), util/3_examples
     Was incorrectly defaulting undefined header repeat switch, in a manner
      that did not allow the switch to be '0': no repeating the header (#77).
      Add new example of multipage table without repeating header.

    README.md  update to point to new Home Page structure on catskilltech.com
      including both full documentation and examples
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2023-07-04 04:25:13 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.005

Upstream changes:
=== Version 1.005 (2023-01-28)

  lib/PDF/Table.pm
   Update cell checking when using markup, so that anything which CAN be by
    default stringified, will be. Some customers are using default or implicit
    stringification of objects, which was being caught as an unsupported data
    type, and rendered as "(invalid)" in a cell. The downside is that \ 
if you
    send something nonsensical (e.g., reference to a SCALAR), you will see the
    stringified reference (address), as done in the 1.003 and earlier versions.

  Makefile.PL remove PROVIDES clause, as was getting build warnings about it.

=== Version 1.004 (2023-01-21)

  lib/PDF/Table.pm, lib/PDF/Table.pod, INFO/SPONSORS (new), INFO/Table.html,
    MANIFEST
   For PDF::Builder ONLY, allow specification of cell 'markup' (Markdown
    or HTML), to permit great flexibility in cell content. See PDF::Builder's
    examples/Column.pl for an example of usage.

   This work (as well as markup changes for PDF::Builder) has been kindly
    sponsored by Amtivo Group (see INFO/SPONSORS).

  lib/PDF/Table.pm, examples/sample1-size-vsizes.pl
   The 'Times' font should be named 'Times-Roman', to conform with the correct
    core font naming. PDF::Builder no longer silently accepts 'Times' as an
    alias for 'Times-Roman', and now gives a warning.

  xt/manifest.t, xt/pod.t, MANIFEST, util/2_t-tests.pl
   Move author tests from t/ to xt/

  examples/chess.pl
   PDF::API2 (PREVIOUS to release 2.044) has a bug in its TTF
    handling, where it fails to translate some Unicode points \ 
("U+nnnn" number)
    to the appropriate font glyph entry, and instead puts the Unicode point
    in the glyph list. This is incorrect, and usually results in a mismapping.

    As of PDF::API2 v 2.044, chess.pl seems to be working again.

  examples/*.pl
   If command line -A or -B, add prefix A_ or B_ to the output file name. This
    can be useful when using -A or -B with util/3_examples.pl to generate
    different output PDFs for PDF::API2 and PDF::Builder. Keep in mind that an
    example given without -A or -B will not add the prefix.

  lib/PDF/Table.pm, lib/PDF/Table.pod, INFO/Table.html,
    examples/vsizes.pl (new), util/3_examples.pl
   Dry run to return vertical size (overall, header, [footer], each row),
    no output to PDF, with "ink" set to 0.

  lib/PDF/Table.pod (moved), MANIFEST, util/pod2cpanhtml.pl, Makefile.PL
   Move .pod up a level (thanks to "perlpunk")

  lib/PDF/Table/Table.pod, INFO/Table.html, examples/chess.pl,
    INFO/Changes_2019, lib/PDF/Table.pm
   Typos caught by lintian (via emollier) and codespell (via mdeweerd).

 CONTRIBUTING, MANIFEST  add Contribution guide

=== Version 1.003 (2022-07-05)

 lib/PDF/Table/ColumnWidth.pm, lib/PDF/Table/Table.pod, examples/size.pl,
   MANIFEST, util/3_examples.pl
  Add the ability to specify fixed and relative sizes for column widths,
   rather than having to accept system-calculated widths. You give a string
   to the 'size' optional global setting specifying the absolute width of
   a column (in, pt, cm, mm, em, or ex units), and/or a unit of '*' to
   indicate remaining space is to be split up among these columns.

 lib/PDF/Table.pm, lib/PDF/Table/Settings.pm, MANIFEST
  Split out deprecated_settings and check_settings functions into new file.

 lib/PDF/Table.pm, lib/PDF/Table/ColumnWidth.pm, MANIFEST, t/PDF-Table.t
  Split out CalcColumnWidths function into new file.

 examples/chess.pl
  PDF::API2 work-around added for font-handling change in 2.043. The problem
   is being investigated, but the chess example almost works for now.

 lib/PDF/Table.pm, lib/PDF/Table/Table.pod, MANIFEST
  Split out documentation into separate POD file.

 lib/PDF/Table.pm
  Fix handling of degenerate case of header-only, without data rows (#71).

 lib/PDF/Table.pm, t/PDF-Table.t
  Finish cleanup of column width calculations (#68, #72).

 Makefile.PL, LICENSE, MANIFEST.SKIP
  Build (at install) META.* with "provides" member. Add separate \ 
license file.
   Add some items to MANIFEST SKIP file to clean up.

 lib/PDF/Table.pm
  $LAST_UPDATE changed from 'my' storage class to 'our', so can be accessed
   programmatically.

 lib/PDF/Table.pm
   Absolute minimum with of a column reset to at least $min_col_width (a new
    global default) to prevent text_block() width errors.

 Update build process to ensure consistent "unix" formatting of most
   human-readable files. Some non-CPAN builds were complaining
   about MS-DOS format (CRLF line ends) on some files.

 lib/PDF/Table.pm, examples/chess.pl, t/PDF-Table.t
   Fix handling of max_w [GitHub #68], rewrite column width calculations. This
    may result in some noticable changes in column widths from before.

 lib/PDF/Table.pm   Remove requirement that "empty cell" text not be an
   empty string (allow $empty_cell_text to be ''), permitting completely
   empty cells.

 lib/PDF/Table.pm   minor comment updates

 README.md, lib/PDF/Table.pm, INFO/Table.html
  2022 copyright. NOT archiving Changes yet.

=== Version 1.002 (2020-12-27)

 README.md, lib/PDF/Table.pm, Makefile.PL
  Miscellaneous updates to clean up support URLs, emails, etc.

 util/pod2cpanhtml.pl
  Remove use of search.cpan.org CSS reference, as that site no longer exists.
   Looking for a good replacement, possibly Bootstrap, that doesn't require
   that a phone be turned to landscape orientation in order to read text at
   a decent size.

 lib/PDF/Table.pm
  Cells spanning columns only had the first part (cell) of the bottom
   horizontal rule drawn. Reported by "stefanalt". Fixed to draw full \ 
spanned
   width.

 t/PDF-Table.t
  One calculated value was considerably different between standard Perl (uses
   doubles for floats), long-double Perl, and quad-math Perl. Round the
   calculated value to 6 decimal digits so that it works on any system.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2021-03-28 00:34:09 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.002

Upstream changes:
=== Version 1.002 (2020-12-27)

 README.md, lib/PDF/Table.pm, Makefile.PL
  Miscellaneous updates to clean up support URLs, emails, etc.

 util/pod2cpanhtml.pl
  Remove use of search.cpan.org CSS reference, as that site no longer exists.
   Looking for a good replacement, possibly Bootstrap, that doesn't require
   that a phone be turned to landscape orientation in order to read text at
   a decent size.

 lib/PDF/Table.pm
  Cells spanning columns only had the first part (cell) of the bottom
   horizontal rule drawn. Reported by "stefanalt". Fixed to draw full \ 
spanned
   width.

 t/PDF-Table.t
  One calculated value was considerably different between standard Perl (uses
   doubles for floats), long-double Perl, and quad-math Perl. Round the
   calculated value to 6 decimal digits so that it works on any system.