This commit is contained in:
Gregory Trullemans 2022-10-17 11:07:10 +02:00
parent f71dbd0d06
commit 39cdc9e4a3
1 changed files with 5 additions and 4 deletions

View File

@ -710,8 +710,9 @@ class GymnastReportDocument(PDFDocument):
width, height = paragraph.wrap(18*cm, 10*cm) width, height = paragraph.wrap(18*cm, 10*cm)
paragraph.drawOn(self.document, INDENTED_X, self.y - (height / 2)) paragraph.drawOn(self.document, INDENTED_X, self.y - (height / 2))
self.add_new_line( html_text = plan.informations
INDENTED_X, paragraph = Paragraph(html_text, self.style)
plan.informations width, height = paragraph.wrap(18*cm, 10*cm)
) paragraph.drawOn(self.document, INDENTED_X, self.y - (height / 2))
self.add_vspace(-0.4*cm) self.add_vspace(-0.4*cm)