hasNext = pageLM.layout( ); }
pageLM.layout( ); finished = pageLM.isFinished( ); } while ( !finished );
	public void layout( IReportExecutor executor, IContentEmitter emitter )	{		this.executor = executor;		IReportContent report = executor.execute( );		if ( emitter != null )		{			emitter.start( report );		}		context.setFinish(  false );		HTMLPageLM pageLM = new HTMLPageLM( this, report, executor, emitter );		boolean hasNext = pageLM.layout( );		while ( hasNext )		{			hasNext = pageLM.layout( );		}		pageLM.close( );		if ( emitter != null )		{			emitter.end( report );		}		context.setFinish(  true );		if ( pageHandler != null )		{			pageHandler.onPage( context.getPageNumber( ), context );		}		executor.close( );	}