Free Support Forum - aspose.com

Masking ### errors

When we MailMerge a field containing three #s in a row, the output contains four #s. (For example: ###-##-1234 will get output as ####-##-1234.) Test code to reproduce is pasted below.

Document doc=new Document(@"C:\TestStuff\\Templates\TestMasking.docx");
DataTable dataTable=new DataTable();
DataColumn dataColumn=new DataColumn("masktest") { DataType=Type.GetType("System.String") };
dataTable.Columns.Add(dataColumn);
DataRow dataRow=dataTable.NewRow();
dataRow["masktest"]="###-##-1234";
doc.MailMerge.Execute(dataRow);
const string testOutput=@"D:\TestStuff\Output\TestOutput.docx";
doc.Save(testOutput);

System.Diagnostics.Process.Start(testOutput);

Thanks,

-Dave

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for reporting this problem to us. I managed to reproduce it on my side and linked your request to the appropriate issue. You will be notified as soon as it is resolved.

Best regards,

The issues you have found earlier (filed as WORDSNET-4417) have been fixed in this .NET update and in this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(1)