On Tuesday 17 June 2008 17:36:07 Jeremias Maerki wrote:
> FOP receives streamed input and therefore has no chance to provide
> information for a progress bar (at least in percent). Now that we have
> an event facility, we could add some progress events like a "new page"
> event that gets called each time a page has been created. But we would
> still not know how many pages there will be in order to calculate a
> percentage.

If we could somehow rely on it reading it in a streamed fashion (i.e. the data 
for page 21 is not read until the previous content is already completely 
handled) then intercepting the InputStream itself would allow a % readout.

I think Java already had such a utility class but I haven't tried using it 
with FOP before.

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to