StyleHandle reportStyleHandle = handle.findStyle( "report" ); report.setDefaultStyle( createDefaultStyle( reportStyleHandle ) );
	public void visitReportDesign( ReportDesignHandle handle )	{		report.setUnit( handle.getDefaultUnits( ) );		if ( handle.getBase( ) != null && !handle.getBase( ).equals( "" ) ) //$NON-NLS-1$		{			report.setBasePath( handle.getBase( ) );		}		defaultUnit = report.getUnit( );		// INCLUDE LIBRARY		// INCLUDE SCRIPT		// CODE MODULES		// PARAMETERS: Handle parameter definitions		SlotHandle paramSlot = handle.getParameters( );		IParameterDefnBase param;		for ( int i = 0; i < paramSlot.getCount( ); i++ )		{			apply( paramSlot.get( i ) );			assert ( currentElement != null );			param = (IParameterDefnBase) currentElement;			report.addParameter( param );		}		//COLOR-PALETTE		//METHOD		//STYLES		// We needn't handle the style slot, it will be handled for each		// element.		// Handle Master Page		PageSetupDesign pageSetup = new PageSetupDesign( );		SlotHandle pageSlot = handle.getMasterPages( );		for ( int i = 0; i < pageSlot.getCount( ); i++ )		{			apply( pageSlot.get( i ) );			assert ( currentElement != null );			pageSetup.addMasterPage( (MasterPageDesign) currentElement );		}		//FIXME: add page sequence support		// Handle Page Sequence		//		SlotHandle seqSlot = handle.getPageSequences( );		//		for ( int i = 0; i < seqSlot.getCount( ); i++ )		//		{		//			apply( seqSlot.get( i ) );		//			assert ( currentElement != null );		//			pageSetup.addPageSequence( (PageSequenceDesign) currentElement );		//		}		report.setPageSetup( pageSetup );		//COMPONENTS		// Handle Report Body		SlotHandle bodySlot = handle.getBody( );		for ( int i = 0; i < bodySlot.getCount( ); i++ )		{			apply( bodySlot.get( i ) );			assert ( currentElement != null );			report.addContent( (ReportItemDesign) currentElement );		}		//SCRATCH-PAD		//CONFIG-VARS		//TRANSLATIONS		//IMAGES		//CUSTOM	}