Bug 212450 Expose Report Theme for scripting
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.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/simpleapi/ReportDesign.java
return null;
		return new DataSource( dataSource );
	}
	public IReportElement getReportElement( String name )
	{
		DesignElementHandle element = report.findElement( name );
		IDesignElement elementDesign = ElementUtil.getElement( element );
		return ( elementDesign instanceof IReportElement
				? (IReportElement) elementDesign
				: null );
	}
	public IDataItem getDataItem( String name )
	{
		IReportElement element = getReportElement( name );
		if ( element != null && element instanceof IDataItem )
			return (IDataItem) element;
		return null;
	}
	public IGrid getGrid( String name )
	{
		IReportElement element = getReportElement( name );
		if ( element != null && element instanceof IGrid )
			return (IGrid) element;
		return null;
	}
	public IImage getImage( String name )
	{
		IReportElement element = getReportElement( name );
		if ( element != null && element instanceof IImage )
			return (IImage) element;