Changeset 14445


Ignore:
Timestamp:
23 Jan 2017, 16:32:03 (8 years ago)
Author:
Henrik Bettermann
Message:

Remove all watermarks.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

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

    r14439 r14445  
    2626
    2727class CustomPDFCreator(PDFCreator):
    28     """A utility to help with generating PDF docs.
     28    """A utility to help with generating PDF docs. No watermark is shown.
    2929    """
    3030
    31     header_logo_path = os.path.join(
    32         os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
    33     watermark_path = os.path.join(
    34         os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
     31    #header_logo_path = os.path.join(
     32    #    os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
     33    #watermark_path = os.path.join(
     34    #    os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
    3535
    36     watermark_pos = [70, 150]
    37     logo_pos = [500, 708, 60]
     36    #watermark_pos = [70, 150]
     37    #logo_pos = [500, 708, 60]
    3838
    3939class CustomLandscapePDFCreator(LandscapePDFCreator):
     
    6565    #logo_pos = [1100, 700, 60]
    6666    pagesize = landscape(A3)
    67 
    68 class PlainPDFCreator(PDFCreator):
    69     """A utility to help with generating PDF docs without
    70     watermark.
    71     """
    72 
    73     grok.name('plainportrait')
    74 
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py

    r14439 r14445  
    2424    note = ""
    2525
    26     pdfcreator = 'plainportrait'
     26    pdfcreator = ''
    2727
    2828#    note = """
Note: See TracChangeset for help on using the changeset viewer.