chuacheeseng83 Posted October 28, 2006 Share Posted October 28, 2006 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 More sharing options...
krishnamurthi Posted October 1, 2007 Share Posted October 1, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now