Bug 203204 [Regression] Error occors when preview the attached report design as XLS [1203]
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelWriter.java
{
			return printWriter;
		}
		
		protected String getEscapedStr( String s, boolean whitespace ) {
			s = super.getEscapedStr(s, whitespace);
			
			StringBuffer result = null;
			
			char[] s2char = s.toCharArray( );
			for ( int i = 0, max = s2char.length, delta = 0; i < max; i++ )
			{
				char c = s2char[i];
				String replacement = null;
				
				if ( c == '\n' )
				{
					replacement = "&#10;"; 
				}
				
				if ( replacement != null )
				{
					if ( result == null )
					{
						result = new StringBuffer( s );
					}
					result.replace( i + delta, i + delta + 1, replacement );
					delta += ( replacement.length( ) - 1 );
				}
			}