Bug 198221 Different master page when export report current page to different format.[05]
Description: Different master page when export report current page to different format. Build number:2.2.1.v200707270630 Steps to reproduce: 1. Preview attached report in Web Viewer. (the report uses multiple master page) 2. Jump to the third page. 3. Export report, select current page, select different formats. Expected result: All formats apply the same master page for the third page. Actual result: In pdf/ps, Master page content is page number in page header. In word/ppt, Master page content is current date in page footer. Error log:n/a
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLAbstractLM.java
{
		this.parent = parent;
		this.content = content;
		this.executor = executor;
		this.emitter = emitter;
		this.status = STATUS_INTIALIZE;
		this.allowPageBreak = null;
	}
	public HTMLAbstractLM getParent( )
	{
		return parent;
	}
	protected abstract void start( boolean isFirst );
	protected abstract void end( boolean finished );
	/**
	 * layout the content and its children.
	 * 
	 * It can be called in three status: 1. start, the first time it is called,
	 * in this status, it first check if it need page-break-before,
	 * 
	 * 2. inprogress, the second or more time it is called. In this status, it
	 * tries to layout the content and its children to the current page.
	 * 
	 * 3. end, the last time it is called. In this status, it means all the
	 * content has been layout, it is the time to handle the page-break-after.
	 */
	public boolean layout( )
	{
		switch ( status )
		{