Bug 188502 Change labels in Export Report dialog
Can we consider changing the types in the drop down list in the Export Report dialog? doc to Word xls to Excel ppt to Powerpoint pdf to PDF postscript to PostScript
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
*/
	public static boolean isRtl( HttpServletRequest request )
	{
		boolean isRtl = false;
		if ( "true".equalsIgnoreCase( getParameter( request, PARAM_RTL ) ) ) 
		{
			isRtl = true;
		}
		return isRtl;
	}
	/**
	 * Get report locale from a given string.
	 * 
	 * @param locale
	 *            locale string
	 * @return report locale
	 */
	public static Locale getLocaleFromString( String locale )
	{
		if ( locale == null || locale.length( ) <= 0 )
		{
			return null;
		}
		int index = locale.indexOf( '_' );
		if ( index != -1 )
		{
			String language = locale.substring( 0, index );
			String country = locale.substring( index + 1 );
			return new Locale( language, country );
		}