Bug 118775 [Regression]Cell alignment is not consistent in layout view and preview.
Description: Cell alignment is not consistent in layout view and preview. Steps to reproduce: 1.Add a grid, insert a chart in the grid cell. Set row text alignment "center", column text alignment "right". Select cell, its text alignment is "center". Preview it, it is displayed in right. Please reference to scr 78082 in tracker
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/dom/CellComputedStyle.java
private IStyle columnStyle;
	private IStyle rowStyle;
	public CellComputedStyle( ICellContent elt )
	{
		super( elt );
		IRowContent row = (IRowContent) elt.getParent( );
		if ( row != null )
		{
			rowStyle = row.getStyle();
			ITableContent table = row.getTable( );
			if ( table != null )
			{
				int columnId = elt.getColumn( );
				if ( columnId >= 0 && columnId < table.getColumnCount( ) )
				{
					IColumn column = table.getColumn( columnId );
					columnStyle = column.getStyle( );
				}
			}
		}
		cell = elt;
	}
	protected Value resolveProperty( int index )
	{
		CSSStylableElement parent = (CSSStylableElement) cell.getParent( );
		IStyle pcs = null;
		if ( parent != null )
		{
			pcs = parent.getComputedStyle( );
		}