xchen Posted September 30, 2009 Share Posted September 30, 2009 Hi folks,I am having an issue when applying the style iReport. The issue is like this: if I apply the style to Text Field, it works, but if I apply the style to Static Text, it doesn't work, but instead, the old proprties still applies!Any hint is highly appreciated. Chen Link to comment Share on other sites More sharing options...
walmillard Posted October 1, 2009 Share Posted October 1, 2009 Are you embedding the <style> tags or are you setting the font properties using the ireport controls? ieAttention <style pdfFontName="Helvetica-Bold">Customers</style>will print "Customers" in Helvetice-Bold regardless of the iReport font settings used to print Attention.ensure you have the "Is styled text" setting checked.Note also that "MS Windows" fonts are slightly astray from other platforms.luck Link to comment Share on other sites More sharing options...
mdahlman Posted October 1, 2009 Share Posted October 1, 2009 Chen, The quickest solution (well, workaround) is to right-click the static text field and choose Transform to -> Text Field. Regards,Matt Link to comment Share on other sites More sharing options...
xchen Posted October 1, 2009 Author Share Posted October 1, 2009 walmillardWrote: Are you embedding the <style> tags or are you setting the font properties using the ireport controls? ie Attention <style pdfFontName="Helvetica-Bold">Customers</style> will print "Customers" in Helvetice-Bold regardless of the iReport font settings used to print Attention. ensure you have the "Is styled text" setting checked. Note also that "MS Windows" fonts are slightly astray from other platforms. luck I am not sure if I follow you. In my case, I created a few styles in the Style Library, then drag and drop them onto the static box. The colors in front and background didn't change at all. I don't mean to change the style in the jrxml file manually. Could this be a bug of iReport? Thanks. X.ChenPost Edited by xchen123 at 10/01/2009 20:58 Link to comment Share on other sites More sharing options...
xchen Posted October 1, 2009 Author Share Posted October 1, 2009 mdahlmanWrote: Chen, The quickest solution (well, workaround) is to right-click the static text field and choose Transform to -> Text Field. Regards, Matt Sounds like a solution. Thanks for all of you posting replies! Chen 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