2006 IR Open Discussion Posted August 19, 2006 Share Posted August 19, 2006 By: Daren Drummond - darendrummond I added CSS class support to JasperReports 2003-06-18 15:09 I needed my JasperReports to integrate with my website's css styles so I added a new attribute to the reportElement tag called "cSSClass" that will simply dump the cSSClass to the <TD class="myclass"> tag. For example: <reportElement cSSClass="reportLabel" x="5" y="5" width="100" height="15" isPrintWhenDetailOverflows="false"/> This has really saved me a lot of time styling my reports. Granted, I only care how they look via the HTML exporter and not in pdf. If anyone is interested in this feature then I'll clean up the code and post it back to the project. Daren By: Rod Potter - roddipotter RE: I added CSS class support to JasperReports 2003-08-11 13:42 That would be great - I need the CSS feature as well. Could you post the updated class? Link to comment Share on other sites More sharing options...
poonampose Posted December 29, 2007 Share Posted December 29, 2007 hi, im trying to include external style sheet in to jasper report. i hv included .css file thru HTML_HEADER. bt the pblm is dat there are some inline style tags which get included in the output of jasperreport when i export it thru HTMLExporter. Thus the effect of css file are not getting reflected. Can u just send the code of including (css)style class in the jasper reports. thx in advanced. Link to comment Share on other sites More sharing options...
emi Posted January 18, 2008 Share Posted January 18, 2008 hi could you send me a code i'll be very gradefull Link to comment Share on other sites More sharing options...
dvillaj Posted March 26, 2008 Share Posted March 26, 2008 Hi, Can you send me the sources? Best Regards,Daniel Link to comment Share on other sites More sharing options...
zaya Posted April 1, 2008 Share Posted April 1, 2008 hican you send me the sources?thank you best regards,zaya Link to comment Share on other sites More sharing options...
forhitesh Posted April 8, 2008 Share Posted April 8, 2008 Please share your code. Link to comment Share on other sites More sharing options...
info2sekhar Posted August 27, 2008 Share Posted August 27, 2008 Could you pls send me the code. I really need it. Thanks, in advance. Link to comment Share on other sites More sharing options...
bhushan Posted September 16, 2008 Share Posted September 16, 2008 hi seriously u can see how many people want to know how to add css in jasper so plz plz plz if u hav plz give us sample code v will b gr8ful thx in advance Link to comment Share on other sites More sharing options...
gcsstipek Posted March 9, 2009 Share Posted March 9, 2009 Hi,If the source for this work around is still available, can you please send it to me?TIA! Link to comment Share on other sites More sharing options...
aziziyazit Posted April 11, 2009 Share Posted April 11, 2009 me too. Could you send me ur code.email : aziziyazit@gmail.com Link to comment Share on other sites More sharing options...
andy7 Posted April 20, 2009 Share Posted April 20, 2009 hican you send me the sources?my email: personal.possession@gmail.comthank you Link to comment Share on other sites More sharing options...
rulate Posted May 13, 2009 Share Posted May 13, 2009 I'm yet another one requesting this code if it's not too much ask could you send it to me too? (maybe upload it somewhere) RicardoUlate@fico.com Link to comment Share on other sites More sharing options...
sunianu Posted May 26, 2009 Share Posted May 26, 2009 Hi Can you please send me the code for css. ThanksSuni Link to comment Share on other sites More sharing options...
Teodor Danciu Posted May 27, 2009 Share Posted May 27, 2009 Hi, I'm sorry, but what you have seen as initial topic above, from Daren Drummond, is an old post from 2003, posted initially on the forums at Sourceforge.net.When we moved the forums to this forge, the initial author of the message did not get your replies.The only way to get to Daren is to write him on his Sourceforge.net account, hoping he will reply: darendrummon@users.sourceforge.net I hope this helps.Teodor Link to comment Share on other sites More sharing options...
amithjayasekara Posted May 15, 2010 Share Posted May 15, 2010 this can be done i just did it if u want a help just reply herenot only CSS we can add javaScripts as well Link to comment Share on other sites More sharing options...
indhira Posted June 4, 2010 Share Posted June 4, 2010 HiCan u plz attach ur source code to this thread. Can i add ellipsis feature to the text field if it overflows?ThanksIndhira :) Link to comment Share on other sites More sharing options...
staysmall Posted September 23, 2010 Share Posted September 23, 2010 @ amithjayasekara Can you please help out with the code to invoke css scripting? thanks,Amar(jaspersoft@staysmall.oib.com)Post Edited by staysmall at 09/23/2010 20:42 Link to comment Share on other sites More sharing options...
chammu Posted November 15, 2010 Share Posted November 15, 2010 Hi amithjayasekara,Can you please help in adding CSS to jasper reports.Thanks,Shanmuganathan Link to comment Share on other sites More sharing options...
bansi Posted February 23, 2011 Share Posted February 23, 2011 Hi There,I would like to have that code as well. Is the Source for this available ? Has anyone used CSS to define the layout for Html Reports ? Thanks.Post Edited by bansi at 02/23/2011 04:02 Link to comment Share on other sites More sharing options...
bansi Posted February 23, 2011 Share Posted February 23, 2011 Anyone ??Its urgent....Any feedback would be appreciated Link to comment Share on other sites More sharing options...
Teodor Danciu Posted February 23, 2011 Share Posted February 23, 2011 Hi, In my previous reply, I already told you how you can contact the original poster of this thread. Thank you,Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now