Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to add new Report items to eclipse BIRT juno(how to get line,radio button ,rectangle etc as palette report items eclipse BIRT juno)
icon5.gif  How to add new Report items to eclipse BIRT juno [message #919761] Sat, 22 September 2012 05:59 Go to next message
Ashwin kumar is currently offline Ashwin kumar
Messages: 4
Registered: September 2012
Junior Member
HI ,
i am very new to java and BIRT, could you some one let me assist on
how to get line,radio button ,rectangle etc as palette report items eclipse BIRT juno as i need to use those report items for my project
Re: How to add new Report items to eclipse BIRT juno [message #922175 is a reply to message #919761] Mon, 24 September 2012 16:15 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Currently these types of items are not in the BIRT palette. If you want to draw rectangles and lines you can use grids and borders. Radio buttons can be implemented by using a text element and just entering html like:

<input type="radio" name="buttontest" value="test" onClick='selectFunction(value)'>My Button</input>

Jason
Re: How to add new Report items to eclipse BIRT juno [message #923184 is a reply to message #922175] Tue, 25 September 2012 13:29 Go to previous messageGo to next message
Ashwin kumar is currently offline Ashwin kumar
Messages: 4
Registered: September 2012
Junior Member
here our project requirement is like we need to display huge data from multiple tables. some times we may need to display more than 15 different set data fields(diff. size) in single line.hence for such requirements if have Line as the report item ,then i think its good to distinction.
so is there any way to have Line as report item( as in crystal or Active reports)may be with some plugin?

i also observed one issue with BIRT is we can't move the reports items easily(with mouse or arrow keys) on reports(during design time) and the only way is adjust the margin properties.is there any alternate way for easy moment of controls on report(may be with mouse or arrow keys) as in other reporting tools(crystal or Active reports)?

when we drag controls on report(may be label) is occupying complete area(i.e label width is almost same as report width),again to adjust the label width,we need to be update XML source .is there any way to adjust report label or text width with mouse?
Re: How to add new Report items to eclipse BIRT juno [message #923348 is a reply to message #923184] Tue, 25 September 2012 17:00 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

You need to use grids to position items where you want them. BIRT supports css style sheets so you can use borders to separate content. Look at the attached example report. It is a bit different than those tools but lays out a report much like a web page designer.

Jason
Re: How to add new Report items to eclipse BIRT juno [message #923349 is a reply to message #923348] Tue, 25 September 2012 17:02 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

BTW BIRT does support extension points to add items to the palette, For example:
http://code.google.com/a/eclipselabs.org/p/birt-controls-lib/
http://digiassn.blogspot.com/2010/02/birt-birt-report-item-extensions.html

Jason
Previous Topic:Problem previewing report in BIRT
Next Topic:BIRT 4.2 - Fatal Error calculating totals when there is no data
Goto Forum:
  


Current Time: Wed Jul 30 09:22:48 EDT 2014

Powered by FUDForum. Page generated in 0.02966 seconds