Changeset 15984 for main/waeup.kofa/trunk
- Timestamp:
- 4 Feb 2020, 15:26:40 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r15979 r15984 29 29 from reportlab.platypus import Paragraph, Image, Table, Spacer 30 30 from reportlab.platypus.doctemplate import LayoutError 31 from reportlab.platypus.flowables import PageBreak 31 32 from zope.event import notify 32 33 from zope.schema.interfaces import ConstraintNotSatisfied … … 815 816 for i in range(len(view.tabletitle)): 816 817 if tabledata[i] and tableheader[i]: 817 #data.append(PageBreak()) 818 tabletitle = view.tabletitle[i] 819 if tabletitle.startswith('_PB_'): 820 data.append(PageBreak()) 821 tabletitle = view.tabletitle[i].strip('_PB_') 818 822 #data.append(Spacer(1, 20)) 819 data.append(Paragraph( view.tabletitle[i], HEADING_STYLE))823 data.append(Paragraph(tabletitle, HEADING_STYLE)) 820 824 data.append(Spacer(1, 8)) 821 825 contenttable = render_table_data(tableheader[i],tabledata[i])
Note: See TracChangeset for help on using the changeset viewer.