How do we recognize the headings in a word document?
We are trying to convert an RTF document to ASCII.
We are trying to use Aspose Words V 17.6 java version and wanted to recognize headings and add some formatting tags like “\H” or “\N” before and after for those headings.
I am attaching a sample RTF document and the code template we are using to convert from RTF to ASCII for your reference.But with my code ., headings are not getting recognized with the getBold() etc options.
The headings are highlighted in yellow.
Can you help me in recognizing those headings?
Aspose heading test.zip (14.0 KB)
Thanks in advance.