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
* Draws a line with the line-style specified in advance from the start position to 
		 * the end position with the given linewidth, color, and style at the given pdf layer.
		 * If the line-style is NOT set before invoking this method, 
		 * "solid" will be used as the default line-style. 
		 * 
		 * @param startX			the start X coordinate of the line
		 * @param startY 			the start Y coordinate of the line
		 * @param endX 				the end X coordinate of the line
		 * @param endY 				the end Y coordinate of the line
		 * @param width 			the lineWidth
		 * @param color 			the color of the line
		 * @param contentByte 		the given pdf layer
		 */
		private void drawRawLine(float startX, float startY, float endX, float endY, float width, 
				Color color, PdfContentByte contentByte )
		{
			contentByte.moveTo(startX, startY);
			contentByte.setLineWidth(width);
			contentByte.lineTo(endX, endY);        
			contentByte.setColorStroke(color);
			contentByte.stroke();
		}
		
		/**
		 * Draws the background color at the contentByteUnder of the pdf
		 * @param color			the color to be drawed
		 * @param x				the start X coordinate
		 * @param y				the start Y coordinate
		 * @param width			the width of the background dimension
		 * @param height 		the height of the background dimension