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
*            the output stream to which the design is written.
	 * @throws IOException
	 *             if a write error occurs.
	 */
	public void write( OutputStream os ) throws IOException
	{
		
		ModuleOption options = getModule( ).getOptions( );
		if ( options != null )
			markLineNumber = options.markLineNumber( );
		writer = new IndentableXMLWriter( os, getModule( ).getUTFSignature( ),
				markLineNumber );
		writeFile( );
	}
	/**
	 * Implementation method to write the file header and contents.
	 */
	protected final void writeFile( )
	{
		boundColumnsMgr = new BoundColumnsWriterMgr( getModule( )
				.getVersionManager( ).getVersion( ) );
		getModule( ).apply( this );
		getModule( ).getVersionManager( ).setVersion(
				DesignSchemaConstants.REPORT_VERSION );
	}
	/**
	 * Write an XML attribute from an element property.
	 * 
	 * @param obj
	 *            the element that has the property