Bug 129792 BIDI3.2: [HCG] HTML/Web/PDF viewers are not mirrored
This is very specific BiDi issue related to the ability of the product to mirror its interface (and sometimes alter other aspects of its behavior) when Eclipse is started with option "-dir rtl" 1. Start eclipse with "-dir rtl" option 2. Create any Report 3. Preview it using Web/HTML/PDF options Result: The layout of report as it appear in the Eclipse in the Layout tab and as it appears in HTML/PDF are different. While on Layout tab the report is mirrored on HTML/PDF it is not.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startLabel(org.eclipse.birt.report.engine.content.ILabelContent)
	 *
	public void startLabel( ILabelContent label )
	{
		String b = label.getB( );
		 b == null ) 
		{
			b = generateUniqueID( );
			label.setB( b );
		}
		startText( label );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startData(org.eclipse.birt.report.engine.content.IDataContent)
	 *
	public void startData( IDataContent data )
	{
		startText( data );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startImage(org.eclipse.birt.report.engine.content.IImageContent)
	 *
	public void startImage( IImageContent image )
	{
		assert image != null;
		IStyle mergedStyle = image.getStyle( );
		 peek( mergedStyle ) )
		{
			return;
		}
		logger.log( Level.FINE, "[HTMLImageEmitter] Start image" );  
		Object generateBy = image.getGenerateBy( );
		
		 include select handle chart
		 renderOption != null && renderOption instanceof HTMLRenderOption )
		{
			HTMLRenderOption htmlOption = (HTMLRenderOption) renderOption;
			
			 htmlOption.getIncludeSelectionHandle( )
					&& generateBy instanceof ExtendedItemDesign )
			{
				startSelectHandleTableChart( );
			}
		}		
		StringBuffer styleBuffer = new StringBuffer( );
		int display = checkElementType( image.getX( ), image.getY( ),
				mergedStyle, styleBuffer );
		String tag = openTagByType( display, DISPLAY_BLOCK );
		 action
		boolean hasAction = handleAction( image.getHyperlinkAction( ) );
		String imgUri = getImageURI( image );
		boolean useSVG = ( image.getMIMEType( ) != null )
				&& image.getMIMEType( ).equalsIgnoreCase( "imagesvg+xml" ); 
		 useSVG )
		{  u
			writer.openTag( HTMLTags.TAG_EMBED );
			
			String b = image.getB( );
			 b == null )
			{
				b = generateUniqueID( );
				image.setB( b );
			}
			setB( HTMLTags.ATTR_IMAGE, b ); 
			 If the image is a chart, add it to active id li