We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to identify whether the paragraph is in list or not?

Hi there,

I need to find out whether the current paragraph is listed item or not. here is some of the contents in my document:

Columns displayed are:

  • Patient
  • Date
  • Visit

or the data might be:

  1. scores
    1. Rater Station session_id
    2. Scale ID
    3. Item
  2. No Data

or it could be:

  • visit_scale
    • Relationships
    • List of all scales

So, when i am going thru each paragraph in word document, I need to identify whether the current paragraph is listed item or not? Is there any property or method to identify to achieve this?



<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Sure, you can use ParagraphFormat.IsListItem property:


Hope this helps.

Best regards.