Bug 136564 Use a parameter from library, format can be inherited.
Use a parameter from library, format can be inherited. Steps: 1.Create a library named lib1, create a parameter named p1, string, default value: "abc", formatted as Uppercase 2.Create a report, use the lib1, drag the p1 from lib1 to the layout 3.Preview Actual Results: 1.P1 can not be formatted as Uppercase Expected Results: 1.P1 can be formatted as uppercase
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/TextEditor.java
if ( dialog.open( ) == OK )
		{
			String result = " format=\"" 
					+ getFormatPattern( ( (String) dialog.getResult( ) ) )
					+ "\""; 
			textEditor.insert( result );
		}
	}
	private String getFormatPattern( String formatString )
	{
		if ( formatString != null )
		{
			int index = formatString.indexOf( ':' ); 
			if ( index == -1 )
			{
				return formatString;
			}
			return formatString.substring( index + 1 );
		}
		return null;
	}
	/**
	 * A inner class to store a html tag information.
	 */
	private static class HTMLTag
	{
		
		private String name;
		
		private boolean isPair;