[poppler] question / possible bounty - XFA support

Adrian Johnson ajohnson at redneon.com
Sun Aug 27 07:30:54 UTC 2017


On 26/08/17 20:51, Nikola Ciprich wrote:
> Hello dear poppler developer(s),
> 
> I'd like to ask question many times asked, but also possibly
> offering bounty for resolution..
> 
> Our customer has issue displaying one particular PDF file generated by SAP
> HR portal they use. Changing it on SAP side is not possible in reasonable
> time and due to security, as well as stability reasons, I'd really hate
> to install adobe reader just to be able to view one particular file type..
> 
> problem is, that under evince (or anything poppler based, or even other PDF
> viewers), I do not see file content properly, due to lack of XFA support.
> 
> example file can be obtained here:
> 
> http://nik.lbox.cz/download/odmeny.pdf
> 
> I also understand that XFA is not really standard and implementing support
> is certainly not easy, due to lack of documentation.
> 
> My question is, can you estimate how hard it would be to implement at least
> subset of needed functionality to be able to display such files?

There a bit more detail in this bug comment:

https://bugs.freedesktop.org/show_bug.cgi?id=14265#c17

XFA is outside the scope of poppler as it is not part of the PDF
standard. Any poppler support would be limited to providing a function
to extract the embedded xml.

iText has the capability to convert an XFA PDF to an ordinary PDF. Maybe
that could solve your problem.

http://developers.itextpdf.com/question/how-flatten-xfa-pdf-form-using-itextsharp


> 
> If it would be possible at all, and with reasonable effort, would
> you be interested in doing it for a bounty? I mean adding support
> to poppler so it's working in evince at least then..
> 
> Or has anyone any other tips on how to deal with such file under
> linux desktop, other then using acroread?
> 
> thanks a lot in advance
> 
> with best regards
> 
> nikola ciprich
> 
> 
> 
> 
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler
> 



More information about the poppler mailing list