in reply to Re^3: PDF, annotation method using Perl
in thread PDF, annotation method using Perl

I don't know how but I can't get the links for all the cells on the first row to work, your PDF looks good, but I just ran the code above and I get no hyperlink at all.
  • Comment on Re^4: PDF, annotation method using Perl

Replies are listed 'Best First'.
Re^5: PDF, annotation method using Perl
by almut (Canon) on Apr 02, 2009 at 12:34 UTC

    Have you patched your PDF/Table.pm as I described?  Without the patch, PDF::Table doesn't have an option "cell_render_hook", so it of course won't work...

    perl -MPDF::Table -e"print qq($INC{'PDF/Table.pm'}\n)"

    (Windows syntax) should tell you where Table.pm lives — just in case that's what kept you from editing it :)

      It does work, my bad I need more sleep and lots of more coffee. Thank you for the information very much. Going to the next phase. I think I should post the finished code here at some point it could be a nice reference about how use this module, it could help a lot of people looking for the same thing since documentation is nos really helpful. What do you think?
        I think I should post the finished code here (...) What do you think?

        Definitely. Making working sample snippets available to the public is always a goog thing, especially if the regular documentation is terse.

        Also, you might want to submit a (friendly worded) feature request against PDF::Table, saying it would have been nice to have something like the missing 'cell_render_hook' to solve your problem (just link to this thread). In case the author agrees, we might see this functionality in an upcoming release...

      Hi, nice work, how easy would be to add an extra row for customized title for each row, and another extra empty row on the bottom to displaying the current date?