Using XML Datasource for RCP [message #124526] |
Mon, 06 February 2006 01:22 |
Eclipse User |
|
|
|
Originally posted by: calltl.hotmail.com
Hi all,
I am currently testing BIRT with my RCP application. Report generation is
done by combining an automatically generated XML file (as data source) and a
predefinited BIRT design file (which understand the structure of the XML
data source).
Since BIRT designer hardcoded the XML data source file (in absolute path)
during report design phase, I need to reset the XML data source filename
just before RCP generates the report via BIRT API.
When I examine the code from org.eclipse.birt.report.data.oda.xml, I realise
the data source filename is stored in DataSourceHandle. Hence I believe I
can retrieve the information from IReportRunnable.getDesignHandle() after I'
ve opened the report design from RCP. However, I cannot find any
information on data source.
Is there any API that I can call to get and set the XML data source filename
from BIRT API? Please help. Thanks.
Tony Lam
Australian Nuclear Science and Technology Organisation
PMB 1, Menai NSW 2234
|
|
|
Powered by
FUDForum. Page generated in 0.04313 seconds