X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=modules%2Foverride%2FPDF%2FTable.pm;h=81bf5d3e431ce4dfb5f536c86d41dcc2fac9a37f;hb=83a78eea7bb24102f0b255bd350b7dd343e7a8e4;hp=7040b2958ac4dcc0583a3c328df35f8d711fb8d8;hpb=23223ef4302931a6a141c659bfda7ef6c7546b77;p=kivitendo-erp.git diff --git a/modules/override/PDF/Table.pm b/modules/override/PDF/Table.pm index 7040b2958..81bf5d3e4 100644 --- a/modules/override/PDF/Table.pm +++ b/modules/override/PDF/Table.pm @@ -596,7 +596,7 @@ sub table { if ($remaining_header_rows) { $remaining_header_rows--; } else { - $row_cnt++; + $row_cnt++ unless $do_leftovers; } }# End of while(scalar(@{$data}) and $cur_y-$row_h > $bot_marg) @@ -981,6 +981,7 @@ Stone Environmental Inc. (www.stone-env.com). The text_block() method is a slightly modified copy of the one from Rick Measham's PDF::API2 tutorial at http://pdfapi2.sourceforge.net/cgi-bin/view/Main/YourFirstDocument +update: The tutorial is no longer available. Please visit http://pdfapi2.sourceforge.net . by Desislav Kamenov