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/data/dte/QueryResultSet.java
IQueryResults rsets ) throws BirtException
	{
		assert parent != null;
		this.parent = parent;
		this.id = new DataSetID( rsets.getID( ) );
		this.context = context;
		this.dataEngine = dataEngine;
		this.queryDefn = queryDefn;
		this.rs = rsets.getResultIterator( );
		this.queryResults = rsets;
		this.queryResultsID = rsets.getID( );
		initializeRowIdOfGroups( getGroupCount( ) );
	}
	
	public QueryResultSet( QueryResultSet parent,
			ISubqueryDefinition queryDefn, IResultIterator ri ) 
	{
		assert parent != null;
		assert queryDefn != null;
		this.parent = parent;
		
		this.id = new DataSetID( parent.getID( ), parent.getRowIndex( ),
				queryDefn.getName( ) );
		this.context = parent.context;
		this.dataEngine = parent.dataEngine;
		this.queryDefn = queryDefn;
		this.rs = ri;
		this.queryResults = this.rs.getQueryResults( );
		this.queryResultsID = "S" + queryDefn.getName( ) + queryResults.getID( );
		initializeRowIdOfGroups( queryDefn.getGroups( ).size( ) );