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
private static final int FORMAT_CHOICE_INDEX_CONTENT = 2;
	private static final int FORMAT_CHOICE_INDEX_LISTS = 3;
	private static final int FORMAT_CHOICE_INDEX_DYNAMIC_TEXT = 4;
	private TextItemHandle handle;
	private String oldValue = ""; 
	private StyledText textEditor;
	private SourceViewer textViewer;
	private CCombo textTypeChoicer, formatChoicer;
	private ToolBar formatTagsBar, commonTagsBar;
	private ToolItem tagItem;
	/**
	 * Constructor
	 * 
	 * Creates a new text editor under the given parent shell with the given
	 * title to edit the given text
	 * 
	 * @param parentShell
	 *            the parent shell contains this pop-up dialog
	 * @param title
	 *            the title of dialog
	 * @param handle
	 *            the handle of the text element
	 */
	public TextEditor( Shell parentShell, String title, TextItemHandle handle )
	{
		super( parentShell, title );
		this.handle = handle;
		if ( handle.getContent( ) != null )
		{
			oldValue = handle.getContent( );