Bug 208201 Grid width doesn't work in word and excel.[1202][1203]
Description: Grid width doesn't work in word. Build number:2.2.2.v20071031 Steps to reproduce: 1. Insert a grid (1*1). 2. Insert a label to grid cell. 3. Select the grid and set width as 0.5in 4. Preview in word and excel. Expected result: Display grid with 0.5in width. Actual result: Display grid with 100% width. Error log:n/a
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelEmitter.java
{
			engine.addData( data.getText( ).trim( ), data.getComputedStyle( ),
					url );
		}
		else if ( !ExcelUtil.getType( data.getValue() ).equals( Data.NUMBER )
				&& !ExcelUtil.getType( data.getValue() ).equals( Data.DATE ) )
		{
			engine.addData( data.getText( ), data.getComputedStyle( ), url );
		}
		else 
		{
			engine.addData( data.getValue( ), data.getComputedStyle( ), url );
		}
	}
	
	public void startImage( IImageContent image )
	{
		if ( image.getGenerateBy( ) instanceof ExtendedItemDesign )
		{
			ExtendedItemDesign eitem = (ExtendedItemDesign) image
					.getGenerateBy( );
			ExtendedItemHandle handle = (ExtendedItemHandle) eitem.getHandle( );
			String tagName = handle.getExtensionName( );
			if ( "chart".equalsIgnoreCase( tagName ) )
			{
				File res = chartConverter.convert( eitem, handle );
				if ( res != null )
				{
					charts.add( res );
				}