Bug 150601 Drillthrough link from pdf(frameset) should link to frameset servlet instead of run.
Description: Drillthrough link from pdf(frameset) should link to frameset servlet instead of run. Steps to reproduce: 1. New a report 2. Insert a label and define a drill through link to other report 3. Preview in Web viewer, click Print as PDF button in viewer toolbar 4. Click drill through link in pdf Expected result: Target report opens through frameset sevlet instead of run servlet. Because the pdf is displayed through frameset servlet. Actual result: Target report opened through run sevlet
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
baseURL = ( (PDFRenderContext) context ).getBaseURL( );
		}
		if ( baseURL == null )
			baseURL = IBirtConstants.VIEWER_RUN;
		StringBuffer link = new StringBuffer( );
		String reportName = action.getReportName( );
		if ( reportName != null && !reportName.equals( "" ) ) 
		{
			String format = action.getFormat( );
			if ( ParameterAccessor.PARAM_FORMAT_PDF.equalsIgnoreCase( format ) )
			{
				baseURL = baseURL.replaceFirst( IBirtConstants.VIEWER_FRAMESET,
						IBirtConstants.VIEWER_RUN );
			}
			link.append( baseURL );
			link
					.append( reportName.toLowerCase( )
							.endsWith( ".rptdocument" ) ? "?__document=" : "?__report=" ); 
			try
			{
				link.append( URLEncoder.encode( reportName,
						ParameterAccessor.UTF_8_ENCODE ) );
			}
			catch ( UnsupportedEncodingException e1 )
			{
				
			}
			
			if ( format != null && format.length( ) > 0 )
			{