Changeset 16905 for main


Ignore:
Timestamp:
25 Mar 2022, 11:36:28 (3 years ago)
Author:
Henrik Bettermann
Message:

Forward view in case we need customized watermarks

File:
1 edited

Legend:

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

    r16262 r16905  
    847847    def create_pdf(self, data, headerline=None, title=None, author=None,
    848848                   footer='', note=None, sigs_in_footer=[], topMargin=1.5,
    849                    letterhead_path=None):
     849                   letterhead_path=None, view=None):
    850850        """Returns a binary data stream which is a PDF document.
    851851        """
     
    870870        doc.sigs_in_footer = sigs_in_footer
    871871        doc.letterhead_path = letterhead_path
     872        # Forward view in case we need customized watermarks
     873        self.view = view
    872874        if note is not None:
    873875            # Inject signature images
Note: See TracChangeset for help on using the changeset viewer.