Bug 132644 getAllTocs(), getAllBookMarks() should be in ModuleHandle but not ReportDesignHandle
Steps to reproduce: 1.New a library, add a label with bookmark "a" 2.New another label, add "Internal Bookmark" hyperlink on it Expected result: "a" will be listed in the bookmark list Actual result: No bookmark will be returned coz getAllBookMarks() can only be used in ReportDesignHandle Note: getAllTocs() has the same problem
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java
selectedType = type;
		clearArea( );
		closeTargetReport( );
		displayArea.setLayout( new GridLayout( 3, false ) );
		if ( DesignChoiceConstants.ACTION_LINK_TYPE_HYPERLINK.equals( type ) )
		{
			switchToURI( );
		}
		else if ( DesignChoiceConstants.ACTION_LINK_TYPE_BOOKMARK_LINK.equals( type ) )
		{
			switchToBookmark( );
		}
		else if ( DesignChoiceConstants.ACTION_LINK_TYPE_DRILL_THROUGH.equals( type ) )
		{
			switchToDrillthrough( );
		}
		initDisplayArea( );
		displayArea.layout( );
	}
	private void switchToURI( )
	{
		new Label( displayArea, SWT.NONE ).setText( REQUIED_MARK
				+ LABEL_LOCATION );
		locationEditor = new Text( displayArea, SWT.BORDER | SWT.SINGLE );
		locationEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		locationEditor.addModifyListener( new ModifyListener( ) {
			public void modifyText( ModifyEvent e )
			{
				updateButtons( );
			}