Hi Aspose Team.
First i wanted to thank you for your great documentation and support. Right now i am evaluating your product line Aspose.Word.
While i was working with lists i got a small problem but iβm sure you can help me fast
My main idea is to represent my word documents in my own xml schema. So if we have the two main list types bullets and numbers:
- item 1
- item 2
- number 1
- number 2
item 1
item 1
number 1
number 2
here the code snippet, i iterate through all node of type PARAGRAPH and check the value of the StyleIdentifier with switch/case:
case StyleIdentifier.LIST_PARAGRAPH:
System.out.println(" \n");
if (style == StyleIdentifier.LIST_BULLET){
System.out.println(" \n" + " " + currPar.toTxt() + " β);
}
else if (style == StyleIdentifier.LIST_NUMBER){
System.out.println(β \n" + " " + currPar.toTxt() + " β);
}
System.out.println(β ");
break;
LIST.PARAGRAPH is working without any problem, but BULLET and NUMBER donβt match. Now my question is how to check if a list item is a bullet or a number??
Thank you very much for your help.
Regards