ArabicShaping shaping = new ArabicShaping(ArabicShaping.LETTERS_SHAPE); try { String shapingText =  shaping.shape( textContent.getText( )); textContent.setText(shapingText); } catch ( ArabicShapingException e ) { logger.log( Level.WARNING, e.getMessage( ), e ); }
	public void transform( ITextContent textContent )	{		String transformType = textContent.getComputedStyle( )				.getTextTransform( );		if ( transformType.equalsIgnoreCase( "uppercase" ) ) //$NON-NLS-1$		{			textContent.setText( textContent.getText( ).toUpperCase( ) );		}		else if ( transformType.equalsIgnoreCase( "lowercase" ) ) //$NON-NLS-1$		{			textContent.setText( textContent.getText( ).toLowerCase( ) );		}		else if ( transformType.equalsIgnoreCase( "capitalize" ) ) //$NON-NLS-1$		{			textContent.setText( capitalize( textContent.getText( ) ) );		}	}