Bug 197929 Fail to preview document from BIRT2.1.3 in BIRT2.2.1[0900]
Description: Fail to preview document from BIRT2.1.3 in BIRT2.2.1 in pdf format with frameset servlet Build number:2.2.1.v20070726 Steps to reproduce: 1. Preview attached document in web viewer. 2. Click Print As PDF button. Expected result: Display content in pdf. Actual result: damanged file. Error log:n/a
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/ir/EngineIRReader.java
visibility.addRule( rule );
		}
		return visibility;
	}
	protected MapDesign readMap( DataInputStream in ) throws IOException
	{
		MapDesign map = new MapDesign( );
		int ruleCount = IOUtil.readInt( in );
		for ( int i = 0; i < ruleCount; i++ )
		{
			MapRuleDesign rule = new MapRuleDesign( );;
			String testExpr = IOUtil.readString( in );
			String oper = IOUtil.readString( in );
			String value1 = IOUtil.readString( in );
			String value2 = IOUtil.readString( in );
			String displayText = IOUtil.readString( in );
			String displayKey = IOUtil.readString( in );
			rule.setTestExpression( testExpr );
			rule.setExpression( oper, value1, value2 );
			rule.setDisplayText( displayKey, displayText );
			map.addRule( rule );
		}
		return map;
	}
	protected HighlightDesign readHighlight( DataInputStream in )
			throws IOException
	{
		HighlightDesign highlight = new HighlightDesign( );
		int ruleCount = IOUtil.readInt( in );
		for ( int i = 0; i < ruleCount; i++ )