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
BorderInfo[] borders = new BorderInfo[4];
					borders[BorderInfo.TOP_BORDER] = new BorderInfo(
							layoutX, layoutY + borderTopWidth/2,
							layoutX + container.getWidth(), layoutY + borderTopWidth/2,
							borderTopWidth, borderTopColor, style.getProperty(StyleConstants.STYLE_BORDER_TOP_STYLE), BorderInfo.TOP_BORDER);
					borders[BorderInfo.RIGHT_BORDER] = new BorderInfo(
							layoutX+container.getWidth()-borderRightWidth/2, layoutY, 
							layoutX+container.getWidth()-borderRightWidth/2, layoutY+ container.getHeight(),       
							borderRightWidth, borderRightColor, style.getProperty(StyleConstants.STYLE_BORDER_RIGHT_STYLE), BorderInfo.RIGHT_BORDER);
					borders[BorderInfo.BOTTOM_BORDER] = new BorderInfo(
							layoutX, layoutY+container.getHeight()-borderBottomWidth/2, 
							layoutX+container.getWidth(), layoutY+container.getHeight()-borderBottomWidth/2, 
							borderBottomWidth, borderBottomColor, style.getProperty(StyleConstants.STYLE_BORDER_BOTTOM_STYLE), BorderInfo.BOTTOM_BORDER);
					borders[BorderInfo.LEFT_BORDER] = new BorderInfo(
							layoutX+borderLeftWidth/2, layoutY,
							layoutX+borderLeftWidth/2, layoutY+ container.getHeight(), 
							borderLeftWidth, borderLeftColor,style.getProperty(StyleConstants.STYLE_BORDER_LEFT_STYLE), BorderInfo.LEFT_BORDER);
					
					
					drawBorder(borders);
				}
				
				
				
				makeBookmark(container, curPos);
				
				handleHyperlinkAction(container, curPos);
			}
		}