Bug 142694 Ability to set a default name for file when getting preview as pdf
Actually the name of file, in preview as pdf, is always: "run[1].pdf". It would be very useful to have the ability to set a differente default name for file. Even the name of file could be resulting from an input parameter. This enhancement serves to user having to create a lot of reports, in Report Designer, and every time he have to write the name of report before to save in pdf.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/layout/EngineFragment.java
*/
	protected void doService( HttpServletRequest request,
			HttpServletResponse response ) throws ServletException, IOException
	{
		ServletOutputStream out = response.getOutputStream( );
		GetUpdatedObjectsResponse upResponse = new GetUpdatedObjectsResponse( );
		IContext context = new BirtContext( request, response );
		Operation op = null;
		try
		{
			if ( IBirtConstants.SERVLET_PATH_DOWNLOAD.equalsIgnoreCase( request
					.getServletPath( ) ) )
			{
				BirtExtractDataActionHandler extractDataHandler = new BirtExtractDataActionHandler(
						context, op, upResponse );
				extractDataHandler.execute( );
			}
			else if ( ParameterAccessor.isGetImageOperator( request ) )
			{
				BirtRenderImageActionHandler renderImageHandler = new BirtRenderImageActionHandler(
						context, op, upResponse );
				renderImageHandler.execute( );
			}
			else
			{
				BirtRunAndRenderActionHandler runAndRenderHandler = new BirtRunAndRenderActionHandler(
						context, op, upResponse );
				runAndRenderHandler.execute( );
			}
		}