Pregunta

I have seen a lot of questions regarding PDF's forms filled from a Website by using several PDF libraries but I can't find an straight answer to my concern. I have a very complex PDF that somebody built with LiveCycle, which includes things like buttons for dynamic addition of rows in tables. I wonder if it is possible to fill this form from a Website's form or a DDBB, and if there is any library that can achieve things like adding the extra rows to the table and/or to peep inside the internal PDF's javascript to understand it's logic. Adobe LiveCycle is not even an option, as their server solutions' prices, are far out of the mortals' reach. Can anybody point me to the right direction?

¿Fue útil?

Solución 2

After some experiments I have found that the only thing you need is to modify the XFA lines inside the XDP file which is contained inside the PDF (when it is a LiveCycle generated one) and everything will work. An explanation can be found in here: How can I merge data into an XDP file and return a PDF (via .NET)?

Otros consejos

It's possible if you hand write a parser (which is quite a feat..) but it's extremely difficult. It would probably be easiest to simply generate a new pdf with the needed information stored as static text.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top