We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Missing text when specific DocX files are converted to PDF


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,

@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>

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