panlj2004 Posted August 10, 2015 Share Posted August 10, 2015 Hello,I want to add css into my jasper report, Please suggest me the solution.I already added a css file in theme of jasper server, but it looks like a web view,It doesn't have anything to do with the report. I searched several similar question in the past, however, there is no a definite answer.If you could give an examle/link, I'll appreciate that.Kelly pan Link to comment Share on other sites More sharing options...
hozawa Posted August 10, 2015 Share Posted August 10, 2015 CSS is only effective in HTML view and not in other formats (e.g. PDF). As such, it seems sufficient to just have them in JasperReports Server.If you want to modify the attributes, set them from the "Properties" view in Jaspersoft Studio. Link to comment Share on other sites More sharing options...
panlj2004 Posted August 10, 2015 Author Share Posted August 10, 2015 thank you, hozawa,I want to set a group definition for my head,content,footer and so on.do you any better solution? I seen some one montioned "resource file", but I don't know how to added Link to comment Share on other sites More sharing options...
hozawa Posted August 10, 2015 Share Posted August 10, 2015 How about creating a template for your reports?http://jasperreports.sourceforge.net/sample.reference/templates/ 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