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 "Neuman, Ben J., A&M IRM" <bj...@hq.afis.osd.mil> on 2006/03/02 14:13:11 UTC
Help with preview panel please.
Hi,
Very new to FOP so please be patient.
I am trying to use the PreviewPanel in my Swing application to display an FO
document. I see in the javadocs that I need to do this:
renderer.clearViewportList();
// build report xml here
fopPanel.reload();
The problem is that I do not understand exactly how to "//build report xml
here". I have the fo document allready. But how do I render it now in the
preview panel?
Thanks
Ben