Changeset 10566 for main/waeup.aaue/trunk/src/waeup/aaue/browser/pdf.py
- Timestamp:
- 30 Aug 2013, 05:24:05 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/browser/pdf.py
r10297 r10566 21 21 22 22 import os 23 from waeup.kofa.browser.pdf import PDFCreator 23 from waeup.kofa.browser.pdf import PDFCreator, LandscapePDFCreator 24 24 25 25 class CustomPDFCreator(PDFCreator): … … 35 35 logo_pos = [500, 708, 60] 36 36 37 class CustomLandscapePDFCreator(LandscapePDFCreator): 38 """A utility to help with generating PDF docs in 39 landscape format. 40 """ 41 42 header_logo_path = os.path.join( 43 os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 44 watermark_path = os.path.join( 45 os.path.dirname(__file__), 'static', 'pdf_watermark.jpg') 46 47 watermark_pos = [200, 55] 48 logo_pos = [750, 465, 60] 49
Note: See TracChangeset for help on using the changeset viewer.