[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: birt report as print preview on desktop app

Andreas,

You may be better off trying to show the generated HTML in a JEditorPane as I showed you in another post. Getting the BIRT plugins to run is not that hard, but how you display the output may be more difficult. You may need to create your own page controls.

Jason

andreas wrote:
thanks for the reply.
I want to show a generated Report as an embedded print-preview in a swing application. I know, that the Report Designer (RD) in eclipse uses the Report Viewer(RV) to show a result. But as far a i know the RV is a WebApp which runs in a Tomcat App Server so this wouldn't work in a desktop environment without any server. Further i'm sticked to swing so i can't use swt to visualize RV. This solution also wouldn't be very embedded by the way.


What i thought about as kind of a workaround is to produce html or pdf and show this in swing using some common api's. The disadvantage is that i have propably high costs to adapt the presentation that it looks and operates like a print preview.

I would feel a litle bit queasy to walk this way just to show a paginated preview of the report where the user has a TOC and print or export features in a swing application. Am I the only one with such a request?