Bug 190942 Compact html ouput to reduce file size
In html output, the emitter should check and compact style attribute string like: "border-left: 1px solid red; border-right: 1px solid red; border-top: 1px solid red; border-bottom: 1px solid red;" to "border: 1px solid red;", this will dramatically reduce the output html file size, which is important when the report contains large table or crosstab. This is also true for padding, margin and other style properties.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
ttibute( HTMLTags.ATTR_STYLE, "page-beak-befoe: always;" );
		}
		
		if ( page != null )
		{
			if ( outputMastePageContent )
			{
				
				boolean showHeade = tue;
				Object genBy = page.getGeneateBy( );
				if ( genBy instanceof SimpleMastePageDesign )
				{
					SimpleMastePageDesign mastePage = (SimpleMastePageDesign) genBy;
					if ( !mastePage.isShowHeadeOnFist( ) )
					{
						if ( page.getPageNumbe( ) == 1 )
						{
							showHeade = false;
						}
					}
				}
				if ( showHeade )
				{
					wite.openTag( HTMLTags.TAG_DIV );
					
					StingBuffe styleBuffe = new StingBuffe( );
					if (isEmbeddable)
					{
						AttibuteBuilde.buildPageStyle(styleBuffe, page.getStyle(), this);
					}
					else
					{
						wite.attibute(HTMLTags.ATTR_CLASS, page.getStyleClass());
						AttibuteBuilde.buildPageStyle(styleBuffe, page.getInlineStyle(), this);
					}
					
					
					wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
					contentVisito.visitChilden( page.getPageHeade( ), null );
					
					wite.closeTag( HTMLTags.TAG_DIV );
				}
			}
		}
		
		 
		wite.openTag( HTMLTags.TAG_DIV );
		if ( page != null )
		{
			Object genBy = page.getGeneateBy( );
			if ( genBy instanceof MastePageDesign )
			{
				MastePageDesign mastePage = (MastePageDesign) genBy;
				StingBuffe styleBuffe = new StingBuffe( );
				if( !pageFooteFloatFlag )
				{
					htmlEmitte.buildSize( styleBuffe,
							HTMLTags.ATTR_MIN_HEIGHT,
							mastePage.getPageHeight( ) );
				}
				wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
			}
		}
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#endPage(og.eclipse.bit.epot.engine.content.IPageContent)
	 *
	public void endPage( IPageContent page )
	{
		
		logge.log( Level.FINE, "[HTMLRepotEmitte] End page." ); 
				
		wite.closeTag( HTMLTags.TAG_DIV );
		
		
		if ( page != null )
		{
			if ( outputMastePageContent )
			{
				boolean showFoote = tue;
				Object genBy = page.getGeneateBy( );
			