Bug 208872 Provide new Crosstab model APIs for chart support
The goal of this enhancement is to support charts inside crosstab measure cells. Charts will span accross an entire row or column, and therefore the crosstab model should provide some API to: - merge all cells on rows, or on columns. This needs integration with report engine to get the merged subquery for all the cells. - insert a header/footer row or column for custom content (in this case, the chart will render the axis there) - allow to set a fixed dimension for the width/height of the base measure cell (charts cannot expand/shrink dynamically, so the size must be set at design time)
xtab/org.eclipse.birt.report.item.crosstab.core/src/org/eclipse/birt/report/item/crosstab/core/re/executor/CrosstabSubTotalRowExecutor.java
private int lastLevelIndex;
	private int totalMeasureCount;
	private long currentEdgePosition;
	private boolean isLayoutDownThenOver;
	private int startTotalDimensionIndex;
	private int startTotalLevelIndex;
	private boolean rowEdgeStarted;
	private boolean rowSubTotalStarted;
	private boolean hasLast;
	private int totalRowSpan;
	private boolean isFirstTotalRow;
	private boolean isSubTotalBefore;
	private boolean isFirst;
	private IReportItemExecutor nextExecutor;
	public CrosstabSubTotalRowExecutor( BaseCrosstabExecutor parent,
			int rowIndex, int dimensionIndex, int levelIndex )
	{
		super( parent );
		this.rowIndex = rowIndex;
		this.dimensionIndex = dimensionIndex;
		this.levelIndex = levelIndex;
	}
	public void close( )
	{
		super.close( );
		nextExecutor = null;
	}
	public IContent execute( )
	{
		IRowContent content = context.getReportContent( ).createRowContent( );