Situation:
You have an ad hoc report with a title. You want to change how the title is displayed (color, font, alignment, etc.)
Solution:
To change the report title in Ad Hoc report you need to do the following:
In TIBCO Jaspersoft® Studio connect to the TIBCO JasperReports® Server repository, go to /public/templates, open Actual Size template in editor
Edit styles ChartReportTitle, ChartTitle, TableTitleTextStyle, CrosstabTitleTextStyle
In Appearance tab set Forecolor to the one you want.
Save report as, save it under some name you want.
Right click on the saved report in the project explorer and press Export Files To and save it somewhere on your hard drive
Go to JasperReports® Server web UI and go to /public/templates folder.
Create -> File -> JRXML. Upload the file file from step 5.
When saving view and creating report in Ad Hoc editor, in the save location dialog select Save Report With Custom Template and point to your template.
Recommended Comments
There are no comments to display.
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