Bug 167527 Label text does not display correctly [0302]
Description: Label text does not display correctly. Build number: 2.2.0.v20061211-0630 Steps to reproduce: 1. Insert a label item. 2. Define highlight rule for it, choose font color red. 3. Input this.text=this.getHighlightRules()[0].color in onPrepare method of label item. 4. Preview Expected result: The label should display "red". Actual result: The label display "16711680". Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/ICell.java
package org.eclipse.birt.report.engine.api.script.element;
import org.eclipse.birt.report.engine.api.script.ScriptException;
/**
 * Represents a the design of a Cell in the scripting environment
 * 
 */
public interface ICell extends IReportElement
{
	/**
	 * Returns the cell's column span. This is the number of table or grid
	 * columns occupied by this cell.
	 * 
	 * @return the column span
	 */
	int getColumnSpan( );
	/**
	 * Returns the cell's row span. This is the number of table or grid rows
	 * occupied by this cell.
	 * 
	 * @return the row span
	 */
	int getRowSpan( );
	
	/**
	 * Returns the cell's drop property. This is how the cell should expand to
	 * fill the entire table or group. This property is valid only for cells
	 * within a table; but not for cells within a grid.
	 *