Free Support Forum - aspose.com

List designators in parens

I'm trying to convert DOCX to another xml format. I have list items where the designator is in parenthesis. I'm getting the list number and style, but how do I detect when the designator needs to be output within parenthesis? For example

(B) With respect...

(i) the plan provides

(ii) the holder of any claim ...


This message was posted using Page2Forum from Aspose.Words for .NET - Documentation

Hi

Thanks for your request. First of all, you can use ListLevel.NumberFormat property to get format of the list number.

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.lists.listlevel.numberformat.html

Also, if you need simply get the list number, you can achieve this using ListLabel as described here:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.lists.listlabel.html

Hope this helps.

Best regards,