Bug 166734 Target is opened in the new window even choose the same window when preview in PDF [00]
Description: Target is opened in the new window even choose the same window. Build number: 2.1.2.v20061205-0710 Steps to reproduce: 1. New a report target.rptdesign, insert several items. 2. Preview it in Web Viewer. 3. New a report, insert a label 4. Select the label, select Property Editor->Hyperlink, Tick Drill-through 5. In step1, tick report document, select target.rptdocument from your folder. In step4, tick Same Window. 6. Preview report in PDF, click the link. Expected result: Target is opened in the same window. Actual result: Target is opened in the new window. Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
translation = 0.0f;
			}
			return new tplValueTriple(tplOrigin, tplSize, translation);
		
		}
		
		/**
		 * Draws the backgound image at the contentByteUnder of the pdf with the given offset
		 * @param imageURI		the URI referring the image
		 * @param x				the start X coordinate at the pdf where the image is positioned
		 * @param y				the start Y coordinate at the pdf where the image is positioned
		 * @param width			the width of the background dimension
		 * @param height		the height of the background dimension
		 * @param positionX		the offset X percentage relating to start X
		 * @param positionY		the offset Y percentage relating to start Y
		 * @param repeat		the background-repeat property
		 * @param xMode			whether the horizontal position is a percentage value or not
		 * @param yMode			whether the vertical position is a percentage value or not
		 */
		private void drawBackgroundImage(String imageURI, float x, float y,
				float width, float height, float positionX, float positionY,
				String repeat, boolean xMode, boolean yMode) {
			
			if (null == imageURI) {
				return;
			}
			String id = imageURI;
			if (reportDesign != null) {
				URL url = reportDesign.findResource(imageURI,
						IResourceLocator.IMAGE);