Bug 199862 Master page should not an inheritable property [05]
Description: Master page should not an inheritable property. Build number: 2.2.1.v20070814-0630 Steps to reproduce: 1. New a table with a label in one cell. 2. Select "Simple MasterPage" for "Master Page" of table in Property Editor. Expected result: "Master Page" of label in Property editor should be "None". Actual result: "Master Page" of label in Property is "Simple MasterPage". Error log: N/A
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
property( obj, IReportItemModel.CUBE_PROP );
		property( obj, IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP );
		property( obj, IReportItemModel.DATA_BINDING_REF_PROP );
		writeStructureList( obj, IReportItemModel.VISIBILITY_PROP );
		writeStructureList( obj, IReportItemModel.PARAM_BINDINGS_PROP );
		writeStructureList( obj, IReportItemModel.BOUND_DATA_COLUMNS_PROP );
		property( obj, IReportItemModel.BOOKMARK_PROP );
		writeStructure( obj, IReportItemModel.TOC_PROP );
		property( obj, IReportItemModel.ON_PREPARE_METHOD );
		property( obj, IReportItemModel.ON_CREATE_METHOD );
		property( obj, IReportItemModel.ON_RENDER_METHOD );
		property( obj, IReportItemModel.ON_PAGE_BREAK_METHOD );
		writeOverridenPropertyValues( obj );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitMasterPage(org.eclipse.birt.report.model.elements.MasterPage)
	 */
	public void visitMasterPage( MasterPage obj )
	{
		super.visitMasterPage( obj );
		property( obj, IMasterPageModel.TYPE_PROP );
		
		String type = (String) obj.getLocalProperty( getModule( ),
				IMasterPageModel.TYPE_PROP );
		if ( DesignChoiceConstants.PAGE_SIZE_CUSTOM.equalsIgnoreCase( type ) )
		{
			property( obj, IMasterPageModel.HEIGHT_PROP );
			property( obj, IMasterPageModel.WIDTH_PROP );