+ "&__masterpage=" + String.valueOf( bMasterPageContent );
+ "&__masterpage=" + String.valueOf( bMasterPageContent ) + "&__rtl=" + String.valueOf( rtl );
	private static String createURL( String servletName, String report,			String format, boolean inDesigner )	{		String encodedReportName = null;		try		{			encodedReportName = URLEncoder.encode( report, "utf-8" ); //$NON-NLS-1$		}		catch ( UnsupportedEncodingException e )		{			// Do nothing		}		String locale = ViewerPlugin.getDefault( ).getPluginPreferences( )				.getString( USER_LOCALE );		String svgFlag = ViewerPlugin.getDefault( ).getPluginPreferences( )				.getString( SVG_FLAG );		boolean bSVGFlag = false;		if ( "true".equalsIgnoreCase( svgFlag ) ) //$NON-NLS-1$		{			bSVGFlag = true;		}		String masterPageContent = ViewerPlugin.getDefault( )				.getPluginPreferences( ).getString( MASTER_PAGE_CONTENT );		boolean bMasterPageContent = true;		if ( "false".equalsIgnoreCase( masterPageContent ) ) //$NON-NLS-1$		{			bMasterPageContent = false;		}		// So far, only report name is encoded as utf-8 format		return getBaseURL( )				+ servletName				+ "?" //$NON-NLS-1$				+ "__report=" + encodedReportName //$NON-NLS-1$				+ "&__format=" + format //$NON-NLS-1$				+ "&__svg=" + String.valueOf( bSVGFlag ) //$NON-NLS-1$				+ ( LocaleTable.containsKey( locale )						? "&__locale=" + LocaleTable.get( locale ) : "" ) //$NON-NLS-1$ //$NON-NLS-2$				+ "&__designer=" //$NON-NLS-1$				+ String.valueOf( inDesigner )				+ "&__masterpage=" + String.valueOf( bMasterPageContent ); //$NON-NLS-1$	}