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
st, and output type ��iid to html
			setActiveIDTypeIID(image);
			
			onresize gives the SVG a change to change its content
			ttribute( "onresize", b+".reload()"); 
			ttribute( HTMLTags.ATTR_TYPE, "imagesvg+xml" ); 
			ttribute( HTMLTags.ATTR_SRC, imgUri );
			setStyleName( image.getStyleClass( ) );
			StringBuffer buffer = new StringBuffer( );
			 build size
			AttributeBuilder.buildSize( buffer, HTMLTags.ATTR_WIDTH, image
					.getW( ) ); 
			AttributeBuilder.buildSize( buffer, HTMLTags.ATTR_HEIGHT, image
					.getHeight( ) ); 
			 handle inline style
			handleStyle( image, buffer, false );
			writer.closeNoEndTag( );
		}
		else
		{  use img
			 write image map if necessary
			Object imageMapObject = image.getImageMap( );
			 use imgUri as the image ID. As we know only the CHART can have
			 image maps and each chart
			 will have differnt URI, so it is safe for CHART. (If the named
			 image also support image
			 map, then we must use another way to get the image ID.
			String imageMapId = imgUri;
			boolean hasImageMap = ( imageMapObject != null )
					&& ( imageMapObject instanceof String )
					&& ( ( (String) imageMapObject ).length( ) > 0 );
			 hasImageMap )
			{
				writer.openTag( HTMLTags.TAG_MAP );
				ttribute( HTMLTags.ATTR_NAME, imageMapId );
				writer.text( (String) imageMapObject, true, false );
				writer.closeTag( HTMLTags.TAG_MAP );
			}
			writer.openTag( HTMLTags.TAG_IMAGE ); 
			setStyleName( image.getStyleClass( ) );
			setDisplayProperty( display, 0, styleBuffer );
			
			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 list, and output type ��iid to html
			setActiveIDTypeIID(image);
			String ext = image.getExtension( );
			 special process, such as encoding etc
			ttribute( HTMLTags.ATTR_SRC, imgUri );
			 hasImageMap )
			{
				 BUGZILLA 119245 request chart (without hyperlink) can't have
			