Hello,
I have a problem with my previous version (v10.5), where the PAGE number is correct when I generate a DOC file, but incorrect when I generate a PDF file (same code, only the Save() part changes).
So I wanted to test with the current version, but it seems like you made some breaking changes…
Previously, in version 10.5, I could use a MERGEFIELD similar to:
{ MERGEFIELD Value # "C" * MERGEFORMAT }
And it would display my currency value in the “C” format (https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings). I attached my doc file and the result generated with Aspose.Words v10.5
Now, when I execute this with v14.2, I have an error “The specified format ‘C’ is invalid”.
Here is the code I am using:
Document doc = new Document(@"E:\Projets\Tests\Aspose.Tests\Data\test.doc");
doc.MailMerge.Execute(new[] { "Value" }, new object[] { 12345.67 });
doc.UpdatePageLayout();
doc.UpdateFields();
doc.Save(@"E:\Projets\Tests\Aspose.Tests\Data\result.doc", SaveFormat.Doc);
This is a big show stopper for me, especially that I already have dozens of documents that are using this format, etc…
Where can I see all the breaking changes since v10.5?
Thank you,
Regards,