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
package org.eclipse.birt.report.engine.emitter.excel;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.eclipse.birt.report.engine.content.IHyperlinkAction;
import org.eclipse.birt.report.engine.emitter.XMLWriter;
public class ExcelWriter