Every tab of a tab bar has, besides its localized title and help
text, the URL of a view. A possible alternative would be to use a
command URL instead of the view URL.
In the current Impress implementation a tab bar is only used for the
center pane to switch between views in the center pane. Tab bars can
make sense for other panes as well, i.e. for showing either the slide
sorter or the outline view in the left pane.
Tab bar buttons are identified by their resource id. Note that
because the resource anchors are all the same (the tab bar), it is the
resource URL that really identifies a button. There can not be two
buttons with the same resource id.
A better place for this interface (in an extended version) would be
com::sun::star::awt
The new tab bar button that is to be inserted. If a button with
the same resource id is already present than that is removed before the
new button is inserted.
Parameter aAnchor
The new button is inserted to the right of this button. When
its ResourceId is empty then the new button is inserted at the left
most position.