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
is block, inline or inline-block level. In
	 * BIRT, the absolute positioning model is used and a box is explicitly
	 * offset with respect to its containing block. When an element's x or y is
	 * set, it will be treated as a block level element regardless of the
	 * 'Display' property set in style. When designating w or height value
	 * to an inline element, it will be treated as inline-block.
	 * 
	 * @param x
	 *            Specifies how far a box's left margin edge is offset to the
	 *            right of the left edge of the box's containing block.
	 * @param y
	 *            Specifies how far an absolutely positioned box's top margin
	 *            edge is offset below the top edge of the box's containing
	 *            block.
	 * @param w
	 *            The w of the element.
	 * @param height
	 *            The height of the element.
	 * @param style
	 *            The <code>IStyle<code> object.
	 * @param styleBuffer
	 *            The <code>StringBuffer<code> object that returns 'style'
	 *            content.
	 * @return The display type of the element.
	 *
	protected int checkElementType( DimensionType x, DimensionType y,
			IStyle style, StringBuffer styleBuffer )
	{
		return checkElementType( x, y, null, null, style, styleBuffer );
	}
	protected int checkElementType( DimensionType x, DimensionType y,
			DimensionType w, DimensionType height, IStyle style,
			StringBuffer styleBuffer )
	{
		if ( x != null || y != null )
		{
			styleBuffer.append( "position: absolute;" ); 
			AttributeBuilder.buildSize( styleBuffer, HTMLTags.ATTR_LEFT, x );
			AttributeBuilder.buildSize( styleBuffer, HTMLTags.ATTR_LEFT, y );
		}
		return getElementType( x, y, w, height, style);
	}
	public int getElementType( DimensionType x, DimensionType y,
			DimensionType w, DimensionType height, IStyle style )
	{
		int type = 0;
		String display = null;
		if ( style != null )
		{
			display = style.getDisplay( );
		}
		if ( EngineIRConstants.DISPLAY_NONE.equalsIgnoreCase( display ) )
