You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Gayathri Gopan <ga...@gmail.com> on 2009/04/17 03:09:12 UTC

Custom Print Preview using FOP

Hi,

I am developing an application using Java and SWT as the widget toolkit. I
need to provide an option print some logs through my application.I am using
XSL transformations and FOP(V-0.95) for the same. Converting the  xml files
to pdf and printing works fine for me. However for the print preview option
the standard dialog that opens up is an AWT FOP dialog. 

The documentation on PreviewPanel states that if you need a custom dialog of
your own, create a new PreviewPanel with your own renderer,useragent and
output. Also we have to set the flag for Previewdialog to false. I have done
all this. If I have the standard dialog open and a new preview panel the
rendered output comes in both these dialogs. But only with the custom
preview panel i am not able to obtain the rendered output.. 

Can someone help me with this? 

Thanks,

G
-- 
View this message in context: http://www.nabble.com/Custom-Print-Preview-using-FOP-tp23089197p23089197.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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