I have tried to generate TOC for document (please see attached Java file).I could do it but I have observed attached alert while I opening the generated the document (please find alert and generated document as an attachment). How can I avoid alert to be not shown.
Observed in 32-bit 2010 word in windows 7 operating system.
Any pointers for help would be appreciated.
Vinay Reddy K