Bug 132096 TOC pane will be closed when hyperlink to internal bookmark
Steps to reproduce: 1.Add a label with TOC "aaa" and bookmark "a" 2.Add a table below the label, and set pagebreakBefore_Always, pagebreakAfter_Always on the table 3.Add a label with TOC "bbb" and bookmark "b" below the table 4.Preview the report in Web Viewer 5.Open the TOC pane and jump to page3 6.Click lable in page3 Expected result: TOC pane won't be closed when jumping to page1 Actual result: TOC pane is closed
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
}
		if ( context instanceof PDFRenderContext )
		{
			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 ) )
			{
				link.append( baseURL.replaceFirst( "frameset", "run" ) ); 
			}
			else
			{
				link.append( baseURL );
			}
			link
					.append( reportName.toLowerCase( )
							.endsWith( ".rptdocument" ) ? "?__document=" : "?__report=" ); 
			try
			{
				link.append( URLEncoder.encode( reportName,
						ParameterAccessor.UTF_8_ENCODE ) );
			}
			catch ( UnsupportedEncodingException e1 )
			{