Styles, Patterns, not working, bug?

IReport 3.0

Using a Style - test2 (as per attached jrxml), I have set a numeric field to have a currency format.

When I run the report it does not observe the style.

Why?

 

 

woody8976's picture
Joined: Jan 10 2009 - 4:23pm
Last seen: 14 years 8 months ago

3 Answers:

You do not want to use the Markup/Style option in Properties, which I think you have. Reset that to the default 'none' Instead set the style property (right below Opaque) to "test", which should appear in the Dropdown.  Styled markup means there will be escape sequences in the string to be honored as format controls. HTH.

drlaz's picture
458
Joined: Aug 31 2007 - 5:13am
Last seen: 16 years 1 month ago

Thanks for the response, I don't know what you mean by Opaque - I don't have that control in my version - 3.0?

woody8976's picture
Joined: Jan 10 2009 - 4:23pm
Last seen: 14 years 8 months ago

The basic idea is that you want to apply a text style to that field, and instead you are telling iReport that the contents of the field contain style information. You want to uncheck Styled Text and put the name of your style in the Style field that in 3.0.0 is just above the "Print When Expression" in the Properties panel.

drlaz's picture
458
Joined: Aug 31 2007 - 5:13am
Last seen: 16 years 1 month ago
Feedback
randomness