forked from ScoDoc/ScoDoc
Texte additionnel sur pieds de pages PDF. Closes #653.
This commit is contained in:
parent
8ee373db7d
commit
489acb26d2
@ -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()
|
||||
|
||||
|
@ -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",
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user