Jump to content
We've recently updated our Privacy Statement, available here ×

Help for Style in iReport


xchen

Recommended Posts

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

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

Link to comment
Share on other sites

walmillard
Wrote:
 

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.Chen



Post Edited by xchen123 at 10/01/2009 20:58
Link to comment
Share on other sites

mdahlman
Wrote:
 

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...