Jump to content
Changes to the Jaspersoft community edition download ×

bold in a part of a field

2005 IR Help

Recommended Posts

  • 4 years later...
  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Set the text field markup to "styled" and use <style isBold="true"></style> around the text you wish to be bold.

Where to put this tag is up to you, according to your requirements and needs. You probably can do it easily with String manipulation methods, as long as you can locate the text you want to be bold. I suggest you do this on a Scriptet, so you can use all of Java String manipulation methods and classes.

Post Edited by mdrg at 04/15/2011 11:51
Link to comment
Share on other sites

mdrg, thanks in advance for your reply.

I'm not sure if I understand it entirely. Should it work if one puts the tag in the expression? I'm not sure how to fit it there, could you help from this example:


<style isBold="true">"WWUID: "</style> + $F{worldwideUID.wwuid}


With that iReport says there is a parsing error in "<", so it's probably not like this...


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...