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/MetadataEmitter.java
{
		writer.closeTag( HTMLEmitterUtil.getTagByType( display, blockType ) );
	}
	private void startContent( IContent content, String tag, String styleName )
	{
		tagStack.push( tag );
		writer.openTag( tag );
		if ( content.getBookmark( ) == null )
		{
			content.setBookmark( idGenerator.generateUniqueID( ) );
		}
		writer.attribute( HTMLTags.ATTR_CLASS, styleName ); 
		setActiveIDTypeIID( content );
		HTMLEmitterUtil.setBookmark( writer, tag, content.getBookmark( ) );
	}
	private void endContent( IContent content )
	{
		writer.closeTag( (String) tagStack.pop( ) );
	}
	/**
	 * A TextContent needs metadata when it's a :
	 * <li>label item.
	 * <li>template item.
	 * <li>data item in table header/footer or table group header/footer and
	 * using the query extended from the table.
	 * 
	 * @param text
	 *            the text content.
	 * @return true if and only if the metadata of the content needs to be
	 *         output.