diff --git a/core/src/main/java/org/opencdmp/filetransformer/docx/service/wordfiletransformer/word/HtmlToWorldBuilder.java b/core/src/main/java/org/opencdmp/filetransformer/docx/service/wordfiletransformer/word/HtmlToWorldBuilder.java index 9ba416c..0488127 100644 --- a/core/src/main/java/org/opencdmp/filetransformer/docx/service/wordfiletransformer/word/HtmlToWorldBuilder.java +++ b/core/src/main/java/org/opencdmp/filetransformer/docx/service/wordfiletransformer/word/HtmlToWorldBuilder.java @@ -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)abstractNumId).getLast()); + this.paragraph.setNumID(((ArrayDeque)abstractNumId).getLast().add(BigInteger.ONE)); // sets the list-element numId that should match the numId of the corresponding list } break; case "font":