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

Free Support Forum - aspose.com

Export to PDF of text form fields having a default text


We are converting Word docs to PDF using Aspose.Words for .Net version 18.9.0 and Aspose.PDF version 18.9.1 and the following code:

        var doc = new Document(input);

        var saveFormat = new PdfSaveOptions
            OptimizeOutput = true,
            ImageCompression = PdfImageCompression.Jpeg,
            PreserveFormFields = true,
            UpdateFields = true,
            SaveFormat = SaveFormat.Pdf
        doc.Save(output, saveFormat);

Both input and output are of type Stream.

We are seeing an issue with text form fields having a default text. In the generated PDF there is a FORMTEXT showing inside the fillable text field.
The files for this scenario are:

  1. INPUT file input-text-fields-w-defaults.zip (12.6 KB)
  2. OUTPUT file input-text-fields-w-defaults.docx.pdf (32.1 KB)

Is this an issue that you are aware of?
Any workarounds are welcome as well.

Thank you!


Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18011. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi there,

I see the status of WORDSNET-18011 is Closed.
Will this thread be notified when the fix is release?

Thank you!


Thanks for your inquiry. Your issue has been resolved and its fix will be available in next version of Aspose.Words 19.3. We will notify you when new release of Aspose.Words is published. Hopefully, it will be available at the start of March 2019.

1 Like

The issues you have found earlier (filed as WORDSNET-18011) have been fixed in this Aspose.Words for .NET 19.3 update and this Aspose.Words for Java 19.3 update.