setupNamedExpressions( handle.getUserProperties(),
setupNamedExpressions( handle,
	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( );						setupNamedExpressions( handle.getUserProperties(), 				report.getNamedExpressions( ) );				// INCLUDE LIBRARY		// INCLUDE SCRIPT		// CODE MODULES		// Sets the report default style		StyleHandle defaultStyle = handle.findStyle( "report" );//$NON-NLS-1$		createReportDefaultStyles( defaultStyle );		// TODO: add report style		// report.addStyle( );		// 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 ) );			if ( 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 ) );			if ( currentElement != null )			{				report.addContent( (ReportItemDesign) currentElement );			}		}		// SCRATCH-PAD		// CONFIG-VARS		// TRANSLATIONS		// IMAGES		// CUSTOM	}