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
 when implement the inline box. This solution only works for
	 * IE5.5, IE6, IE7, Firefox1.5 and Firefox2.
	 *
	protected void openInlineBoxTag( )
	{
		writer.openTag( HTMLTags.TAG_DIV );
		 Only the IE5.5, IE6, IE7 can identify the "*+".
		 only the Firefox1.5 and Firefox2 can identify the
		 "-moz-inline-box".
		writer.attribute( HTMLTags.ATTR_STYLE,
				" display:-moz-inline-box; display:inline-block; *+display:inline;" );
		writer.openTag( HTMLTags.TAG_TABLE );
		writer.attribute( HTMLTags.ATTR_STYLE, " display:table !important; display:inline;" );
		writer.openTag( HTMLTags.TAG_TR );
		writer.openTag( HTMLTags.TAG_TD );
	}
	**
	 * Close the tag when implement the inline box.
	 *
	protected void closeInlineBoxTag( )
	{
		writer.closeTag( HTMLTags.TAG_TD );
		writer.closeTag( HTMLTags.TAG_TR );
		writer.closeTag( HTMLTags.TAG_TABLE );
		writer.closeTag( HTMLTags.TAG_DIV );
	}
	
	**
	 * Set the display property to style.
	 * 
	 * @param display
	 *            The display type.
	 * @param mask
	 *            The mask.
	 * @param styleBuffer
	 *            The <code>StringBuffer<code> object that returns 'style'
	 *            content.
	 *
	protected void setDisplayProperty( int display, int mask,
			StringBuffer styleBuffer )
	{
		int flag = display & mask;
		if ( ( display & HTMLEmitterUtil.DISPLAY_NONE ) > 0 )
		{
			styleBuffer.append( "display: none;" ); $N
		}
		else if ( flag > 0 )
		{
			if ( ( flag & HTMLEmitterUtil.DISPLAY_BLOCK ) > 0 )
			{
				styleBuffer.append( "display: block;" ); $N
			}
			else if ( ( flag & HTMLEmitterUtil.DISPLAY_INLINE_BLOCK ) > 0 )
			{
				styleBuffer.append( "display:inline-block; zoom:1; *+display:inline;" ); $N
			}
			else if ( ( flag & HTMLEmitterUtil.DISPLAY_INLINE ) > 0 )
			{
				styleBuffer.append( "display: inline;" ); $N
			}
		}
	}
	
	**
	 * Open the vertical-align box tag if the element needs implementing the
	 * vertical-align.
	 *
	 FIXME: code review: Because only the text element and foreign element use
	 this 