bobh Posted February 13, 2007 Share Posted February 13, 2007 Staff, I have a report where one of the fields that come of my SQL is one string that it can or not to have underlined parts… My problem is accurately to have that to underline the parts necessary… I tried to use tag <style isUnderline="true">underline part</style>, but as this is come in my field $F{text} as resulted of SQL it is not functioning… If I leave thus: <style isUnderline="true">$F{text}</style> functions, but all the text is underlined, not only the part of the text that I desire…. Somebody has some idea of as I can make this? Since already I thank the attention of all. Roberth Link to comment Share on other sites More sharing options...
anjumprevaiz Posted January 22, 2009 Share Posted January 22, 2009 hi buddies i am facing the same problem ....plz reply us waiting.... for ur replys Link to comment Share on other sites More sharing options...
lucianc Posted January 23, 2009 Share Posted January 23, 2009 Can you post a sample (incl. data) to reproduce this?Regards,Lucian Link to comment Share on other sites More sharing options...
bulut Posted January 23, 2009 Share Posted January 23, 2009 Hi,If i got your problem you mean that u want underline some part of a string.I think you can do this using java substring function. You can seperate your string data and apply them style.Like:<style isUnderline="true">first_part_of_String_data</style> + second_part_of_String_data RegardsPost Edited by bulut bulut at 01/23/09 15:17 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