Jump to content
Changes to the Jaspersoft community edition download ×

ireport fonts type and fonts size(urgent)


2006 IR Open Dicussion

Recommended Posts

By: ts_chung - ts_chung

ireport fonts type and fonts size(urgent)

2006-07-04 18:16

i am currently using ireport 0.5.3.

i wish to ask if i can pass in font type and font size as parameter?

if can, how?

please give example if possible.

thank you

 

 

 

 

By: David Karnowski - karnowski

RE: ireport fonts type and fonts size(urgent)

2006-07-06 09:00

I don't think you can do this from iReport and jrxml files only. You could probably do it if you worked with the Jasper reports designer API: net.sf.jasperreports.engine.design.JasperDesign. I'm guessing that you could do the following steps:

1) create the report with a default font size in iReport

2) Use the JasperDesign APIs to load the jrxml file into a new JasperDesign object

3) Once you had a JasperDesign object you could change the font size

4) Generate and fill the report

 

See the Jasper APIs and manual for details. I've never used the dynamic report building personally, but I believe it's what you'll need to do.

 

 

 

 

By: ts_chung - ts_chung

RE: ireport fonts type and fonts size(urgent)

2006-07-07 18:31

thank you for your suggestion.

i will try with your solutions.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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