Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Generate report in XML format
myklynysh
Hi,
I want to generate an instance of Birtreport with Java API. I found a lot of examples used IRunAndRenderTask class. But thereby I need to define an output format like PDF or HTML.
What I need is to generate an report with given parameters and charts properties and store it as XML file. Match better would be to generate the XML report as byte stream to store it into database.
I found a class IRunTask, but I don't now how to use that for my problem. Or is there an other elegant way to solve that?
Thanks in advanced!
myklynysh
Find more posts tagged with
Comments
CBR
Hi,<br />
<br />
the BIRT runtime that you can download from the eclipse homepage conists of two components: The ReportEngine API and the Design Engine API<br />
<br />
The ReportEngine API can render a given .rptdesign or .rptdocument to desired output format like HTML and PDF. So the IRunAndRenderTask is part of this API.<br />
<br />
The second component is the Design Engine API. the Design Engine API gives you the power to create a report from scratch like you would do with the Eclipse report designer. In addition you can open a given .rptdesign file and modify its content (delete charts, tables, change data binding and so on).<br />
<br />
So it seems that you would like to use the Design Engine API. See <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/deploy/designEngineAPI.php'>Design
Engine API</a> for a example how to use it.