Bug 120218 Right click menu option to apply theme.
We should support the following right click menu. -- User right clicks int he report design layout area. -- The following menu items needs to be supported Theme --> Apply Theme -->Theme1 -->Theme2 ( similar to Apply style menu option )
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
* @return new string after escape special character
	 */
	public static String escape( String str )
	{
		String[][] chars = {
				{
						"\\\\", "\"", "\'", 
				}, {
						"\\\\\\\\", "\\\\\"", "\\\\\'", 
				}
		};
		String result = str;
		for ( int i = 0; i < chars[0].length; i++ )
		{
			result = result.replaceAll( chars[0][i], chars[1][i] );
		}
		return result;
	}
	/**
	 * Gets decimal string given the number of zeros.
	 */
	public static String getDecmalStr( int decPlaces )
	{
		String defaultDecs = "0000000000"; 
		String decStr = ""; 
		if ( decPlaces > 0 && decPlaces < 10 )
		{
			decStr = defaultDecs.substring( 0, decPlaces );
		}
		else if ( decPlaces >= 10 )