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
		type = "LABEL";
		}
		else genBy instanceof TemplateDesign)
		{
			type = "TEMPLATE";
		}
		
		else if( genBy instanceof ExtendedItemDesign )
		{
			type = "EXTENDED" ;
		}
		else  genBy instanceof TableItemDesign )
		{
			type = "TABLE";
		}
		else genBy instanceof ListItemDesign)
		{
			type = "LIST";
		}
		type != null)
		{
			 Instance ID
			InstanceID iid = content.getInstanceID( );
			 active id
			ponentID = ( iid != null ) ? iid.getComponentID() : 0;
			exportElementID( content, content.getB( ), type, componentID );
			 type
			ttribute( "element_type", type );
			 iid != null )
			{
				ttribute( "iid", iid.toString( ) );
			}
		}
	}
	
	**
	 * Resize chart template and table template element.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private void resizeTemplateElement( IContent content )
	{
			Object genBy = content.getGenerateBy( );
			if( genBy instanceof TemplateDesign )
			{
				TemplateDesign template = (TemplateDesign) genBy;
				
				String allowedType = template.getAllowedType( );
				 "ExtendedItem".equals(allowedType ) )
				{
					 Resize chart template element
					IStyle style = content.getStyle( );
					style.setProperty( IStyle.STYLE_CAN_SHRINK, IStyle.FALSE_VALUE );
					content.setW( new DimensionType( 3, DimensionType.UNITS_IN ) );
					content.setHeight( new DimensionType( 3, DimensionType.UNITS_IN ) );
				}
				else  "Table".equals(allowedType) )
				{
					 Resize table template element
					IStyle style = content.getStyle( );
					style.setProperty( IStyle.STYLE_CAN_SHRINK, IStyle.FALSE_VALUE );
					content.setW( new DimensionType( 3, DimensionType.UNITS_IN ) );
					content.setHeight( new DimensionType( 5, DimensionType.UNITS_IN ) );
				}
		}
	}
}
