Bug 181909 BIDI3.3:HCG_Mixed BiDi and Latin text are not correctly reordered in PDF report
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/text/BidiSplitter.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.layout.pdf.text;
import java.text.Bidi;
import org.eclipse.birt.report.engine.layout.pdf.ISplitter;
import com.lowagie.text.pdf.IntHashtable;
public class BidiSplitter implements ISplitter
{
	private char[] chunkText = null;
	
	private static final IntHashtable mirrorChars = new IntHashtable();
	
	private Bidi bidi = null;
	private int baseLevel;
	
	private int currentRun = 0;
	private int beginIndex = 0;
	private int endIndex = 0;
	
	public BidiSplitter(Chunk inputChunk)
	{
		this.chunkText = inputChunk.getText().toCharArray();