Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 99a0ac76

Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt

  • ID 99a0ac76aa203b2ff4cbf05d7348d6a4d9b0920a
  • Vorgänger d9406501
  • Nachfolger 5ee512da

Weitere Erläuterungen zur Dokumentation.

Unterschiede anzeigen:

SL/ReportGenerator.pm
899 899

  
900 900
=item generate_pdf_content
901 901

  
902
The PDF generation function. Is invoked by the pdf render functions.
902
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.
903 903

  
904 904
=item generate_csv_content
905 905

  
......
907 907

  
908 908
=item render_pdf_with_pdf_api2
909 909

  
910
PDF render function. Uses PDF module.
910
PDF render function using the Perl module PDF::API2.
911 911

  
912 912
=item render_pdf_with_html2ps
913 913

  
914
PDF render function. Uses html2ps to render.
914
PDF render function using the external application html2ps.
915 915

  
916 916
=back
917 917

  
......
933 933

  
934 934
=item allow_pdf_export
935 935

  
936
Used to determine if a button for PDF export should be displayed. Default is yes.
936
Used to determine if a button for PDF export should be displayed. Default is yes. The PDF button is hidden if neither the Perl module PDF::API2 nor the external applications html2ps and Ghostscript are available regardless of this parameter's value.
937 937

  
938 938
=item allow_csv_export
939 939

  
......
955 955

  
956 956
=item paper_size
957 957

  
958
Paper size. Default is a4.
958
Paper size. Default is a4. Supported paper sizes are a3, a4, a5, letter and legal.
959 959

  
960 960
=item orientation (landscape)
961 961

  
......
963 963

  
964 964
=item font_name 
965 965

  
966
Default is Verdana.
966
Default is Verdana. Supported font names are Courier, Georgia, Helvetica, Times and Verdana. This option only affects the rendering with PDF::API2.
967 967

  
968 968
=item font_size
969 969

  
970
Default is 7.
970
Default is 7. This option only affects the rendering with PDF::API2.
971 971

  
972 972
=item margin_top
973 973

  
......
977 977

  
978 978
=item margin_right
979 979

  
980
Default all to 1.5.
980
The paper margins in cm. They all default to 1.5.
981 981

  
982 982
=item number
983 983

  
984
Default is 1.
984
Set to a true value if the pages should be numbered. Default is 1.
985 985

  
986 986
=item print
987 987

  
988
Print or not? Default is no.
988
If set then the resulting PDF will be output to a printer. If not it will be downloaded by the user. Default is no.
989 989

  
990 990
=item printer_id
991 991

  
......
1011 1011

  
1012 1012
=item escape_char
1013 1013

  
1014
Character to escape the quote_char. Default is souble quote (").
1014
Character to escape the quote_char. Default is double quote (").
1015 1015

  
1016 1016
=item eol_style
1017 1017

  

Auch abrufbar als: Unified diff