Changeset 13879
- Timestamp:
- 5 Jun 2016, 05:16:05 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r13878 r13879 59 59 continue 60 60 passed_params = level_obj.passed_params 61 failed_courses = textwrap.fill(passed_params[4], 3 0)61 failed_courses = textwrap.fill(passed_params[4], 35) 62 62 line = ( 63 63 #stud.student_id, … … 126 126 TABLE_STYLE = [ 127 127 ('FONT', (0,0), (-1,-1), 'Helvetica', 8), 128 ('VALIGN', (0, 1), (-1,-1), 'TOP'), 128 129 #('FONT', (0,0), (0,-1), 'Helvetica-Bold', 8), # 1st column 129 130 ('FONT', (0,0), (-1,0), 'Helvetica-Bold', 8), # 1st row … … 169 170 table_data = tbl_data_to_table(self.data) 170 171 #col_widths = [3.5*cm] * len(self.data[0]) 171 col_widths = [1*cm, 4*cm, 5*cm, 0.8*cm, 0.8*cm, 0.8*cm,172 6*cm, 0.8*cm, 0.8*cm, 0.8*cm]172 col_widths = [1*cm, 4*cm, 5*cm, 0.8*cm, 0.8*cm, 1*cm, 173 6*cm, 0.8*cm, 0.8*cm, 1*cm] 173 174 pdf_data = [Paragraph('<b>%s</b>' % self.creation_dt_string, 174 175 STYLE["Normal"]),
Note: See TracChangeset for help on using the changeset viewer.