We have the latest version of Aspose.Words.dll - 3.5.1.0
I’ve downloaded again, the last evrsion of Aspose.Words.dll , just to be sure. The issue dose not disapear.
Perhaps the way we insert the TC field is wrong…
Here is the code:
builder.InsertField("TC ", ""My test FIELD “”);
And the Word report rezult is: |“My test FIELD”
Perhaps my previous explanation was not absolutely clear
In the TOC element the “My Test FIELD” appears as expected, but on the page where the TC field is inserted, this field is shown on the screen, but as I said it shouldn’t be visible.
Same thing happens when working with Open Office. The reason is that this feature of MS Word is completely undocumented. We may correct it eventually but I cannot provide any timeframe right now.
We have resolve the TOC generation issue by writing signed macros in the dot which is put on a web server. In this case the Document_Open event is fired as it dose.
Hope our client will enjoy our solution based on Aspose.Words component.