The short answer is no - there is no means in the FOP API to interrupt a 
rendering run.

The long answer is more like: it depends. What's your environment? How 
do you invoke FOP? How do you serve the data to the client? For example 
if you invoke FOP as a spawned process you could simply kill it.

You also said that you must wait for the report to be generated before 
starting to send it. There is no intrinsic need to do that but may be 
your application architecture requires that. For example in a servlet 
type environment you could connect the fop outputstream directly to the 
servlet outputstream.

My recommendation - just catch the exception and do any cleanup 
required.

Manuel
On Wed, 21 Sep 2005 08:05 am, David Gagnon wrote:
> Hi all,
>
>   I think all have been said in the subject.  I have an application
> and when I generate a report in PDF i must wait for the report to be
> completed before starting to send it.  But if the user close the
> browser window the report will continue until it`s finished.  I will
> got an exception when I will start sending the report.
>
> Is there any way to stop processing when the user close it`s browser
> windows ?
>
> Thanks for your help!!!
>
> /David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]

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

Reply via email to