How can I get the outline of a doc and the text of a table of content

hi,


I got two questions
1) How to get the outline of a doc?
2) How to get the text of a table of content?

I attached the doc file.

In java


Hi Hugh,


Thanks for your inquiry. Please elaborate what do you mean by “outline of a doc” and “text of a table of content”? It would be great if you please also create a screenshot highlighting the areas in this document that you want to get and attach it here for our reference. We will investigate the scenarios on our end and provide you Java code to achieve this. Thanks for your cooperation.

Best regards,