own report design tool [message #135212] |
Thu, 23 February 2006 11:21 |
Eclipse User |
|
|
|
Originally posted by: alejandro,moreno.nexthink.com
This is a multi-part message in MIME format.
------=_NextPart_000_0044_01C6389D.A4659720
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have my own report definition and I'm doing a translator module =
that converts this file in a BIRT Report Definition File. I use design =
engine API to generate the .rptdesign file. I have two problems:
- The first is with data sources. I want to use the extension =
org.eclipse.birt.report.data.oda.jdbc. I have the next code:=20
OdaDataSourceHandle dataSource =3D =20
=
design.getElementFactory().newOdaDataSource("database","org.eclipse.birt.=
report.data.oda.jdbc");=20
But when I execute it, there is a exception (The extension with ID =
'org.eclipse.birt.report.data.oda.jdbc' is not found!)
How can I resolve this? What's the code to load the extensions?
-The second is with charts. How can I use the API to generate =
charts? Where can I find information about this?
------=_NextPart_000_0044_01C6389D.A4659720
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DVerdana size=3D2> I have my own =
report=20
definition and I'm doing a translator module that converts this file in =
a BIRT=20
Report Definition File. I use design engine API to generate the =
..rptdesign=20
file. I have two problems:</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2> - The first is =
with data=20
sources. I want to use the=20
extension <EM>org.eclipse.birt.report.data.oda.jdbc. </EM>I =
have the=20
next code: </FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><FONT size=3D1> =20
OdaDataSourceHandle dataSource =3D =20
<BR> =20
design.getElementFactory().newOdaDataSource("database ","org.eclipse=
..birt.report.data.oda.jdbc");</FONT>=20
</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2> <FONT =
face=3DVerdana>But=20
when I execute it, there is a exception <FONT color=3D#ff0000><EM>(The =
extension=20
with ID 'org.eclipse.birt.report.data.oda.jdbc' is not=20
found!)</EM></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D1> <FONT size=3D2>How =
can I resolve=20
this? What's the code to load the =
extensions?</FONT></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><EM></EM></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2> -The second is =
with charts.=20
How can I use the API to generate charts? Where can I find information =
about=20
this?</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2> </FONT></DIV></BODY></HTML>
------=_NextPart_000_0044_01C6389D.A4659720--
|
|
|
Powered by
FUDForum. Page generated in 0.25807 seconds