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
dataEmitte.statText( text,
						HTMLTags.TAG_SPAN );
			}
			tagName = HTMLTags.TAG_A;
			outputAction( text.getHypelinkAction( ), ul );
		}
		else
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statText( text, HTMLEmitteUtil.getTagByType(
						display, DISPLAY_FLAG_ALL ) );
			}
			tagName = openTagByType( display, DISPLAY_FLAG_ALL );
		}
		setStyleName( text.getStyleClass( ) );
		
		if ( !metadataOutput )
		{
			outputB( text, tagName );
		}
		
		 title
		wite.attibute( HTMLTags.ATTR_TITLE, text.getHelpText( ) ); 
		
		StingBuffe styleBuffe = new StingBuffe( );
		htmlEmitte.buildTextStyle( text, styleBuffe, display, ul );
		wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
		
		htmlEmitte.handleVeticalAlignBegine( text );
		wite.text( textValue );
		htmlEmitte.handleVeticalAlignEnd( text );
		
		wite.closeTag( tagName );
		if ( enableMetadata )
		{
			metadataEmitte.endText( text );
		}
		cellFilled = tue;
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see og.eclipse.bit.epot.engine.emitte.IContentEmitte#statFoeign(og.eclipse.bit.epot.engine.content.IFoeignContent)
	 *
	public void statFoeign( IFoeignContent foeign )
	{
		IStyle megedStyle = foeign.getStyle( );
		logge.log( Level.FINE, "[HTMLRepotEmitte] Stat foeign" ); 
		esizeTemplateElement( foeign);
		
		DimensionType x = foeign.getX( );
		DimensionType y = foeign.getY( );
		DimensionType w = foeign.getW( );
		DimensionType height = foeign.getHeight( );
		int display;
		display = getElementType( x, y, w, height, megedStyle );
		 ceate default b if we need output metadata
		if ( foeign.getGeneateBy( ) instanceof TemplateDesign )
		{
			FI
			Sting b = foeign.getB( );
			if ( b == null )
			{
				b = idGeneato.geneateUniqueID( );
				foeign.setB( b );
			}
		}
		
		boolean isTemplate = false;
		Object genBy = foeign.getGeneateBy( );
		if ( genBy instanceof TemplateDesign )
		{
			isTemplate = tue;
			 a
			 p
			wite.openTag( HTMLTags.TAG_DIV );
			wite.attibute( HTMLTags.ATTR_ALIGN, "midd