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/layout/ExcelLayoutEngine.java
int styleid = engine.getStyleID( d.getStyleEntry( ) );
				d.setStyleId( styleid );
				Rule rule = d.getRule( );
				
				
				int start = axis.getCoordinate( rule.getStart( ) ) + 1;
				int end = axis.getCoordinate( rule.getEnd( ) ) + 1;
				
				end = Math.min( end, MAX_COLUMN );
				int scount = Math.max(0, end - start - 1);
				
				Span span = new Span( start, scount );
				HyperlinkDef link = d.getHyperlinkDef( );
				if ( link != null && link.getBookmark( ) != null )
				{
					
					links.put( link.getBookmark( ), 
							   getCellName( i + 1,start + 1 ) );
				}
				d.setSpan( span );
			}
		}
	}
	private String getCellName( int row, int col )
	{
		char base = (char) ( col + 64 );
		Character chr = new Character( base );
		return chr.toString( ) + row;
	}
}