Free Support Forum -

Determine if paragraph is a list


After reading an existing word document into a Document object, how can I tell if paragraphs in the document are lists or not?

I tried using the Paragraph.ListFormat.ListLevelNumber property but it is always at 0 for all paragraphs if they are part of a bulleted list.

If the list is a numbered list, then the ListLevelNumber is 0 for the first level of the list and only increases for the higher levels of the list, which makes it difficult to detect whether or not the first level is part of a list or not because it is at the same level as a normal Paragraph

Any ideas?




Thank you for considering Aspose.

We will expose the appropriate method in the next hotfix.