olehenrik Posted November 16, 2008 Share Posted November 16, 2008 Hi,When using ambersand in styled text field it returns not only the ambersand but the whole styled text. I.e:select '&' amberfrom dualThree fields in the report, all of them have the is styled text flag on.1"<style isUnderline="true" pdfFontName="Helvetica">"+"&"+"</style>"Returns<style isUnderline="true">&</style>2"<style isUnderline="true" pdfFontName="Helvetica">"+"&"+"</style>"Returns<style isUnderline="true">&</style>3"<style isUnderline="true" pdfFontName="Helvetica">"+"&"+"</style>"Returns<style isUnderline="true" pdfFontName="Helvetica">"&</style>I'm quite stuck and I'm not able to get this to work. Any help would be most appreciated. I have attached the jrxml file and the results as pdf. RegardsOle Henrik SteinmoPost Edited by Ole Henrik Steinmo at 11/16/08 06:02Post Edited by Ole Henrik Steinmo at 11/16/08 07:46 Link to comment Share on other sites More sharing options...
olehenrik Posted November 16, 2008 Author Share Posted November 16, 2008 http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=14457 & is the solution. Link to comment Share on other sites More sharing options...
hangman01 Posted November 17, 2008 Share Posted November 17, 2008 Try something like this to display the ampersand:"<style isUnderline="true" pdfFontName="Helvetica">this is an amersand u0026</style>" 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