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
lipse.birt.report.model.api.ReportDesignHandle;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
**
 * <code>HTMLReportEmitter<code> is a subclass of
 * <code>ContentEmitterAdapter<code> that implements IContentEmitter
 * interface to output IARD Report ojbects to HTML file.
 * 
 * @version $Revision: 1.93 $ $Date: 20060429 08:49:13 $
 *
public class HTMLReportEmitter extends ContentEmitterAdapter
{
	**
	 * the output format
	 *
	public static final String OUTPUT_FORMAT_HTML = "HTML"; 
	**
	 * the default target report file name
	 *
	public static final String REPORT_FILE = "report.html"; 
	**
	 * the default image folder
	 *
	public static final String IMAGE_FOLDER = "image"; 
	**
	 * output stream
	 *
	protected OutputStream out = null;
	**
	 * the report content
	 *
	protected IReportContent report;
	**
	 * the report runnable instance
	 *
	protected IReportRunnable runnable;
	**
	 * the render options
	 *
	protected IRenderOption renderOption;
	**
	 * should output the page header & footer
	 *
	protected boolean outputMasterPageContent = true;
	**
	 * specifies if the HTML output is embeddable
	 *
	protected boolean isEmbeddable = false;
	**
	 * the url encoding
	 *
	protected String urlEncoding = null;
	**
	 * specified the current page number, starting from 0
	 *
	protected int pageNo = 0;
	**
	 * the <code>HTMLWriter<code> object that is used to output HTML content
	 *
	protected HTMLWriter writer;
	**
	 * the image reder context
	 *
	protected Object renderContext;
	**
	 * indicates that the styled element is hidden or not
	 *
	protected Stack stack = new Stack( );
	**
	 * An Log object that <code>HTMLReportEmitter<code> use to log the error,
	 * debug, information messages.
	 *
	protected static Logger logger = Logger.getLogger( HTMLReportEmitter.class
			.getName( ) );
	**
	 * html image handler
	 *
	protected IHTMLImageHandler imageHandler;
	**
	 * html action h