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
import org.eclipse.birt.data.engine.api.IQueryResults;
import org.eclipse.birt.data.engine.api.IResultIterator;
import org.eclipse.birt.data.engine.api.IResultMetaData;
import org.eclipse.birt.data.engine.api.IScriptExpression;
import org.eclipse.birt.data.engine.api.ISubqueryDefinition;
import org.eclipse.birt.report.engine.api.DataSetID;
import org.eclipse.birt.report.engine.data.IDataEngine;
import org.eclipse.birt.report.engine.executor.ExecutionContext;
import org.eclipse.birt.report.engine.extension.IBaseResultSet;
import org.eclipse.birt.report.engine.extension.IQueryResultSet;
public class QueryResultSet implements IQueryResultSet
{
	protected IBaseResultSet parent;
	protected DataSetID id;
	
	protected long rowId = -1;
	/**
	 * result iterator object
	 */
	protected IResultIterator rs = null;
	/**
	 * holding the start row index of each group.
	 */
	protected long[] rowIdOfGroups;
	/**
	 * data engine
	 */
	protected IDataEngine dataEngine = null;
	private ExecutionContext context;
	private IBaseQueryDefinition queryDefn;