Bug 192119 Line break inside label/data is ignored in Excel emitter[1203]
Description: Line break inside label/data is ignored in Excel Build number:2.2.0.v20070612 Steps to reproduce: 1. Insert a data item, input expression as: "the first line"+"\n\r"+ "\n"+"second line"+"\n"+"third line" 2. Insert a label item, input label, press ctrl+enter twice to add two blank line in label, then input end in third line. 3. Preview in xls prototype. Expected result: Display line break effect. Actual result: Data item content display in one line. Label item content display in one line. Error log:N/A
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelWriter.java
writer.openTag( "Interior" );
			writer.attribute( "ss:Color", bgColor );
			writer.attribute( "ss:Pattern", "Solid" );
			writer.closeTag( "Interior" );
		}
	}
	private boolean isValid( String value )
	{
		return StyleConstant.NULL != value;
	}
	private void declareStyle( StyleEntry style, int id )
	{
		writer.openTag( "Style" );
		writer.attribute( "ss:ID", id );
		String horizontalAlign = style.getProperty( StyleConstant.H_ALIGN_PROP );
		String verticalAlign = style.getProperty( StyleConstant.V_ALIGN_PROP );
		writeAlignment( horizontalAlign, verticalAlign );
		writer.openTag( "Borders" );
		String bottomColor = style
				.getProperty( StyleConstant.BORDER_BOTTOM_COLOR_PROP );
		String bottomLineStyle = style
				.getProperty( StyleConstant.BORDER_BOTTOM_STYLE_PROP );
		String bottomWeight = style
				.getProperty( StyleConstant.BORDER_BOTTOM_WIDTH_PROP );
		writeBorder( "Bottom", bottomLineStyle, bottomWeight, bottomColor );
		String topColor = style
				.getProperty( StyleConstant.BORDER_TOP_COLOR_PROP );
		String topLineStyle = style
				.getProperty( StyleConstant.BORDER_TOP_STYLE_PROP );
		String topWeight = style