2006 IR Open Dicussion Posted September 5, 2006 Share Posted September 5, 2006 By: MaGaM - maganz Style bug in iReports? Or is it me!? 2006-03-13 02:47 For 2 weeks ago I started with the use of iReport and JasperReports 1.2.0. Having found the style option in menu 'View' I added some styles. Now I find out that when applying a style to a text field and saving the template, the text element tag is not closed with '>'. The <textElement> tag is nested in the <textField> tag. It's like this: <textElement textAlignment="Left" verticalAlignment="Top" As you can see it's not closed. Has anyone else encountered this problem? Am I doing something wrong or is this a bug in the XML-writer during saving? Thanks in advance for your reaction(s)! By: Wal Millard - walmillard RE: Style bug in iReports? Or is it me!? 2006-03-14 19:41 MaGam, You need to dereference the " character with like this: <textElement textAlignment="Left" verticalAlignment="Top"> here is another example of a Field Object: $F{MyField}.booleanValue()?("Print this if <style pdfFontName="Helvetica-Bold">TRUE</style>"):("Print this if <style pdfFontName="Helvetica-Bold">FALSE</style>") 'Prints this if TRUE' or 'Prints this if FLASE' in bold based on the value of the boolean Field MyField. luck walmillard By: Giulio Toffoli - gt78 RE: Style bug in iReports? Or is it me!? 2006-03-20 01:22 If it was a bug, now it's fixed. Giulio 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