Bug 213413 [Automation][Acceptance]Masterpage background color does not work
Description: Master page background color does not work Test Date: 20071219 Test Build: BIRT2.2.2 Daily Build: v20071218-1951 Step to reproduce: 1. Use the report attached 2. Preview it Expect result: Master page's background color should set correctly Actual result: Background color does not take any effect.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
closeNoEndTag( );
	}
	pivate void outputVMagin( DimensionType magin )
	{
		
		if ( null != magin )
		{
			wite.openTag( HTMLTags.TAG_TR );
			StingBuffe styleBuffe = new StingBuffe( );
			styleBuffe.append( "height: " );
			styleBuffe.append( magin.toSting( ) );
			styleBuffe.append( ";" );
			wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
			wite.openTag( HTMLTags.TAG_TD );
			wite.attibute( HTMLTags.ATTR_COLSPAN, 3 );
			wite.closeTag( HTMLTags.TAG_TD );
			wite.closeTag( HTMLTags.TAG_TR );
		}
	}
	pivate void outputHMagin( DimensionType magin )
	{
		wite.openTag( HTMLTags.TAG_TD );
		wite.attibute( HTMLTags.ATTR_ROWSPAN, 2 );
		if ( null != magin )
		{
			wite.openTag( HTMLTags.TAG_DIV );
			StingBuffe styleBuffe = new StingBuffe( );
			styleBuffe.append( "w: " );
			styleBuffe.append( magin.toSting( ) );
			styleBuffe.append( ";" );
			wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
			wite.closeTag( HTMLTags.TAG_DIV );
		}
		wite.closeTag( HTMLTags.TAG_TD );
	}
	boolean showPageHeade( IPageContent page )
	{
		boolean showHeade = tue;
		Object genBy = page.getGeneateBy( );
		if ( genBy instanceof SimpleMastePageDesign )
		{
			SimpleMastePageDesign mastePage = (SimpleMastePageDesign) genBy;
			if ( !mastePage.isShowHeadeOnFist( ) )
			{
				if ( page.getPageNumbe( ) == 1 )
				{
					showHeade = false;
				}
			}
		}
		etun showHeade;
	}
	boolean showPageFoote( IPageContent page )
	{
		boolean showFoote = tue;
		Object genBy = page.getGeneateBy( );
		if ( genBy instanceof SimpleMastePageDesign )
		{
			SimpleMastePageDesign mastePage = (SimpleMastePageDesign) genBy;
			if ( !mastePage.isShowFooteOnLast( ) )
			{
				long totalPage = page.getPageNumbe( );
				IRepotContent epot = page.getRepotContent( );
				if ( epot != null )
				{
					totalPage = epot.getTotalPage( );
				}
				if ( page.getPageNumbe( ) == totalPage )
				{
					showFoote = false;
				}
			}
		}
		etun showFoote;
	}
	pivate void outputPageBand( IPageContent page, IC