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

Free Support Forum - aspose.com

Field names when converting to PDF

Is it possible to keep field names the same when converting to PDF. Right now a seemingly random number is appended to PDF field names.

Thank you.

Hi Michael,

Thanks for your inquiry.

Could you please attach your document here for testing? We will then provide you with some further information.

Thanks,

Please find a test file attached.

The field name is SertifiSStamp_1, but it gets converted as SertifiSStamp_1_13.

Aspose.Words version is 9.7.0.0.
Running under ASP.NET v4.0

There is no manipulation done to the document, it is just opened and gets saved to a PDF right away with the following options:

PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.SaveFormat = Aspose.Words.SaveFormat.Pdf;
saveOptions.PreserveFormFields = true;
Thank you.

Hello,

Thank you for your request.
These random numbers at the end of the field name is not accidental. This is due to the fact that the doc document format allows you to create fields with the same name, but in pdf format it is strictly prohibited. On this after the conversion, we convert the field names by making them unique. I will register a issue in our defect database. We will do so if the document fields have a unique names, so they were transferred to pdf with the same names. Once the problem is resolved, we will notify you immediately.

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


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