X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FReportGenerator.pm;h=2d959509d05c47f9e18b66497c8261f196e52668;hb=dea9aaea2182221d62f88966d9ad8e4f85e3a3d6;hp=f390db058092e7632c1373f9235c6a450cfedf08;hpb=ea707efcb3b6f5cda6ccf12fb86c4659b9db079f;p=kivitendo-erp.git diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index f390db058..2d959509d 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -1,6 +1,6 @@ package SL::ReportGenerator; -use strict; +#use strict; use Encode; use IO::Wrap; @@ -623,6 +623,7 @@ sub generate_pdf_content { 'column_props' => \@column_props, 'cell_props' => \@cell_props, 'max_word_length' => 60, + 'border' => 0.5, ); foreach my $page_num (1..$pdf->pages()) { @@ -888,20 +889,12 @@ The html generation function. Is invoked by generate_with_headers. =item generate_pdf_content -The PDF generation function. It is invoked by generate_with_headers, tests whether or not the Perl module PDF::API2 is installed and calls render_pdf_with_pdf_api2 if it is and render_pdf_with_html2ps otherwise. +The PDF generation function. It is invoked by generate_with_headers and renders the PDF with the PDF::API2 library. =item generate_csv_content The CSV generation function. Uses XS_CSV to parse the information into csv. -=item render_pdf_with_pdf_api2 - -PDF render function using the Perl module PDF::API2. - -=item render_pdf_with_html2ps - -PDF render function using the external application html2ps. - =back =head1 CONFIGURATION