Jump to content
JasperReports Library 7.0 is now available ×

Changing default values for element properties


vhastings

Recommended Posts

I am going crazy trying to set default values for the following textfield element properties:

 

Print in first whole band

Print when detail overflows

Print repeated values

Position type

Font

Font size

PDF font

PDF encoding

Align

Vertical align

Stretch with overflow

 

I have created a default report style, set its default font to Times New Roman and its default PDF font to Times-Roman and its default PDF encoding to CP1252. I have changed the default font in Settings to Times New Roman. I have created a default style in my styles library and set the default font to Times New Roman.

 

But every time I create a new text field, its font is Sans Serif, 10 point, the PDF font is Helvetica and the PDF encoding is CP1250.

 

The only way I've found to avoid having to change these settings manually is to copy a style from a properly formatted text field and paste it into the destination field. But this technique doesn't pick up properties such as Position Type, Print in First Whole Band, Print When Detail Overflows and Print Repeated Values. Surely there is an easier way. What am I overlooking?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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