Bug 123388 Set html text, preivew in pdf, incorrectly.
Html text, preivew in pdf, incorrectly. Steps: 1.Drag a text into layout 2.Edit the text: <html>Our records indicate that several invoices are now past due. Below is a listing of outstanding invoices tatalling. Please let us know when we can expect receipt of these or if you have question or concerns. For a direct line call 604-893-6310. <br> <br> <br> Sincerely, <br> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mark Elroy <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CEO, Xtreme Mountain Bikes <html> 3.Preview in pdf Actual Results: 1.Mutli <BR> only displyed one line. Expected Results: 1.Text can be displyed correctly in pdf.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
else if ( DesignChoiceConstants.PARAM_CONTROL_LIST_BOX
				.equals( controlType ) )
			scalarParameter.setControlType( IScalarParameterDefn.LIST_BOX );
		else if ( DesignChoiceConstants.PARAM_CONTROL_RADIO_BUTTON
				.equals( controlType ) )
			scalarParameter.setControlType( IScalarParameterDefn.RADIO_BUTTON );
		else
			scalarParameter.setControlType( IScalarParameterDefn.TEXT_BOX );
		scalarParameter.setDefaultValue( handle.getDefaultValue( ) );
		scalarParameter.setDisplayName( handle.getDisplayName( ) );
		scalarParameter.setDisplayNameKey( handle.getDisplayNameKey( ) );
		scalarParameter.setFormat( handle.getFormat( ) );
		scalarParameter.setHelpText( handle.getHelpText( ) );
		scalarParameter.setHelpTextKey( handle.getHelpTextKey( ) );
		scalarParameter.setIsHidden( handle.isHidden( ) );
		scalarParameter.setName( handle.getName( ) );
		String valueType = handle.getDataType( );
		if ( DesignChoiceConstants.PARAM_TYPE_BOOLEAN.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_BOOLEAN );
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_DATE_TIME );
		else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_DECIMAL );
		else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_FLOAT );
		else if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( valueType ) )
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_STRING );
		else
			scalarParameter.setDataType( IScalarParameterDefn.TYPE_ANY );
		ArrayList values = new ArrayList( );