Bug 204215 Background color for xtab doesn't cover the whole area in xls.[1102][1203]
Description: Background color for xtab doesn't cover the whole area in xls. Build number:2.2.1.v20070920 Steps to reproduce: 1. Preview attached report in xls Expected result: Background color covers whole area. Actual result: Several places are filled with white background color. Error log:n/a
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/Data.java
}
    
	protected void setNotTxtData( )
	{
		this.isTxtData = false;
	}
    
	public String getText()
    {
       if (txt == null) 
       {
          return " "; 
       }
       else if (datatype.equals( Data.DATE )) 
       { 
    	  return ExcelUtil.formatDate( txt );
       }
       else if(datatype.equals(Data.NUMBER) && txt.toString( ).length( ) > 31)
       {
    	  return ExcelUtil.formatNumber(txt);    
       }
       else
       {
    	   return txt.toString( );
       }
    }
	
	public int hashCode( )
	{
		return id;