Free Support Forum -

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


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

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

Hope this helps.

Best regards,