Bug 151202 [regression]Set default master page to item in cell will cause blank page
Description: Set default master page to item in cell will cause blank page Steps to reproduce: 1. New a report 2. Insert a grid(1*1) 3. Insert a label to grid cell 4. Select the label and set default master page to it 5. Preview in Web Viewer and pdf Expected result: No blank page, just one page for grid display. Actual result: A blank page before grid page
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLAbstractLM.java
protected final static int LAYOUT_MANAGER_LIST_BAND = 7;
	protected final static int LAYOUT_MANAGER_GROUP = 8;
	
	protected final static int STATUS_INTIALIZE = 0;
	protected final static int STATUS_START = 1;
	protected final static int STATUS_INPROGRESS = 2;
	protected final static int STATUS_END = 3;
	protected final static int STATUS_END_WITH_PAGE_BREAK = 4;
	
	protected static Logger logger = Logger.getLogger( HTMLAbstractLM.class
			.getName( ) );
	protected HTMLReportLayoutEngine engine;
	protected HTMLLayoutContext context;
	protected HTMLAbstractLM parent;
	protected IContent content;
	protected IReportItemExecutor executor;
	protected IContentEmitter emitter;
	protected int status = STATUS_INTIALIZE;
	public HTMLAbstractLM( HTMLLayoutManagerFactory factory )
	{
		this.engine = factory.getLayoutEngine( );
		this.context = engine.getContext( );
	}
	public int getType( )
	{
		return LAYOUT_MANAGER_UNKNOW;
	}
	public void initialize( HTMLAbstractLM parent, IContent content,
			IReportItemExecutor executor, IContentEmitter emitter )
	{