Make the page footer
(text)
| 73 | |
| 74 | |
| 75 | def footer_story(text): |
| 76 | """Make the page footer""" |
| 77 | footer = pymupdf.Story() |
| 78 | ftr_body = footer.body |
| 79 | ftr_body.add_paragraph().set_properties( |
| 80 | bgcolor="#eee", |
| 81 | align=pymupdf.TEXT_ALIGN_CENTER, |
| 82 | color="blue", |
| 83 | fontsize=10, |
| 84 | font="sans-serif", |
| 85 | ).add_text(text) |
| 86 | return footer |
| 87 | |
| 88 | |
| 89 | def code_printer(outfile): |
no test coverage detected
searching dependent graphs…