ReportItemDesign item = masterPage.getHeader( i );
ReportItemDesign item = masterPage.getHeader( j );
		public void link( )		{			report.setReportDesign( handle );			// link the master pages			PageSetupDesign pageSetup = report.getPageSetup( );			int masterPageCount = pageSetup.getMasterPageCount( );			for ( int i = 0; i < masterPageCount; i++ )			{				SimpleMasterPageDesign masterPage = (SimpleMasterPageDesign) pageSetup						.getMasterPage( i );				linkReportElement( masterPage );				int count = masterPage.getHeaderCount( );				for ( int j = 0; j < count; j++ )				{					ReportItemDesign item = masterPage.getHeader( i );					item.accept( this, null );				}				count = masterPage.getFooterCount( );				for ( int j = 0; j < count; j++ )				{					ReportItemDesign item = masterPage.getFooter( i );					item.accept( this, null );				}			}			// link the body contents			int count = report.getContentCount( );			for ( int i = 0; i < count; i++ )			{				ReportItemDesign item = report.getContent( i );				item.accept( this, null );			}		}