Changeset 14496 for main/waeup.aaue/trunk/src/waeup/aaue/browser
- Timestamp:
- 2 Feb 2017, 08:15:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/browser/pdf.py
r14454 r14496 23 23 import grok 24 24 from reportlab.lib.pagesizes import A4, A3, landscape, portrait 25 from waeup.kofa.browser.pdf import PDFCreator, LandscapePDFCreator 25 from waeup.kofa.browser.pdf import ( 26 PDFCreator, LandscapePDFCreator, A3LandscapePDFCreator) 26 27 27 28 class CustomPDFCreator(PDFCreator): … … 50 51 logo_pos = [750, 465, 60] 51 52 52 class A3LandscapePDFCreator(LandscapePDFCreator):53 class CustomA3LandscapePDFCreator(A3LandscapePDFCreator): 53 54 """A utility to help with generating PDF docs in 54 55 A3 landscape format. No watermark is shown. 55 56 """ 56 57 grok.name('A3landscape')58 57 59 58 header_logo_path = os.path.join(
Note: See TracChangeset for help on using the changeset viewer.