(self, pdf, notes_title, notes)
| 18987 | pdf.cell(0, 6, self._latin1(subtitle), align="C", new_x=XPos.LMARGIN, new_y=YPos.NEXT) |
| 18988 | |
| 18989 | def _pdf_notes_page(self, pdf, notes_title, notes): |
| 18990 | pdf.add_page() |
| 18991 | pdf.set_font("Helvetica", "B", 14) |
| 18992 | pdf.cell(0, 9, self._latin1(notes_title), new_x=XPos.LMARGIN, new_y=YPos.NEXT) |
| 18993 | pdf.set_font("Helvetica", "", 10) |
| 18994 | if isinstance(notes, (list, tuple)): |
| 18995 | for n in notes: |
| 18996 | self._mc(pdf, 6, f"- {n}") |
| 18997 | else: |
| 18998 | self._mc(pdf, 6, str(notes or "N/D")) |
| 18999 | pdf.ln(3) |
| 19000 | pdf.set_font("Helvetica", "B", 11) |
| 19001 | pdf.cell(0, 8, self._latin1("Avvertenze Tab"), new_x=XPos.LMARGIN, new_y=YPos.NEXT) |
| 19002 | pdf.set_font("Helvetica", "", 10) |
| 19003 | for w in self._tab_warnings(): |
| 19004 | self._mc(pdf, 6, f"- {w}") |
| 19005 | |
| 19006 | def _pdf_table(self, pdf, title, rows): |
| 19007 | pdf.ln(2) |
no test coverage detected