Hi! I wanto create the following nested list:
1. Apple
1. Orange
2. Pear
2. Banana
But when I do it with the bottom code the numbers 1 and 2 in the nested list infront of Orange and Pear disappear. Any clues?
public static void main(String[] args) throws Exception {
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage();
MainDocumentPart mdp = wordMLPackage.getMainDocumentPart();
NumberingDefinitionsPart ndp = new NumberingDefinitionsPart();
String str =
"<w:numbering xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\">"+
"<w:abstractNum w:abstractNumId=\"0\">"+
"<w:nsid w:val=\"369E7F02\"/>"+
"<w:multiLevelType w:val=\"hybridMultilevel\"/>"+ ...