Bul. PDF: meilleure affichage ligne moyenne générale
This commit is contained in:
parent
012bb0292a
commit
96b22ac5ca
@ -378,7 +378,8 @@ class BulletinGeneratorStandard(sco_bulletins_generator.BulletinGenerator):
|
|||||||
P[-1]["_pdf_style"].append(
|
P[-1]["_pdf_style"].append(
|
||||||
("LINEBELOW", (0, 0), (-1, 0), self.PDF_LINEWIDTH, self.PDF_LINECOLOR)
|
("LINEBELOW", (0, 0), (-1, 0), self.PDF_LINEWIDTH, self.PDF_LINECOLOR)
|
||||||
)
|
)
|
||||||
|
# Espacement sous la ligne moyenne générale:
|
||||||
|
P[-1]["_pdf_style"].append(("BOTTOMPADDING", (0, 1), (-1, 1), 8))
|
||||||
# Moyenne générale:
|
# Moyenne générale:
|
||||||
nbabs = I["nbabs"]
|
nbabs = I["nbabs"]
|
||||||
nbabsjust = I["nbabsjust"]
|
nbabsjust = I["nbabsjust"]
|
||||||
@ -392,8 +393,10 @@ class BulletinGeneratorStandard(sco_bulletins_generator.BulletinGenerator):
|
|||||||
"abs": "%s / %s" % (nbabs, nbabsjust),
|
"abs": "%s / %s" % (nbabs, nbabsjust),
|
||||||
"_css_row_class": "notes_bulletin_row_gen",
|
"_css_row_class": "notes_bulletin_row_gen",
|
||||||
"_titre_colspan": 2,
|
"_titre_colspan": 2,
|
||||||
"_pdf_row_markup": ['font size="12"', "b"], # bold, size 12
|
"_pdf_row_markup": ["b"], # bold. On peut ajouter 'font size="12"'
|
||||||
"_pdf_style": [("LINEABOVE", (0, 1), (-1, 1), 1, self.PDF_LINECOLOR)],
|
"_pdf_style": [
|
||||||
|
("LINEABOVE", (0, 1), (-1, 1), 1, self.PDF_LINECOLOR),
|
||||||
|
],
|
||||||
}
|
}
|
||||||
P.append(t)
|
P.append(t)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user