Hi Team ,
I have written the below mentioned code to append the Table Of Contents in Docx file
Paragraph para = section.addParagraph();
para.appendTOC(1, 3);
}
Unfortunately Page number is not displaying and each content has underline .Please help me to get page number and remove an underline .
Please find the attached screenshot for your reference.
Thanks in advance