Missing text when specific DocX files are converted to PDF

Hi,

The attached DocX files are not rendered correctly. Some of the texts are just missing.
I noticed that the same texts are missing also when the files are displayed in Office 365 or Google Docs. However, Desktop MS Word displays them fine.
What is the problem? Can it be fixed?

SR-192216.zip (273.1 KB)

Best Regards,
Vassil

@DWProject Thank you for reporting the problem to us. For a sake of correction it has been logged as WORDSNET-24761. We will keep you informed and let you know once it is resolved.
It looks like the problem occurs because Aspose.Words does not read field value if it is defined as fldSimple, like this:

<w:fldSimple w:instr="MERGEFIELD EmployeeName">
	<w:t>Phillip Le Grange</w:t>
</w:fldSimple>

Actually, merge fields in your documents are used in a not quite right way. Usually when mail merge is executed merge fields are replaced with their values. In your case the merge field’s displayed result is changed. In this case, if you update field in your document (F9 in MS Word) all the values will be lost.

1 Like

The issues you have found earlier (filed as WORDSNET-24761) have been fixed in this Aspose.Words for .NET 23.5 update also available on NuGet.

Confirmed, thanks!

1 Like