Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
2 changed files with 11 additions and 1 deletions
Showing only changes of commit 489acb26d2 - Show all commits

View File

@ -351,7 +351,7 @@ class ScoDocPageTemplate(PageTemplate):
canv.drawString(
self.preferences["pdf_footer_x"] * mm,
self.preferences["pdf_footer_y"] * mm,
content,
content + " " + self.preferences["pdf_footer_extra"],
)
canv.restoreState()

View File

@ -963,6 +963,16 @@ class BasePreferences:
"category": "pdf",
},
),
(
"pdf_footer_extra",
{
"initvalue": "",
"title": "Texte à ajouter en pied de page",
"explanation": "sur tous les documents, par exemple vos coordonnées, ...",
"size": 78,
"category": "pdf",
},
),
(
"pdf_footer_x",
{