Merge branch 'karushka'
[kivitendo-erp.git] / SL / ReportGenerator.pm
index f390db0..2d95950 100644 (file)
@@ -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