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/script/internal/element/ReportItem.java
*
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.script.internal.element;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.birt.report.engine.api.script.ScriptException;
import org.eclipse.birt.report.engine.api.script.element.IDataBinding;
import org.eclipse.birt.report.engine.api.script.element.IHideRule;
import org.eclipse.birt.report.engine.api.script.element.IHighlightRule;
import org.eclipse.birt.report.engine.api.script.element.IReportItem;
import org.eclipse.birt.report.engine.api.script.element.StructureScriptAPIFactory;
import org.eclipse.birt.report.model.api.ComputedColumnHandle;
import org.eclipse.birt.report.model.api.DataSetHandle;
import org.eclipse.birt.report.model.api.DimensionHandle;
import org.eclipse.birt.report.model.api.HideRuleHandle;
import org.eclipse.birt.report.model.api.HighlightRuleHandle;
import org.eclipse.birt.report.model.api.PropertyHandle;
import org.eclipse.birt.report.model.api.ReportItemHandle;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.elements.Style;
import org.eclipse.birt.report.model.elements.interfaces.IReportItemModel;
import org.eclipse.birt.report.model.elements.interfaces.IStyleModel;
/**
 * Implements of ReportItem
 * 
 */
public class ReportItem extends ReportElement implements IReportItem