GeeCON Prague 2014*
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


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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: iReport text field some text in bold not working