Bug 122306 TOC on group won't be displayed
Description: TOC on group won't be displayed Steps to reproduce: 1.Add a sample datasource and a data with table "CUSTOMERS" 2.Add a table binding with data set 3.Add a group on the table and set the toc expression to "Group" 4.Preview in HTML Expected result: TOC "Group" will be displayed on the TOC pane Actual result: Nothing in the TOC pane
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
setupStyledElement( page, handle );
		page.setContentStyle( setupContentStyle( page ) );
		page.setPageType( handle.getPageType( ) );
		
		DimensionValue effectWidth = handle.getEffectiveWidth( );
		DimensionValue effectHeight = handle.getEffectiveHeight( );
		DimensionType width = null;
		DimensionType height = null;
		if ( effectWidth != null )
		{
			width = new DimensionType( effectWidth.getMeasure( ), effectWidth
					.getUnits( ) );
		}
		if ( effectHeight != null )
		{
			height = new DimensionType( effectHeight.getMeasure( ),
					effectHeight.getUnits( ) );
		}
		page.setPageSize( width, height );
		page.setOrientation( handle.getOrientation( ) );
		
		DimensionType top = createDimension( handle.getTopMargin( ) );
		DimensionType left = createDimension( handle.getLeftMargin( ) );
		DimensionType bottom = createDimension( handle.getBottomMargin( ) );
		DimensionType right = createDimension( handle.getRightMargin( ) );
		page.setMargin( top, left, bottom, right );
	}
	protected void visitDesignElement( DesignElementHandle obj )
	{