This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes iReport text field some text in bold not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "iReport text field some text in bold not working " Watch "iReport text field some text in bold not working " New topic
Author

iReport text field some text in bold not working

Tiya Khambadkone
Ranch Hand

Joined: Sep 15, 2011
Posts: 52
I have a textField

$F{X} + " and"


I want the string "and" to be displayed in bold.
I googled and found few answers like : usage of <b> OR

$F{X} + "<style isBold=\"true\" pdfFontName=\"Helvetica-Bold\">Bolt text</style>"

but when the result appears like a normal text : $F{X} <style isBold=\"true\" pdfFontName=\"Helvetica-Bold\">Bolt text</style>

What am I doing wrong?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iReport text field some text in bold not working
 
Similar Threads
iReport - problem in applying styles
iReport : to combine format style in a textfield
Unable to export Jasper Report in html format.
problem with jasper report exporting in excel
How to call Jasper Report