Turns out docx4j has a default numbering.

Would be nice if there was documentation