One should create a numbered list and the other should create a bullet list as shown at this site here
http://sharepointweblog.blogspot.com/2009/07/open-xml-insert-bullets-and-numbering.html
but both are numbered.. why?
Also.. Creating a word doc programmatically with openXML is very painful it seems.. Is there any good reference that helps explain creating a basic word doc? (some text, some bullet points)..
Paragraph paraBullet1 = new Paragraph(
new ParagraphProperties(
new ParagraphStyleId() { Val = "ListParagraph" },
new NumberingProperties(
new NumberingLevelReference() { Val = 0 },
new NumberingId() { Val = 1 })),
new Run(new Text("List 1"))
) { RsidParagraphAddition = "005F3962", RsidParagraphProperties = "00330DA9", RsidRunAdditionDefault = "00330DA9" };
Paragraph paraTest2 = body.AppendChild(paraBullet1);
Paragraph paraBullet2 = new Paragraph(
new ParagraphProperties(
new ParagraphStyleId() { Val = "ListParagraph" },
new NumberingProperties(
new NumberingLevelReference() { Val = 0 },
new NumberingId() { Val = 2 })),
new Run(new Text("List 2"))
) { RsidParagraphAddition = "00031711", RsidParagraphProperties = "00031711", RsidRunAdditionDefault = "00031711" };
Paragraph paraTest2x = body.AppendChild(paraBullet2);