Bug 210507 Enhance Report engine to support multiple view
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/ir/EngineIRReader.java
if ( version != ENGINE_IR_VERSION_0 && version != ENGINE_IR_VERSION_1
				&& version != ENGINE_IR_VERSION_2 && version != ENGINE_IR_VERSION_3 )
		{
			throw new IOException( "unsupported version:" + version ); 
		}
		String designVersion = IOUtil.readString( dis );
		if ( checkDesignVersion && !DesignSchemaConstants.REPORT_VERSION.equals( designVersion ) )
		{
			throw new IOException( "un-compatable design version" 
					+ designVersion );
		}
		reportDesign = new Report( );
		if ( version == ENGINE_IR_VERSION_0 || version == ENGINE_IR_VERSION_1 )
		{
			
			IOUtil.readString( dis );
		
			
			IOUtil.readString( dis );
		}
		
		int styleCount = IOUtil.readInt( dis );
		for ( int i = 0; i < styleCount; i++ )
		{
			String styleName = IOUtil.readString( dis );
			IStyle style = readStyle( dis );
			reportDesign.addStyle( styleName, style );
		}
		String rootStyleName = IOUtil.readString( dis );
		reportDesign.setRootStyleName( rootStyleName );