Bug 199834 Enable access to IContent object in IReportItemPresentation layer
In IReportItemPresentation layer, the extended item may want to access properties from current IContent object, for example, bookmark, content style. So we need expose the content object in this layer.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
{
				DesignElementHandle elementHandle = design.getHandle( );
				if ( elementHandle instanceof ReportElementHandle )
				{
					queries = (IBaseQueryDefinition[]) context.getRunnable( )
							.getReportIR( ).getQueryByReportHandle(
									(ReportElementHandle) elementHandle );
				}
			}
			if ( rsets != null && rsets.length > 0 && rsets[0] != null
					&& rsets[0].getType( ) == IBaseResultSet.CUBE_RESULTSET )
			{
				String msg = tagName
						+ " does not support data inheritance inside a crosstab, please bind it to a dataset or move it outside the crosstab.";
				logger.log( Level.SEVERE, msg );
				context.addException( design.getHandle( ), new EngineException(
						msg ) );
			}
			else if ( queries != null )
			{
				if ( rsets != null )
				{
					rowSets = new IRowSet[rsets.length];
					for ( int i = 0; i < rowSets.length; i++ )
					{
						rowSets[i] = new RowSet( context,
									(IQueryResultSet) rsets[i] );
					}
				}
			}