[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,

Yeah, that about sums it up, at least as far as I know. Keep in mind, when you do the preview using the API, you still have the support for pagination, and you can do this in such a way that you aren't re-running the same process over again. When you Run your report, keep the Report Document instance handy. I personally would rather use PDF as the preview format, but any format that there is an emitter for is possible. If you keep the Report document handy after running it once, you can do things like progressive rendering and pagination for your actual print instance.

John

andreas wrote:
thank you for your replies.

to resume; as i see i've two options to show the reports as print preview in my swing application. Firstly i could use osgi to use the birt viewer plugin. So i'll could show the report using swt and the default os browser like eclipse does.
Secondly i don't use osgi and the birt viewer plugin. Then i have to emulate and adapt the functionality of birts viewer plugin by my self. (doing a run task, doing a rendering task, process and show the rendered report)


I suppose that the rendering gives me a concrete fomate e.g. html and i have to care for its presentation. right?

i hope i have summarized my options correctly, if not please correct me and help me out.

thanks again. andreas