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
eBuilder.buildComputedTextStyle( styleBuffer, element.getComputedStyle( ),this , bContainer );
		}
		 o
		ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
	}
	protected void handleStyle( IContent element, StringBuffer styleBuffer )
	{
		IStyle style;
		 isEmbeddable )
		{
			style = element.getStyle( );
		}
		else
		{
			style = element.getInlineStyle( );
		}
		AttributeBuilder.buildStyle( styleBuffer, style, this, true );
		 o
		ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
	}
	**
	 * adds the default table styles
	 * 
	 * @param styleBuffer
	 *
	protected void addDefaultTableStyles( StringBuffer styleBuffer )
	{
			styleBuffer
					.append( "border-collapse: collapse; empty-cells: show;" ); 
	}
	protected void exportElementID( IContent content, String b,
			String type, ponentID )
	{
		Object generateBy = content.getGenerateBy( );
		 generateBy instanceof TableItemDesign
				|| generateBy instanceof ListItemDesign
				|| generateBy instanceof ExtendedItemDesign
				|| generateBy instanceof LabelItemDesign
				|| generateBy instanceof TemplateDesign )
		{
			 renderOption instanceof HTMLRenderOption )
			{
				List htmlIds = ( (HTMLRenderOption) renderOption )
						.getInstanceIDs( );
				 htmlIds != null && b != null )
				{
					assert type != null;
					String newB = b + "," + type 
							+ "," + new Long( componentID ).toString();
					htmlIds.add( newB );
				}
			}
		}
	}
	protected int bId = 0;
	protected String generateUniqueID( )
	{
		bId ++;
		return "AUTOGENBOOKMARK_" + bId;
	}
	
	**
	 * Add element to active ID list. Output type & iid to html.
	 * 
	 * @param content
	 *            the styled element content
	 *
	private void setActiveIDTypeIID( IContent content)
	{
		 If content is generated by LabelItemDesign or TemplateDesign,
		 ExtendedItemDesign, TableItemDesign
		 add it to active id list, and output type & iid to html
		Object genBy = content.getGenerateBy( );
		String type = null;
		genBy instanceof LabelItemDesign)
		{
	