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
 mergedStyle = table.getStyle( );
		push( mergedStyle );
		if ( isHidden( ) )
		{
			return;
		}
		logger.log( Level.FINE, "[HTMLTableEmitter] Start table" ); 
		DimensionType x = table.getX( );
		DimensionType y = table.getY( );
		StringBuffer styleBuffer = new StringBuffer( );
		addDefaultTableStyles( styleBuffer );
		writer.openTag( HTMLTags.TAG_TABLE );
		
		setStyleName( table.getStyleClass( ) );
		int display = checkElementType( x, y, mergedStyle, styleBuffer );
		setDisplayProperty( display, DISPLAY_INLINE, styleBuffer );
		handleShrink( DISPLAY_BLOCK, mergedStyle, table.getHeight( ), table
				.getW( ), styleBuffer );
		handleStyle( table, styleBuffer );
		
		String b = table.getB( );
		if ( b == null )
		{
			b = idGenerator.generateUniqueID( );
			table.setB( b );
		}
		HTMLEmitterUtil.setB( writer, null, b );
		 Add it to active id list, and output type ��iid to html
		HTMLEmitterUtil.setActiveIDTypeIID(writer, ouputInstanceIDs, table);
		 table caption
		String caption = table.getCaption( );
		if ( caption != null && caption.length( ) > 0 )
		{
			writer.openTag( HTMLTags.TAG_CAPTION );
			writer.text( caption );
			writer.closeTag( HTMLTags.TAG_CAPTION );
		}
		 include select handle table
		if ( enableMetadata )
		{
			metadataEmitter.startTable( table );
		}
		writeColumns( table );
	}
	protected void writeColumns( ITableContent table )
	{
		for ( int i = 0; i < table.getColumnCount( ); i++ )
		{
			IColumn column = table.getColumn( i );
			
			if ( isColumnHidden( column ) )
			{
				continue;
			}
			writer.openTag( HTMLTags.TAG_COL );
			setStyleName( column.getStyleClass( ) );
			 w
			StringBuffer styleBuffer = new StringBuffer( );
			AttributeBuilder.buildSize( styleBuffer, HTMLTags.ATTR_WIDTH,
					column.getW( ) );
			if ( isEmbeddable )
			{
				 o
				String styleName = column.getStyleClass( );
				if ( styleName != null )
				{
					IStyle style = report.findStyle( styleName );
					if ( style != null )
					{
						AttributeBuilder.buildSt