MAJ V4.4.3 (correction bug dans l'évaluation de l'attribut evalsautpage)

This commit is contained in:
pablo rodriguez 2023-03-15 08:54:16 +01:00
parent 4c1d8ddc2c
commit d66267e229
4 changed files with 12 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -774,10 +774,14 @@ public class evaluationAttribut {
styleStudent = styleStudent.retourneFirstEnfantsByName("style:paragraph-properties");
if(styleStudent!=null) {
if(styleStudent.getAttributs().get("fo:break-before")!=null) {
typeSautStudent = styleStudent.getAttributs().get("fo:break-before");
if(styleStudent.getAttributs().get("fo:break-before")!="none") {
typeSautStudent = styleStudent.getAttributs().get("fo:break-before");
}
}
if(styleStudent.getAttributs().get("fo:break-after")!=null) {
typeSautStudent = styleStudent.getAttributs().get("fo:break-after");
if(styleStudent.getAttributs().get("fo:break-after")!="none") {
typeSautStudent = styleStudent.getAttributs().get("fo:break-after");
}
}
}
}
@ -792,10 +796,14 @@ public class evaluationAttribut {
styleSujet = styleSujet.retourneFirstEnfantsByName("style:paragraph-properties");
if(styleSujet!=null) {
if(styleSujet.getAttributs().get("fo:break-before")!=null) {
typeSautSujet = styleSujet.getAttributs().get("fo:break-before");
if(styleSujet.getAttributs().get("fo:break-before")!="none") {
typeSautSujet = styleSujet.getAttributs().get("fo:break-before");
}
}
if(styleSujet.getAttributs().get("fo:break-after")!=null) {
typeSautSujet = styleSujet.getAttributs().get("fo:break-after");
if(styleSujet.getAttributs().get("fo:break-after")!="none") {
typeSautSujet = styleSujet.getAttributs().get("fo:break-after");
}
}
}
}