Ignore:
Timestamp:
26 Jan 2013, 10:55:22 (12 years ago)
Author:
Henrik Bettermann
Message:

Render footer properly and set topMargin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pdf.py

    r9910 r9913  
    397397
    398398    def create_pdf(self, data, headerline=None, title=None, author=None,
    399                    footer='', note=None, sigs_in_footer=[]):
     399                   footer='', note=None, sigs_in_footer=[], topMargin=1.5):
    400400        """Returns a binary data stream which is a PDF document.
    401401        """
     
    405405            pdf_stream,
    406406            bottomMargin=bottomMargin,
    407             topMargin=1.5*inch,
     407            topMargin=topMargin*inch,
    408408            title=title,
    409409            pagesize=portrait(A4),
Note: See TracChangeset for help on using the changeset viewer.