Is there an API or SDK which allows merging FDFs into PDFs and supports Javascript calculated fields?

StackOverflow https://stackoverflow.com/questions/14211581

  •  14-01-2022
  •  | 
  •  

Question

We have a program which produces PDFs by merging data in FDF files with PDF 'template' and then flattening the form fields to create a final PDF document. Not a problem with CutePDF except for one thing...

One of the templates has a calculated date field that is set by a small bit of Javascript when the PDF is updated. However CutePDF doesn't support Javascript in PDF documents.

I've looked into other products but it's very rare for the feature list to actually mention wether or not the APi supports Javascript calculated fields.

Does anyone know of an API or SDK which allows for merging FDFs into PDFs and also supports Javascript calculated fields?

Was it helpful?

Solution

Results of my own investigation:

  • CutePDF: Merges FDF to PDF but does not support calculated fields
  • Debenu Quick PDF Library: Neither FDF nor calculated fields
  • PDF-XChange Viewer Pro: Supports Javascript but not FDF, very helpful support though
  • PDFExpress: Supports XFDF (annotations only) but not FDF
  • Adobe PDF Library (via Datalogics): competely incomprehensible and doesn't support either option
  • Adobe PDF Library (via Adobe): no answer to enquiry
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top