Bug 121687 Exception throws when export data in table which inside a grid cell.
Description: Exception throws when export data in table which inside a grid cell. Steps to reproduce: 1. insert a grid. 2. insert one table to one grid cell. 3. insert another table to the other grid cell. 4. export data in two tables. Expected result: Data are exported. Actual result: Exception in: ReportEngineService.getMetaData( )
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
report.setDefaultStyle( nonInheritableReportStyle );
		}
	}
	/**
	 * Creates the content style for master page.
	 * 
	 * @param design
	 *            the master page design
	 * @return the content style
	 */
	protected StyleDeclaration setupContentStyle( MasterPageDesign design )
	{
		String styleName = design.getStyleName( );
		IStyle style = report.findStyle( styleName );
		if ( style == null || style.isEmpty( ) )
		{
			return null;
		}
		StyleDeclaration contentStyle = new StyleDeclaration( cssEngine );
		contentStyle.setProperty( IStyle.STYLE_BACKGROUND_COLOR, style
				.getProperty( IStyle.STYLE_BACKGROUND_COLOR ) );
		contentStyle.setProperty( IStyle.STYLE_BACKGROUND_IMAGE, style
				.getProperty( IStyle.STYLE_BACKGROUND_IMAGE ) );
		contentStyle.setProperty( IStyle.STYLE_BACKGROUND_POSITION_Y, style
				.getProperty( IStyle.STYLE_BACKGROUND_POSITION_Y ) );
		contentStyle.setProperty( IStyle.STYLE_BACKGROUND_REPEAT, style
				.getProperty( IStyle.STYLE_BACKGROUND_REPEAT ) );
		return contentStyle;
	}
}