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/FormatBuilder.java
import org.eclipse.swt.widgets.Control;
/**
 * The builder used to generate a format string
 * <dt><b>Styles: </b></dt>
 * <dd>STRING</dd>
 * <dd>NUMBER</dd>
 * <dd>DATETIME</dd>
 */
public class FormatBuilder extends BaseDialog
{
	
	
	public static final int STRING = 1;
	
	public static final int NUMBER = 2;
	
	public static final int DATETIME = 3;
	private static final String DLG_TITLE = Messages.getString("FormatBuilder.Title"); 
	private IFormatPage page;
	private String formatCategory = null;
	private String formatPattern = null;
	private String previewText = null;
	private int style;
	/**
	 * Constructs a new instance of the format builder
	 * 
	 * @param style
	 *            the style of the format builder
	 *  
	 */