Hello,
We encountered an unexpected behaviour while saving REF fields containing DOCX file as PDF. Our code is rather simple:
using (var ms = new MemoryStream(oryginalDocxFile))
{
using (var mout = new MemoryStream())
{
var doc = new Document(ms);
doc.Save(mout, SaveFormat.Pdf);
return mout.ToArray();
}
}
When the converted document contains REF field with custom separator (field code: { REF _Ref511212103 \d " art. " \h \w }
), the field is updated to value without the given separator. We think that this is incorrect behaviour. We have found this issue in bought Aspose.Words for .NET 17.8.0.0 and trial 18.4.0.0.
The DOCX file: Test.zip (11.9 KB)
Thanks for your help.
Best regards,
AB