Jump to content
JasperReports Library 7.0 is now available ×

How to Prevent Line Break on Special Characters


Recommended Posts

I have variable length text in a textfied that is to be wrapped in multiple lines. The problem is sometimes the content has the following text

"/ D.O.B : /"   which at times break like this "/ D.O.

B: /".      Is there a way to prevent linebreak on the period and slash symbol. I already know about non-breaking hyphen and non-breaking space. But how can I prevent a line break on other characters?

In css I would use the following:


But how can this be done in jasperreports?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...