Center footer page numbers
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

This commit is contained in:
admin
2026-06-17 02:11:56 +00:00
parent 49e607e1e1
commit 1d447f2836
+1 -1
View File
@@ -556,7 +556,7 @@ def create_transcript_docx(text: str, filename: str):
footer = section.footer
footer.is_linked_to_previous = False
footer_para = footer.paragraphs[0] if footer.paragraphs else footer.add_paragraph()
footer_para.alignment = WD_ALIGN_PARAGRAPH.LEFT
footer_para.alignment = WD_ALIGN_PARAGRAPH.CENTER
# Clear any existing content
for r in footer_para.runs: