ireport fonts type and fonts size(urgent)

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.
2006 IR Open Dicussion's picture
Joined: Aug 10 2006 - 3:24am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet
Feedback
randomness