forked from ScoDoc/ScoDoc
wip
This commit is contained in:
parent
59de947cc6
commit
d912b13f75
@ -165,7 +165,7 @@ class AnneeDesc:
|
||||
class ParcoursDesc:
|
||||
signature_header = FMT.compose(
|
||||
[
|
||||
(FMT.FILL_BGCOLOR, SCO_COLORS.BLUE.value),
|
||||
(FMT.FILL_BGCOLOR, SCO_COLORS.LIGHT_YELLOW.value),
|
||||
(FMT.NUMBER_FORMAT, SCO_NUMBER_FORMAT.NUMBER_GENERAL.value),
|
||||
# (FMT.FONT_BOLD, True),
|
||||
# (FMT.FONT_SIZE, SCO_FONTSIZE.FONTSIZE_13.value),
|
||||
@ -263,9 +263,7 @@ class ParcoursDesc:
|
||||
),
|
||||
],
|
||||
)
|
||||
frame = ws.get_frame_engine(
|
||||
1, 1, SCO_BORDERTHICKNESS.BORDER_THICK
|
||||
)
|
||||
frame = ws.get_frame_engine(1, 1, SCO_BORDERTHICKNESS.BORDER_THICK)
|
||||
column = self.handle_description(ws, titles, 1, 1)
|
||||
frame.close(4, column - 1)
|
||||
return column
|
||||
|
@ -590,7 +590,7 @@ class FMT(Enum):
|
||||
@classmethod
|
||||
def compose(cls, composition: list[("FMT", int)], signature: int = 0) -> int:
|
||||
for field, value in composition:
|
||||
signature = field.write(value, field.clear(signature))
|
||||
signature = field.write(value, field.composante.clear(signature))
|
||||
return signature
|
||||
|
||||
@classmethod
|
||||
|
Loading…
Reference in New Issue
Block a user