Changeset 10566 for main/waeup.aaue/trunk
- Timestamp:
- 30 Aug 2013, 05:24:05 (11 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
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 -
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r10480 r10566 26 26 CourseTicketAddFormPage, 27 27 StudyLevelDisplayFormPage, 28 ExportPDFTranscriptPage, 28 29 ) 29 30 from kofacustom.nigeria.students.browser import ( … … 162 163 omit_fields=self.omit_fields 163 164 ) 165 166 class CustomExportPDFTranscriptPage(ExportPDFTranscriptPage): 167 """Deliver a PDF slip of the context. 168 """ 169 170 def _sigsInFooter(self): 171 return [] 172 173 def _signatures(self): 174 return ([( 175 'A.O Esekigbe <br /> Deputy Registrar <br /> ' 176 'Exams, Records And Data <br /> For: Registrar')],)
Note: See TracChangeset for help on using the changeset viewer.