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
import org.eclipse.birt.report.model.api.DesignElementHandle;
import org.eclipse.birt.report.model.api.MasterPageHandle;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.api.simpleapi.IDataItem;
import org.eclipse.birt.report.model.api.simpleapi.IDataSet;
import org.eclipse.birt.report.model.api.simpleapi.IDataSource;
import org.eclipse.birt.report.model.api.simpleapi.IDesignElement;
import org.eclipse.birt.report.model.api.simpleapi.IDynamicText;
import org.eclipse.birt.report.model.api.simpleapi.IGrid;
import org.eclipse.birt.report.model.api.simpleapi.IImage;
import org.eclipse.birt.report.model.api.simpleapi.ILabel;
import org.eclipse.birt.report.model.api.simpleapi.IList;
import org.eclipse.birt.report.model.api.simpleapi.IMasterPage;
import org.eclipse.birt.report.model.api.simpleapi.IReportDesign;
import org.eclipse.birt.report.model.api.simpleapi.IReportElement;
import org.eclipse.birt.report.model.api.simpleapi.ITable;
import org.eclipse.birt.report.model.api.simpleapi.ITextItem;
/**
 * 
 * 
 */
public class ReportDesign extends DesignElement implements IReportDesign
{
	private ReportDesignHandle report;
	/**
	 * Constructor.
	 * 
	 * @param report
	 */