Hi,
I am stuck with creating Table of Contents. The code in this post is not working. Can any one provide other way of adding table of contents which should print name of L1,L2,L3 objects
I even tried by adding Context.setProperty("use-new-output", true); but still its not working
Jef Martens MSc on
Hi, there are known problems due to the design of Word and the (un)ability to force a document reload after creating the document. You can choose to output to PDF to circumvent issues, or manually open the document and do a table refresh.
Alternatively, you can also do "Print Preview", which reloads all interactive fields as well.
Good luck!