Bug 189397 Columns for exported should be listed as display order or order in binding pane.[0001]
Description: Columns for exported should be listed as display order or order in binding pane. Build number:2.2.0.v200705281033 Steps to reproduce: 1. New sample db and dataset from OFFICES. 2. Drag the dataset to layout 3. Preview in Web Viewer 4. Click Export Data button. Expected result: Columns are listed as display orders Actual result: Columns are listed in meaningless order. Error log:N/A
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/querydefn/BaseQueryDefinition.java
public int getMaxRows( ) 
	{
		return maxRowCount;
	}
	
	/**
	 * Sets the maximum number of detail rows that can be retrieved by this report query
	 * 
	 */
	public void setMaxRows( int maxRows ) 
	{
	    maxRowCount = maxRows;
	}
	
	
	/**
	 * @param name
	 * @param expression
	 * @deprecated
	 */
	public void addResultSetExpression( String name, IBaseExpression expression )
	{
		Binding binding = new Binding( name );
		binding.setExpression(expression );
		if ( expression != null )
			binding.setDataType( expression.getDataType( ) );
		this.bindingMap.put( name, binding );
		
	}