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
 peek( style ) ) );
	}
	**
	 * Pops the element of the stack
	 * 
	 * @return the boolean indicating whether or not the item is hidden
	 *
	public boolean pop( )
	{
		return ( (Boolean) stack.pop( ) ).booleanValue( );
	}
	**
	 * Peeks the element of stack
	 * 
	 * @param style
	 * @return the boolean indicating whether or not the item is hidden
	 *
	public boolean peek( IStyle style )
	{
		boolean isHidden = false;
		 !stack.empty( ) )
		{
			isHidden = ( (Boolean) stack.peek( ) ).booleanValue( );
		}
		 !isHidden )
		{
			String formats = style.getVisibleFormat( );
			 formats != null
					&& ( formats.indexOf( EngineIRConstants.FORMAT_TYPE_VIEWER ) >= 0 || formats
							.indexOf( BIRTConstants.BIRT_ALL_VALUE ) >= 0 ) )
			{
				isHidden = true;
			}
		}
		return isHidden;
	}
	**
	 * Checks if the current item is hidden
	 * 
	 * @return a boolean value
	 *
	public boolean isHidden( )
	{
		return ( (Boolean) stack.peek( ) ).booleanValue( );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#getOutputFormat()
	 *
	public String getOutputFormat( )
	{
		return OUTPUT_FORMAT_HTML;
	}
	**
	 * Fixes a PNG problem related to transparency. See
	 * http:homepage.ntlworld.combobosola for detail.
	 *
	protected void fixTransparentPNG( )
	{
		writer.writeCode( "<!--[if gte IE 5.5000]>" ); 
		writer
				.writeCode( "   <script language=\"JavaScript\"> var ie55up = true <script>" ); 
		writer.writeCode( "<![endif]-->" ); 
		writer.writeCode( "<script language=\"JavaScript\">" ); 
		writer
				.writeCode( "   function fixPNG(myImage)  correctly handle PNG transparency in Win IE 5.5 or higher." ); 
		writer.writeCode( "      {" ); 
		writer.writeCode( "      window.ie55up)" ); 
		writer.writeCode( "         {" ); 
		writer
				.writeCode( "         var imgID = (myImage.id) ? \"id='\" + myImage.id + \"' \" : \"\"" ); 
		writer
				.writeCode( "         var imgClass = (myImage.className) ? \"class='\" + myImage.className + \"' \" : \"\"" ); 