Refresh TOC

Questions and answers on how to use DOCXReadWrite
Post Reply
Josef Gschwendtner
Posts: 17
Joined: Wed Oct 28, 2015 2:16 pm

Refresh TOC

Post by Josef Gschwendtner »

Hi,

how can I refresh a TOC (or other fields) by code with docxReadWrite?

Thank you for your help.
Josef
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Refresh TOC

Post by larsa »

Hello

Sorry, there is no simple solution for this. It's possible to search trough all character runs for the fields and then update them manually. Difficult if you not have studied the source code. What is missing is a nice interface for this. This is planned for a future upgrade. And no, I cant tell when this upgrade will be released.
Lars Arvidsson, Axolot Data
Post Reply