Project: Birt
Bug 212450 Expose Report Theme for scripting
Reported: 2007-12-10 15:02:58 | Status: resolved fixed

Use case: Report library: theme.rptlibrary has 2 themes blue and green based on blue.css and green.css. Report design: theme.rptdesign uses theme.rptlibrary. there is a report parameter: theme that allows the user to select blue or green for the report theme. Using scripting, I want to be able to set the theme of the report based on the report parameter. In the script tab, the 'this' variable does not have theme exposed. Desired action: please expose theme to the report.

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/IReportDesign.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/ReportDesign.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/simpleapi/IReportDesign.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/simpleapi/ReportDesign.java