Bug 143104 TVT3.2:TCT639: AR: BIRT: Expression builder should be unmirrored.
OS: Windows XP Must Fix: No. Build Date: 0522 Component: BIRT Blocking: No Language: AR Tester name: Omar Bahy Scenario: 1- Import a report Design, i.e, Test_Report_1.rptdesign 2- Double click on Column_1. 3- Click on row ["CUSTOMERNUMBER"] 4- Click ont he empty box that apears next to it to open the expression builder. Problem: - expression builder text window should be unmirrored to maintain expression readability. This article was reassigned from Category:''TVT/Testing''.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
return "\"" + string + "\"";
		}
		return string;
	}
	public static String RemoveQuote( String string )
	{
		if ( string != null
				&& string.length( ) >= 2
				&& string.startsWith( "\"" )
				&& string.endsWith( "\"" ) )
		{
			return string.substring( 1, string.length( ) - 1 );
		}
		return string;
	}
	/**
	 * Returns the maxinum length in pixels of given strings in a control.
	 * 
	 * @return the length in pixels
	 */
	public static int getMaxStringWidth( String[] strArray, Control control )
	{
		int maxWidth = 0;
		for ( int i = 0; i < strArray.length; i++ )
		{
			int width = getStringWidth( strArray[i], control );
			maxWidth = maxWidth >= width ? maxWidth : width;
		}
		return maxWidth;
	}