Changeset 14272 for main/waeup.aaue/trunk/src/waeup/aaue/browser
- Timestamp:
- 10 Nov 2016, 17:02:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/browser/pdf.py
r10566 r14272 21 21 22 22 import os 23 import grok 24 from reportlab.lib.pagesizes import A4, A3, landscape, portrait 23 25 from waeup.kofa.browser.pdf import PDFCreator, LandscapePDFCreator 24 26 … … 48 50 logo_pos = [750, 465, 60] 49 51 52 class A3LandscapePDFCreator(LandscapePDFCreator): 53 """A utility to help with generating PDF docs in 54 A3 landscape format. 55 """ 56 57 grok.name('A3landscape') 58 59 header_logo_path = os.path.join( 60 os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 61 watermark_path = os.path.join( 62 os.path.dirname(__file__), 'static', 'pdf_watermark.jpg') 63 64 watermark_pos = [360, 150] 65 logo_pos = [1100, 700, 60] 66 pagesize = landscape(A3) 67
Note: See TracChangeset for help on using the changeset viewer.