Bug 144511 TVT3.2:TCT786: pl: Curency symbol is on the wrong side of number
OS : RHEL 3.1 Must fix or not a must fix: YES Build date: 0529 Component name: BIRT Blocking: NO Language: pl Bitmap Location: V:\defects\pl\20.002310.jpg Tester Name: Marek Gaskiewicz Steps to recreate the problem: Click Window->Open Perspective->Other->Report Design Right click anywhere on the report design Select Style->New Style context menu Slect Format Number Select Custom Problem Description: The currency symbol should be placed on the other side of number (the right side, not left) This article was reassigned from Category:''TVT/Testing''.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatNumberPage.java
{
			FormatNumberPattern fmtPattern = getFmtPattern4Category( category );
			setCategory( fmtPattern.getCategory( ) );
			setPattern( fmtPattern.getPattern( ) );
		}
		doPreview( getCategory( ), getPattern( ) );
	}
	/**
	 * Does preview action.
	 * 
	 * @param patternStr
	 */
	private void doPreview( String category, String patternStr )
	{
		String fmtStr;
		double num;
		if ( getPreviewText( ) == null )
		{
			num = DEFAULT_PREVIEW_NUMBER;
		}
		else
		{
			num = Double.parseDouble( getPreviewText( ) );
		}
		if ( category == null )
		{
			fmtStr = getPreviewText( );
			fmtStr = new NumberFormatter( patternStr ).format( num );
			gPreviewLabel.setText( validatedFmtStr( fmtStr ) );
			return;