The moose likes Other Open Source Projects and the fly likes iReport : to combine format style in a textfield Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "iReport : to combine format style in a textfield" Watch "iReport : to combine format style in a textfield" New topic
Author

iReport : to combine format style in a textfield

Ana Salimi
Greenhorn

Joined: Dec 29, 2008
Posts: 2
I am using iReport version 2.0.5.
My problem is..
I have one text field with the text expression is:
"Name :" +"<style isBold=\"true\" pdfFontName=\"Helvetica-Bold\">"+"Ana Salimi"+"</style>"

The output will be:
Name : Ana Salimi

It looks fine when run in iReport. But if I call this report from web aplication (from .jsp page), the output appear like this :
Name :<style isBold=\"true\" pdfFontName=\"Helvetica-Bold\">" Ana Salimi "</style>"

Please help me.
 
 
subject: iReport : to combine format style in a textfield
 
Threads others viewed
How to create Static Text in Jasper Reports
problem with jasper report exporting in excel
jasper reports with subreports
Jasper Report
iReport - problem in applying styles
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com