Convert a pdf form to a non-form pdf

Regarding PDF capabilities, is there an Aspose API that will allow me to convert my PDF Form into a PDF file (not form)?

Please use method Form.FlattenAllFields().

I have tried the FlattenAllFields method but it was not successful. I am thinking it may be because I am using a form designed by the LiveCycle Designer of Acrobat 8. I understand that Aspose.Pdf.Kit does not fully support Designer 8 forms. Do you have an ETA of when Designer 8 forms will be fully supported by the Aspose.Pdf.Kit?

We are working on this issue. We will provide a solution or ETA soon.

I'm most interested in the FlattenAllFields() capability for my Designer8 forms. Would this API be something supported earlier than a full-support of Designer8?

Thank you for your help.

Dear SMI,

We are working hard on this issue. A hotfix will be published at the end of this week. Sorry for the inconvenience.

Best regards.

Thank you. I will watch for next release.

Please download hotfix 2.3.2.

I have tested FlattenAllFields() in version 2.3.2.0 and it only works to flatten the form, but it didn't include any of the data in the fields. Have I misused the Flatten or is it a bug? How would I get the data within the fields to be part of the flattened form?

As well, because I'm then taking the flat file to tiff, the tiff fails to contain any text...just field areas.

I appreciate any help you can provide. I've attached the test files used in source below.

string inputFile = @"C:\TestFormDesigner8.pdf";

string tempFile = inputFile.Replace(".pdf", "_flat.pdf");

string outputFile = inputFile.Replace(".pdf",".tif");

//change a form to a flat pdf

Aspose.Pdf.Kit.Form pdfForm = new Aspose.Pdf.Kit.Form(inputFile, tempFile);

pdfForm.FlattenAllFields();

pdfForm.Save();

//convert flat pdf to a tiff file

PdfConverter converter = new PdfConverter();

converter.BindPdf(tempFile);

converter.DoConvert();

converter.SavaAsTIFF(outputFile);

We are checking this issue. I hope it can be resolved early next week.

Please download the dll in this post
http://www.aspose.com/Community/forums/2/66350/ShowThread.aspx#66350
Best regards.

This recent dll (2.3.3.0) has created a successful Flattened form with resulting pdf containing data (except for any fields in Master pages - but that's okay right now since we aren't using Master pages yet).

Unfortunately, the flattened pdf to tiff is missing static text content (ie. text labels next to fields). I thought that I would be able to work-around this by creating jpg files from the flattened pdf, but they too are missing static text. (re attached)

Your continued assistance with this would be of great appreciation.

Dear SMI,

Sorry for bringing you so much troubles. Because of the time limitation, full supporting for Adobe 8 has not been implemented yet. But we will consider you requirement preferentially, and we will solve it ASAP.

Best regards.

Thank you for your continued attention.

We are expecting to go to release in the next 1.5wks and would like to test this Form to Tiff conversion functionality next week at the latest. Is it possible that this might be available by then?

Dear SMI,

This problem is such an intractable one that we can’t guarantee that it could be sovled quickly in one or two weeks. But we will try our best to solve it ASAP.

Best regards.

SMI:

This recent dll (2.3.3.0) has created a successful Flattened form with resulting pdf containing data (except for any fields in Master pages - but that's okay right now since we aren't using Master pages yet).

Unfortunately, the flattened pdf to tiff is missing static text content (ie. text labels next to fields). I thought that I would be able to work-around this by creating jpg files from the flattened pdf, but they too are missing static text. (re attached)

Your continued assistance with this would be of great appreciation.

Mr. Du and Mr. Fu,

I am wondering how the progress is on this issue resolution. I am eagerly awaiting the ability to convert a Flattened Form to a Tiff file.

Your assistance is appreciated.

Please provide an update on the status of this issue. We are desiring the ability to flatten the Form and convert to Tiff successfully.

Thank You

Hi, SMI
We have tried our best to solve this problem. But it seems that it needs a long time (several months) to solve this.

We can provide a workround solution: you could create the text before the form as a new field, which will be flattened together. Could this be ok?

Sorry for giving you so much trouble.

Best regards.

One option is to create new Text form fields dynamically at run-time. What would be the most direct way to convert a label field to a text field using Aspose APIs?

No Aspose API can do this. You could create a label as a text field when creating the pdf template in Adobe Designer.

Best regards.