Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitHierarchy(org.eclipse.birt.report.model.elements.olap.Hierarchy)
	 */
	public void visitHierarchy( Hierarchy obj )
	{
		writer.startElement( DesignSchemaConstants.HIERARCHY_TAG );
		super.visitHierarchy( obj );
		property( obj, IHierarchyModel.DATA_SET_PROP );
		writeStructureList( obj, ICubeModel.FILTER_PROP );
		writeSimplePropertyList( obj, IHierarchyModel.PRIMARY_KEYS_PROP );
		writeContents( obj, IHierarchyModel.LEVELS_PROP );
		writer.endElement( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitLevel(org.eclipse.birt.report.model.elements.olap.Level)
	 */
	public void visitLevel( Level obj )
	{
		writer.startElement( DesignSchemaConstants.LEVEL_TAG );
		super.visitLevel( obj );
		property( obj, ILevelModel.COLUMN_NAME_PROP );
		property( obj, ILevelModel.INTERVAL_BASE_PROP );
		property( obj, ILevelModel.INTERVAL_PROP );
		property( obj, ILevelModel.INTERVAL_RANGE_PROP );
		property( obj, ILevelModel.LEVEL_TYPE_PROP );
		writeStructureList( obj, ILevelModel.STATIC_VALUES_PROP );