wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: iReport text field some text in bold not working
 
Similar Threads
Unable to export Jasper Report in html format.
iReport - problem in applying styles
iReport : to combine format style in a textfield
How to call Jasper Report
problem with jasper report exporting in excel