Bug 200919 Add quotation for column containing separator character when export data.[0002]
Description: Add quotation for column containing separator character when export data. Build number:2.2.1.v20070823 Steps to reproduce: 1. New sample data source and dataset. 2. Add a computed column with name a,b and value "a,b". 3. Drag the dataset to Layout. 4. Preview in Web Viewer and Export Data with Comma. Expected result: Column name is quoated as values. Actual result: Column name a,b isn't quotated so it will be treated as two columns. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
{
			handler = new ViewerHTMLActionHandler( reportDocument, pageNumber,
					locale, false, rtl, masterPage, format );
		}
		else
		{
			boolean isEmbeddable = false;
			if ( IBirtConstants.SERVLET_PATH_FRAMESET
					.equalsIgnoreCase( servletPath )
					|| IBirtConstants.SERVLET_PATH_RUN
							.equalsIgnoreCase( servletPath ) )
				isEmbeddable = true;
			if ( renderOption instanceof IHTMLRenderOption )
				( (IHTMLRenderOption) renderOption )
						.setEmbeddable( isEmbeddable );
			
			if ( IBirtConstants.DOC_RENDER_FORMAT.equalsIgnoreCase( format ) )
			{
				( (IHTMLRenderOption) renderOption ).setOption(
						IHTMLRenderOption.HTML_PAGINATION, Boolean.TRUE );
			}
			renderOption.setOption( IHTMLRenderOption.HTML_RTL_FLAG,
					new Boolean( rtl ) );
			renderOption.setOption( IHTMLRenderOption.INSTANCE_ID_LIST,
					activeIds );
			renderOption.setOption( IHTMLRenderOption.MASTER_PAGE_CONTENT,
					new Boolean( masterPage ) );
			handler = new ViewerHTMLActionHandler( reportDocument, pageNumber,
					locale, isEmbeddable, rtl, masterPage, format );
		}