[poppler] question / possible bounty - XFA support

Nikola Ciprich nikola.ciprich at linuxbox.cz
Wed Aug 30 06:02:22 UTC 2017


Hello William,

you're right! ghostscript 9.20 can render it properly!

This is usable for me, thanks a lot! I'll create wrapper
script doing the flattening when needed..

maybe one last question, is there some elegant way to check
if PDF contains XFA forms?

BR

nik




On Tue, Aug 29, 2017 at 08:50:43PM +0000, William Bader wrote:
> Hi Nikola,
> 
> That is strange. It works for me on Fedora 25 with its gs 9.20 and with gs 9.21 that I built from source.
> 
> gs without -dShowAcroForm shows the template, and gs with -dShowAcroForm shows the data in the form, or is there even more data that -dShowAcroForm does not show?
> 
> gs ps2pdf flattens the form, so if you detect a PDF with XFA, you can pass it through ps2pdf, and then view the result with poppler-based tools.
> 
> Regards, William
> 
> 
> ________________________________
> From: Nikola Ciprich <nikola.ciprich at linuxbox.cz>
> Sent: Tuesday, August 29, 2017 3:07 AM
> To: William Bader
> Cc: poppler at lists.freedesktop.org
> Subject: Re: [poppler] question / possible bounty - XFA support
> 
> Hello Wiliam,
> 
> 
> thanks for you reply..
> 
> On Sat, Aug 26, 2017 at 05:44:49PM +0000, William Bader wrote:
> > Can you try
> >
> >
> > gs -dShowAcroForm odmeny.pdf
> 
> does not work..
> 
> >
> >
> > or the gs ps2pdf script
> neither this..
> 
> >
> >
> > ps2pdf -dShowAcroForm odmeny.pdf odmeny2.pdf
> nor this..
> 
> >
> >
> > https://bugs.ghostscript.com/show_bug.cgi?id=695653 (Bug 695653 - Ghostscript can't read PDF XFA files)
> unfortunately this TT is closed with WONTFIX :(
> 
> BR, nik
> 
> >
> >
> > Regards,
> >
> > William
> >
> >
> > ________________________________
> > From: poppler <poppler-bounces at lists.freedesktop.org> on behalf of Nikola Ciprich <nikola.ciprich at linuxbox.cz>
> > Sent: Saturday, August 26, 2017 7:21 AM
> > To: poppler at lists.freedesktop.org
> > Subject: [poppler] question / possible bounty - XFA support
> >
> > 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?
> >
> > 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
> >
> >
> >
> > --
> > -------------------------------------
> > Ing. Nikola CIPRICH
> > LinuxBox.cz, s.r.o.
> > 28. rijna 168, 709 00 Ostrava
> >
> > tel.:   +420 591 166 214
> > fax:    +420 596 621 273
> > mobil:  +420 777 093 799
> >
> > www.linuxbox.cz<http://www.linuxbox.cz>
> Úvod | LinuxBox.cz<http://www.linuxbox.cz/>
> www.linuxbox.cz
> Úspěšně jsme dokončili vývoj distribuce OS Linux přizpůsobené pro specifické aplikace a různorodé HW sestavy a periferie České pošty, s.p. Součástí ...
> 
> 
> 
> > Úvod | LinuxBox.cz<http://www.linuxbox.cz/>
> Úvod | LinuxBox.cz<http://www.linuxbox.cz/>
> www.linuxbox.cz
> Úspěšně jsme dokončili vývoj distribuce OS Linux přizpůsobené pro specifické aplikace a různorodé HW sestavy a periferie České pošty, s.p. Součástí ...
> 
> 
> 
> > www.linuxbox.cz<http://www.linuxbox.cz>
> Úvod | LinuxBox.cz<http://www.linuxbox.cz/>
> www.linuxbox.cz
> Úspěšně jsme dokončili vývoj distribuce OS Linux přizpůsobené pro specifické aplikace a různorodé HW sestavy a periferie České pošty, s.p. Součástí ...
> 
> 
> 
> > Úspěšně jsme dokončili vývoj distribuce OS Linux přizpůsobené pro specifické aplikace a různorodé HW sestavy a periferie České pošty, s.p. Součástí ...
> >
> >
> >
> >
> > mobil servis: +420 737 238 656
> > email servis: servis at linuxbox.cz
> > -------------------------------------
> 
> --
> -------------------------------------
> Ing. Nikola CIPRICH
> LinuxBox.cz, s.r.o.
> 28.rijna 168, 709 00 Ostrava
> 
> tel.:   +420 591 166 214
> fax:    +420 596 621 273
> mobil:  +420 777 093 799
> www.linuxbox.cz<http://www.linuxbox.cz>
> Úvod | LinuxBox.cz<http://www.linuxbox.cz/>
> www.linuxbox.cz
> Úspěšně jsme dokončili vývoj distribuce OS Linux přizpůsobené pro specifické aplikace a různorodé HW sestavy a periferie České pošty, s.p. Součástí ...
> 
> 
> 
> 
> mobil servis: +420 737 238 656
> email servis: servis at linuxbox.cz
> -------------------------------------

-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28.rijna 168, 709 00 Ostrava

tel.:   +420 591 166 214
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis at linuxbox.cz
-------------------------------------


More information about the poppler mailing list