Unplanned
Last Updated: 21 Feb 2023 08:09 by Philip
Philip
Created on: 21 Feb 2023 08:09
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing TOC field with TC fields has very wide tabs after mail merge

If a TOC field uses TC fields only (with the \f switch) and there is a tab in the text of the TC field, after mail merge, the tab becomes really wide. If the file is opened in word and the field is updated, everything goes back to normal.

Expected:

Actual:

 

A possible workaround is to set the fields to be updated on opening of the document:

DocxFormatProvider provider = new DocxFormatProvider();
provider.ExportSettings.AutoUpdateFields= true;

0 comments