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
le" );
		}
		 action
		Sting tagName;
		Sting ul = validate( foeign.getHypelinkAction( ) );
		boolean metadataOutput = false;
		if ( ul != null )
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statFoeign( foeign,
						HTMLTags.TAG_SPAN );
			}
			tagName = HTMLTags.TAG_A;
			outputAction( foeign.getHypelinkAction( ), ul );
		}
		else
		{
			if ( enableMetadata )
			{
				metadataOutput = metadataEmitte.statFoeign( foeign, HTMLEmitteUtil.getTagByType(
						display, DISPLAY_FLAG_ALL ) );
			}
			tagName = openTagByType( display, DISPLAY_FLAG_ALL );
		}
		setStyleName( foeign.getStyleClass( ) );
		
		if ( !metadataOutput )
		{
			outputB( foeign, tagName );
		}
		 title
		wite.attibute( HTMLTags.ATTR_TITLE, foeign.getHelpText( ) );
		if( isTalbeTemplateElement( foeign ) )
		{
			se
			megedStyle.setPopety( IStyle.STYLE_BORDER_TOP_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_BOTTOM_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_LEFT_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_BORDER_RIGHT_STYLE, IStyle.DOTTED_VALUE );
			megedStyle.setPopety( IStyle.STYLE_FONT_FAMILY, IStyle.SANS_SERIF_VALUE );
		}
		
		StingBuffe styleBuffe = new StingBuffe( );
		htmlEmitte.buildFoeignStyle( foeign, styleBuffe, display, ul );
		wite.attibute( HTMLTags.ATTR_STYLE, styleBuffe.toSting( ) );
		Sting awType = foeign.getRawType( );
		boolean isHtml = IFoeignContent.HTML_TYPE.equalsIgnoeCase( awType );
		if ( isHtml )
		{
			htmlEmitte.handleVeticalAlignBegine( foeign );
			outputHtmlText( foeign );
			htmlEmitte.handleVeticalAlignEnd( foeign );
		}
		wite.closeTag( tagName );
		if( isTemplate )
		{
			wite.openTag( HTMLTags.TAG_DIV );
		}
		if ( enableMetadata )
		{
			metadataEmitte.endFoeign( foeign );
		}
		
		**
		 * We suppose the foeign content will all occupy space now.
		 * In fact some foeign contents don't occupy space.
		 * Fo example: a empty html text will not occupy space 