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
gd.horizontalSpan = 2;
		bookmarkChooser.setLayoutData( gd );
		bookmarkChooser.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				bookmarkEditor.setText( bookmarkChooser.getText( ) );
				updateButtons( );
			}
		} );
		new Label( displayArea, SWT.NONE ).setText( LABEL_LINKED_EXPRESSION );
		bookmarkEditor = new Text( displayArea, SWT.BORDER | SWT.READ_ONLY );
		bookmarkEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		createExpressionButton( displayArea, bookmarkEditor );
	}
	private void createFormatBar( )
	{
		new Label( displayArea, SWT.NONE ).setText( LABEL_FORMAT );
		formatChooser = new Combo( displayArea, SWT.READ_ONLY | SWT.BORDER );
		formatChooser.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		formatChooser.setItems( ChoiceSetFactory.getDisplayNamefromChoiceSet( CHOICESET_FORMAT ) );
		UIUtil.createBlankLabel( displayArea );
	}
	protected void okPressed( )
	{
		try
		{
			
			inputHandle.setURI( null );
			inputHandle.setTargetBookmark( null );
			inputHandle.setTargetWindow( null );