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.tests/test/org/eclipse/birt/report/model/api/ElementExporterTest.java
{
		openDesign( "ElementExporterTest.xml" ); 
		openLibrary( "ElementExporterTestLibrary.xml" ); 
		LabelHandle labelHandle = (LabelHandle) designHandle
				.findElement( "labelInMasterPage" ); 
		String libraryDir = getTempFolder( ) + OUTPUT_FOLDER;
		File file = new File( libraryDir );
		if ( !file.exists( ) )
			file.mkdirs( );
		String libraryFile = libraryDir
				+ "ElementExporterTestLibrary_out_10.xml"; 
		file = new File( libraryFile );
		if ( file.exists( ) )
			file.delete( );
		ElementExportUtil.exportElement( labelHandle, libraryFile, false );
		assertTrue( compareFile(
				"ElementExporterTestLibrary_golden_10.xml", "ElementExporterTestLibrary_out_10.xml" ) ); 
	}
	/**
	 * test to export a design handle to a given library file.
	 * 
	 * 
	 * <ul>
	 * <li>1. one sucessful case
	 * <li>2. one design file with template-data-set
	 * <li>3. one design file with template-label that directly resides in body
	 * <li>3. one design file with template-label that resides in the cell slot
	 * </ul>
	 * 
	 * @throws Exception