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
 ( !"baseline".equals( verticalAlign ) && height != null )
		{
			 i
			writer.openTag( HTMLTags.TAG_TABLE );
			writer.attribute( HTMLTags.ATTR_STYLE, " w:100%; height:100%;" );
			writer.openTag( HTMLTags.TAG_TR );
			writer.openTag( HTMLTags.TAG_TD );
			StringBuffer textStyleBuffer = new StringBuffer( );
			textStyleBuffer.append( " vertical-align:" );
			textStyleBuffer.append( verticalAlign );
			textStyleBuffer.append( ";" );
			writer.attribute( HTMLTags.ATTR_STYLE, textStyleBuffer );
			writer.text( textValue );
			writer.closeTag( HTMLTags.TAG_TD );
			writer.closeTag( HTMLTags.TAG_TR );
			writer.closeTag( HTMLTags.TAG_TABLE );
		}
		else
		{
			writer.text( textValue );
		}
		
		writer.closeTag( tagName );
		if ( enableMetadata )
		{
			metadataEmitter.endText( text );
		}
		cellFilled = true;
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startForeign(org.eclipse.birt.report.engine.content.IForeignContent)
	 *
	public void startForeign( IForeignContent foreign )
	{
		IStyle mergedStyle = foreign.getStyle( );
		if ( peek( mergedStyle ) )
		{
			return;
		}
		logger.log( Level.FINE, "[HTMLReportEmitter] Start foreign" ); 
		resizeTemplateElement( foreign);
		
		StringBuffer styleBuffer = new StringBuffer( );
		DimensionType x = foreign.getX( );
		DimensionType y = foreign.getY( );
		DimensionType w = foreign.getW( );
		DimensionType height = foreign.getHeight( );
		int display;
		display = checkElementType( x, y, w, height, mergedStyle,
				styleBuffer );
		 create default b if we need output metadata
		if ( foreign.getGenerateBy( ) instanceof TemplateDesign )
		{
			FI
			String b = foreign.getB( );
			if ( b == null )
			{
				b = idGenerator.generateUniqueID( );
				foreign.setB( b );
			}
		}
		 action
		String tagName;
		String url = validate( foreign.getHyperlinkAction( ) );
		boolean metadataOutput = false;
		if ( url != null )
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitter.start