p_a Posted April 28, 2007 Share Posted April 28, 2007 Hi, I have a report which I would like to bold one of my text field font according to special condition: $F{Result}>20 ? $F{Result}.isBold=="true" : $F{Result}.isBold=="false" The upper code caused an error happened. Is there any solution for this?Is it possible to do such these things in iReport? I hope you could help me to solve my problem. Pegah Link to comment Share on other sites More sharing options...
svenn Posted April 30, 2007 Share Posted April 30, 2007 Open up the jrxml and take a look at the tags. isBold is a modifier on the font tag which in turn is a member of the textElement tag. You cannot modified the field directly using isBold. Link to comment Share on other sites More sharing options...
svenn Posted April 30, 2007 Share Posted April 30, 2007 This post might help you http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=9&id=211#211 Post edited by: svenn, at: 2007/04/30 16:00 Link to comment Share on other sites More sharing options...
p_a Posted May 7, 2007 Author Share Posted May 7, 2007 Thanks svenn. It helped me alot:) 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