xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Appelt" <daniel.app...@gmail.com>
Subject Re: Large PDF's files fail to stream correctly
Date Fri, 04 Apr 2008 17:43:13 GMT
Hi Graeme,

in general, you do not know in advance how long the rendering with FOP
will take. For large files it is not unlikely that the browser times
out or finishes fetching the PDF file in an unfinished state.
A possible pseudo-streaming solution could be to let FOP save the file
on the server, and use a website with an AJAX script on the client
side that regularly checks the state of the file. If file size isn't
changing between two or more consecutive checks, it might be assumed
that FOP has finished rendering the file and you could redirect the
browser to the respective URL or show it as a link. Of course, this
might still be problematic with regards to security...


To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message