Table Toolbar configuration

To make working with tables easier, a table toolbar can be added to the configuration. By putting the buttons in the a toolbar-group, the bar will flow in the toolbar to the second line and appear to be a toolbar in itself.

<toolbar-group 
  id="TableToolbarGroup" 
  after="MoveGroup" 
  haveAllCommandsAvailable="false">

  <toolbar-button command="InsertTableHeaderCommand"/>
  <toolbar-button command="InsertTableFooterCommand"/>

  <separator/>
  <toolbar-button command="MergeTableCellUpCommand"/>
  <toolbar-button command="MergeTableCellRightCommand"/>
  <toolbar-button command="MergeTableCellDownCommand"/>
  <toolbar-button command="MergeTableCellLeftCommand"/>

  <separator/>  
  <toolbar-button command="SplitTableCellUpCommand"/>
  <toolbar-button command="SplitTableCellRightCommand"/>
  <toolbar-button command="SplitTableCellDownCommand"/>
  <toolbar-button command="SplitTableCellLeftCommand"/>

  <separator/>
  <toolbar-button command="InsertTableRowBeforeCommand"/>
  <toolbar-button command="InsertTableRowAfterCommand"/>

  <toolbar-button command="MoveTableRowUpCommand"/>
  <toolbar-button command="MoveTableRowDownCommand"/>

  <separator/>
  <toolbar-button command="InsertTableColumnBeforeCommand"/>
  <toolbar-button command="InsertTableColumnAfterCommand"/>

  <toolbar-button command="MoveTableColumnLeftCommand"/>
  <toolbar-button command="MoveTableColumnRightCommand"/>

  <separator/>
  <toolbar-button command="DeleteTableRowCommand"/>
  <toolbar-button command="DeleteTableColumnCommand"/>
</toolbar-group>

The commands used in this toolbar-group have been exposed in Xopus for use for this table-toolbar.

Please note that the commands for moving columns can be useless in case the tables do not have column information.


History

version event
Xopus 4.2 Introduction.