Changeset 14454 for main/waeup.aaue
- Timestamp:
- 24 Jan 2017, 09:33:08 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/browser/pdf.py
r14445 r14454 29 29 """ 30 30 31 #header_logo_path = os.path.join(32 #os.path.dirname(__file__), 'static', 'pdf_logo.jpg')31 header_logo_path = os.path.join( 32 os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 33 33 #watermark_path = os.path.join( 34 34 # os.path.dirname(__file__), 'static', 'pdf_watermark.jpg') 35 35 36 36 #watermark_pos = [70, 150] 37 #logo_pos = [500, 708, 60]37 logo_pos = [500, 708, 60] 38 38 39 39 class CustomLandscapePDFCreator(LandscapePDFCreator): … … 42 42 """ 43 43 44 #header_logo_path = os.path.join(45 #os.path.dirname(__file__), 'static', 'pdf_logo.jpg')44 header_logo_path = os.path.join( 45 os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 46 46 #watermark_path = os.path.join( 47 47 # os.path.dirname(__file__), 'static', 'pdf_watermark.jpg') 48 48 49 49 #watermark_pos = [200, 55] 50 #logo_pos = [750, 465, 60]50 logo_pos = [750, 465, 60] 51 51 52 52 class A3LandscapePDFCreator(LandscapePDFCreator): … … 57 57 grok.name('A3landscape') 58 58 59 #header_logo_path = os.path.join(60 #os.path.dirname(__file__), 'static', 'pdf_logo.jpg')59 header_logo_path = os.path.join( 60 os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 61 61 #watermark_path = os.path.join( 62 62 # os.path.dirname(__file__), 'static', 'pdf_watermark.jpg') 63 63 64 64 #watermark_pos = [360, 150] 65 #logo_pos = [1100, 700, 60]65 logo_pos = [1100, 710, 60] 66 66 pagesize = landscape(A3)
Note: See TracChangeset for help on using the changeset viewer.