Please see the attached document.
How can I get the list label from the Paragraph.
If a Paragraph is a list item I can only get the text of the list item by paragraph.getText();
Would you please tell me how I can get the list labels.
For example
I. abc
a. XYZ
b. XYZ
II. def
If the above four lines are list paras how can I get the I. a. b. II. from the paragraph object.
Please be sure that the labels can vary. It can be Romans, Number, Alphabet… and so on.
I have attached a sample input document. Main input file can’t be uploaded for security purpose.
Please this is urgent.
Regards.