- Timestamp:
- 15 Feb 2013, 06:54:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/browser/pdf.py
r8639 r9950 21 21 22 22 import os 23 import grok 23 24 from waeup.kofa.browser.pdf import PDFCreator 24 25 25 class CustomPDFCreator(PDFCreator): 26 """A utility to help with generating PDF docs. 27 """ 26 class DefaultPDFCreator(PDFCreator): 28 27 29 #header_logo_path = os.path.join( 30 # os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 31 #watermark_path = os.path.join( 32 # os.path.dirname(__file__), 'static', 'pdf_watermark.jpg') 28 header_logo_path = os.path.join( 29 os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 33 30 34 #watermark_pos = [-25, 100] 35 #logo_pos = [507, 720, 40] 31 logo_pos = [510, 750, 60] 32 33 class IbadanPDFCreator(PDFCreator): 34 35 grok.name('ibadan_pdfcreator') 36 37 header_logo_path = os.path.join( 38 os.path.dirname(__file__), 'static', 'pdf_logo_2.jpg') 39 40 logo_pos = [480, 740, 90] 41
Note: See TracChangeset for help on using the changeset viewer.