Bug 164074 Height property of label has no effect in PDF [0300]
Description: Height property of label has no effect in PDF Build number: 2.2.0.v20061110-0630 Step to reproduce: 1. inset a label in the report 2. set its Height properties 1in in property view 3. set a background color to the label 3. preview it in PDF and web viewer Actual result: Height property of label has no effect in PDF. Expected result: It can work.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
ldCellRowBorder( styleBuffer, HTMLTags.ATTR_BORDER_LEFT,
						cellStyle.getBorderLeftW( ), cellStyle.getBorderLeftStyle( ),
						cellStyle.getBorderLeftColor( ), 0, null, null, null, 0 );
			}
			
		}
			
		 o
		writer.attribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
	}
	
	**
	 * Get the border w from a style. It don't support '%'.
	 * @param style
	 * @param borderNum
	 * @return
	 *
	private int getBorderWValue( IStyle style, int borderNum )
	{
		if( null == style )
		{
			return 0;
		}
		if( IStyle.STYLE_BORDER_TOP_WIDTH != borderNum
				&& IStyle.STYLE_BORDER_RIGHT_WIDTH != borderNum 
				&& IStyle.STYLE_BORDER_BOTTOM_WIDTH != borderNum 
				&& IStyle.STYLE_BORDER_LEFT_WIDTH != borderNum )
		{
			return 0;
		}
		CSSValue value = style.getProperty( borderNum );
		if ( value != null && ( value instanceof FloatValue ) )
		{
			FloatValue fv = (FloatValue) value;
			float v = fv.getFloatValue( );
			switch ( fv.getPrimitiveType( ) )
			{
				case CSSPrimitiveValue.CSS_CM :
					return (int) ( v * 72000  2.54 );
				case CSSPrimitiveValue.CSS_IN :
					return (int) ( v * 72000 );
				case CSSPrimitiveValue.CSS_MM :
					return (int) ( v * 7200  2.54 );
				case CSSPrimitiveValue.CSS_PT :
					return (int) ( v * 1000 );
				case CSSPrimitiveValue.CSS_NUMBER :
					return (int) v;
			}
		}
		return 0;
	}
	
	**
	 * Treat the conflict of cell border and row border
	 * @param content
	 * @param borderName
	 * @param cellBorderW
	 * @param cellBorderStyle
	 * @param cellBorderColor
	 * @param cellWValue
	 * @param rowBorderW
	 * @param rowBorderStyle
	 * @param rowBorderColor
	 * @param rowWValue
	 *
	private void buildCellRowBorder( StringBuffer content, String borderName,
			String cellBorderW, String cellBorderStyle, String cellBorderColor, int cellWValue,
			String rowBorderW, String rowBorderStyle, String rowBorderColor, int rowWValue)
	{
		boolean bUseCellBorder = true;true means choose cell's border; false means choose row's border 
		if( null == rowBord