Jump to content
Changes to the Jaspersoft community edition download ×

Problem using stylized text

2005 IR Help

Recommended Posts

By: Ganesh - pganeshkumar

Problem using stylized text

2004-12-22 11:44



I use the following piece of xml to generate my .jasper file:



<reportElement x="0" y="309" width="515" height="73"/>

<textElement isStyledText="true" textAlignment ="Justified" lineSpacing="Single" >

<font reportFont="TimesNewRoman_Default" isUnderline="false"/>




Please find enclosed the Terms and Conditions for Lehman Brothers International (Europe) ("LBIE") and an Addendum in respect of the business you undertake with and through the Paris branch of LBIE. The Terms and Conditions and the Addendum hereafter collectively are referred to as the <style isBold="true">"Service Agreement"</style>.]]>




I thought this would print "Service Agreemnt" in bold but it did not. Am I missing something?


I am using jasperreports-0.6.3 and itext-1.1.


Thanks and regards,






By: Ganesh - pganeshkumar

RE: Problem using stylized text

2004-12-22 15:48



I found that the problem was with NOT specifying the pdf font to use font in the style tag. I thought it would take it from the textElement's font tag. But it looks like it does not.


Sorry for the trouble.

With regards,


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...