Bug 307327 BIDI3.6:In-line component positioning problem in RTL Reports
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLEmitter.java
.
	 * @param width
	 *            The width property.
	 * @param styleBuffer
	 *            The <code>StringBuffer<code> object that returns 'style'
	 *            content.
	 * @return A <code>boolean<code> value indicating 'Can-Shrink' property
	 *         is set to <code>true<code> or not.
	 *
	protected boolean handleShrink( int type, IStyle style,
			DimensionType height, DimensionType width, StringBuffer styleBuffer )
	{
		boolean canShrink = style != null
				&& "true".equalsIgnoreCase( style.getCanShrink( ) ); $N
		if ( ( type & HTMLEmitterUtil.DISPLAY_BLOCK ) > 0 )
		{
			buildSize( styleBuffer, HTMLTags.ATTR_WIDTH, width );
			if ( !canShrink )
			{
				buildSize( styleBuffer, HTMLTags.ATTR_MIN_HEIGHT, height );
			}
		}
		else if ( ( type & HTMLEmitterUtil.DISPLAY_INLINE ) > 0 )
		{
			buildSize( styleBuffer, HTMLTags.ATTR_HEIGHT, height );
			if ( !canShrink )
			{
				buildSize( styleBuffer, HTMLTags.ATTR_MIN_WIDTH, width );
			}
		}
		else
		{
			assert false;
		}
		HTMLEmitterUtil.buildOverflowStyle( styleBuffer, style, false );
		return canShrink;
	}
	
	**
	 * Checks the 'CanShrink' property and sets the width and height according
	 * @param type
	 *            The display type of the element.
	 * @param style
	 *            The style of an element.
	 * @param height
	 *            The height property.
	 * @param width
	 *            The width property.
	 * @param styleBuffer
	 *            The <code>StringBuffer<code> object that returns 'style'
	 *            content.
	 * @return A <code>boolean<code> value indicating 'Can-Shrink' property
	 *         is set to <code>true<code> or not.
	 *
	protected boolean handleTextShrink( int type, IStyle style,
			DimensionType height, DimensionType width, StringBuffer styleBuffer )
	{
		boolean canShrink = style != null
				&& "true".equalsIgnoreCase( style.getCanShrink( ) ); $N
		boolean outputHidden = false;
		if ( ( type & HTMLEmitterUtil.DISPLAY_BLOCK ) > 0 )
		{
			if ( width != null )
			{
				buildSize(