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
}
		//The data item should not have query of itself.
		DataItemDesign data = ( DataItemDesign )generateBy;
		if ( data.getQuery( ) != null )
		{
			aggregatables.put(generateBy, Boolean.FALSE);
			return false;
		}
		IElement parent = text.getParent( );
		while( parent != null )
		{
			// T
			// n
			if ( parent instanceof IContent )
			{
				IContent content = (IContent)parent;
				ReportItemDesign design = ( ReportItemDesign )content.getGenerateBy( );
				if ( design != null && design.getQuery( ) != null )
				{
					aggregatables.put(generateBy, Boolean.FALSE);
					return false;
				}
			}
			// T
			// h
			if ( parent instanceof IBandContent )
			{
				IBandContent bandContent = (IBandContent )parent;
				BandDesign bandDesing = (BandDesign) bandContent
						.getGenerateBy( );