Changeset 14439 for main/waeup.aaue
- Timestamp:
- 23 Jan 2017, 09:40:44 (8 years ago)
- 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
r14272 r14439 39 39 class CustomLandscapePDFCreator(LandscapePDFCreator): 40 40 """A utility to help with generating PDF docs in 41 landscape format. 41 landscape format. No watermark is shown. 42 42 """ 43 43 44 header_logo_path = os.path.join(45 os.path.dirname(__file__), 'static', 'pdf_logo.jpg')46 watermark_path = os.path.join(47 os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')44 #header_logo_path = os.path.join( 45 # os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 46 #watermark_path = os.path.join( 47 # os.path.dirname(__file__), 'static', 'pdf_watermark.jpg') 48 48 49 watermark_pos = [200, 55]50 logo_pos = [750, 465, 60]49 #watermark_pos = [200, 55] 50 #logo_pos = [750, 465, 60] 51 51 52 52 class A3LandscapePDFCreator(LandscapePDFCreator): 53 53 """A utility to help with generating PDF docs in 54 A3 landscape format. 54 A3 landscape format. No watermark is shown. 55 55 """ 56 56 57 57 grok.name('A3landscape') 58 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')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 63 64 watermark_pos = [360, 150]65 logo_pos = [1100, 700, 60]64 #watermark_pos = [360, 150] 65 #logo_pos = [1100, 700, 60] 66 66 pagesize = landscape(A3) 67 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
r14425 r14439 24 24 note = "" 25 25 26 pdfcreator = 'plainportrait' 27 26 28 # note = """ 27 29 #<br /><br /><br /><br />
Note: See TracChangeset for help on using the changeset viewer.