Bug 199537 Fail to display data in Web viewer[0002]
Description: Fail to display data in Web viewer Build number:2.2.1.v200708101407 Steps to reproduce: 1. Preview attached report in Web Viewer. Expected result: Display data. Actual result: No data. Error log:n/a
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
*            the element to localize
	 */
	private DesignElement localize( DesignElement element )
	{
		DesignElement newElement = createNewElement( element );
		localizePropertyValues( element, newElement );
		return newElement;
	}
	/**
	 * 
	 * @param source
	 * @return the localized design
	 */
	private ReportDesign localizeDesign( ReportDesign source )
	{
		ReportDesign design = new ReportDesign( source.getSession( ) );
		design.setFileName( source.getFileName( ) );
		design.setSystemId( source.getSystemId( ) );
		ModuleOption options = source.getOptions( );
		try
		{
			if ( options != null )
				design.setOptions( ( (ModuleOption) options.copy( ) ) );
		}
		catch ( CloneNotSupportedException e )
		{
			assert false;
		}
		localizePropertyValues( source, design );