numbering list fix
This commit is contained in:
parent
be3a77671a
commit
25a46c5760
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue