Jump to content
JasperReports Library 7.0 is now available ×

Company Name with


chuacheeseng83

Recommended Posts

Hi all,

 

I am new in using Jasper Report, and have got problem while trying to the title of my first report.

 

The title need to be the following style :-

 

size=368]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/title.JPG

 

The company name and the company registration code (the smaller font text) will need to be dynamic data. I am having problem of formatting them on the same line with different font size. Is this possible to do so?

 

Any help is appreciated, thanks in advance. :)

 

Best Regards,

Chua Chee Seng

Link to comment
Share on other sites

  • 11 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

hi ,

 

You can give the different font format in the same textbox by using this code ( ur code must be in this field "textFieldExpression")

 

"<style isBold="true" isItalic="true" size="6" fontName="Arial" pdfFontName="Helvetica-Bold">"+ dynamictext or static content +"</style>"

"<style isBold="true" pdfFontName="Helvetica-Bold">"+ dynamictext or static content +"</style>"

 

 

after that u should set :

 

isStyledText="true"

Link to comment
Share on other sites

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...