numbering list fix

This commit is contained in:
CITE\spapacharalampous 2024-08-12 15:03:45 +03:00
parent be3a77671a
commit 25a46c5760
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ public class HtmlToWorldBuilder implements NodeVisitor {
// this.paragraph.setIndentationLeft(Math.round(indentation * 720) * (numberingLevel.intValue() + 1));
this.paragraph.setIndentFromLeft(Math.round(numberingLevel.intValue() * 400 + this.indentation*400));
this.run = this.paragraph.createRun();
this.paragraph.setNumID(((ArrayDeque<BigInteger>)abstractNumId).getLast());
this.paragraph.setNumID(((ArrayDeque<BigInteger>)abstractNumId).getLast().add(BigInteger.ONE)); // sets the list-element numId that should match the numId of the corresponding list
}
break;
case "font":