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
column.setWidth( width );
				break;
			case FIELD_SUPPRESS_DUPLICATE :
				boolean suppressDuplicate = IOUtil.readBool( in );
				column.setSuppressDuplicate( suppressDuplicate );
				break;
			case FIELD_VISIBILITY :
				VisibilityDesign visibility = readVisibility( in );
				column.setVisibility( visibility );
				break;
			case FIELD_HAS_DATA_ITEMS_IN_DETAIL :
				boolean hasDataItemsInDetail = IOUtil.readBool( in );
				column.setHasDataItemsInDetail( hasDataItemsInDetail );
				break;
			default :
				readStyledElementField( in, column, fieldType );
		}
	}
	protected void readRow( DataInputStream in, RowDesign row )
			throws IOException
	{
		while ( in.available( ) > 0 )
		{
			short fieldType = IOUtil.readShort( in );
			readRowField( in, row, fieldType );
		}
	}
	protected void readRowField( DataInputStream in, RowDesign row,
			short fieldType ) throws IOException
	{