diff --git a/engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/ExcelLayoutEngine.java b/engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/ExcelLayoutEngine.java index aa81cc2791..60a0747b23 100644 --- a/engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/ExcelLayoutEngine.java +++ b/engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/ExcelLayoutEngine.java @@ -40,6 +40,7 @@ import org.eclipse.birt.report.engine.content.IReportContent; import org.eclipse.birt.report.engine.content.IStyle; import org.eclipse.birt.report.engine.content.ITableContent; +import org.eclipse.birt.report.engine.css.engine.value.css.CSSConstants; import org.eclipse.birt.report.engine.emitter.EmitterUtil; import org.eclipse.birt.report.engine.emitter.excel.BookmarkDef; import org.eclipse.birt.report.engine.emitter.excel.Data; @@ -377,7 +378,7 @@ public void addCell(ICellContent cellcontent, int col, int colSpan, int rowSpan, } int diagonalNumber = cellcontent.getDiagonalNumber(); StyleEntry cellStyleEntry = null; - if (diagonalNumber != 0) { + if (diagonalNumber != 0 && !style.getDiagonalStyle().equalsIgnoreCase(CSSConstants.CSS_NONE_VALUE)) { String diagonalColor = cellcontent.getDiagonalColor(); String diagonalStyle = cellcontent.getDiagonalStyle(); int diagonalWidth = PropertyUtil.getDimensionValue(cellcontent, cellcontent.getDiagonalWidth(),