11.4. The table editor toolbar

The table editor adds its own toolbar below the main toolbar of epcEdit. This second toolbar is displayed as long as the table editor is active. When the table editor is turned off, the second toolbar is withdrawn.

Figure 11-3. The table editor toolbar

The buttons in the table editor toolbar perform the following actions:

 Insert table

If the DTD of your document allows it, this command inserts an embedded table into the table you are currently editing. The current table cell should be empty to avoid strange layout effects.

 Delete table

Deletes the embedded table that you are currently editing.

 Insert column left

The Insert column left command creates a new column in the current table just to the left of the column containing the current cell. The new column is populated with initially empty table cells.

 Insert column right

The Insert column right command creates a new column in the current table just to the right of the column containing the current cell. The new column is populated with initially empty table cells.

 Delete column

The Delete column command deletes the column containing the current cell.

 Insert row above

The Insert row above command creates a new row in the current table just above the row containing the current cell. The new row is populated with initially empty table cells.

 Insert row below

The Insert row below command creates a new row in the current table just below the row containing the current cell. The new row is populated with initially empty table cells.

 Delete row

The Delete row command deletes the row containing the current cell.

 Merge cell left

The Merge cell left command merges the current cell with its neighbor to the left. The content of both cells is combined into one with the content of the former left cell preceding the content of the current cell.

Merging is only possible if the current cell and its left neighbor span vertically over the same rows.The resulting cell will span horizontally all the columns that were spanned by the former current cell and its left neighbor.

 Merge cell right

The Merge cell right command merges the current cell with its neighbor to the right. The content of both cells is combined into one with the content of the former right cell following the content of the current cell.

Merging is only possible if the current cell and its right neighbor span vertically over the same rows. The resulting cell will span horizontally all the columns that were spanned by the former current cell and its right neighbor.

 Merge cell up

The Merge cell up command merges the current cell with its upper neighbor. The content of both cells is combined into one with the content of the former upper cell preceding the content of the current cell.

Merging is only possible if the current cell and its upper neighbor span horizontally over the same columns. The resulting cell will span vertically over all the rows that were spanned by the former current cell and its upper neighbor.

 Merge cell down

The Merge cell down command merges the current cell with its lower neighbor. The content of both cells is combined into one with the content of the current cell preceding the content of the lower cell.

Merging is only possible if the current cell and its lower neighbor span horizontally over the same columns. The resulting cell will span vertically over all the rows that were spanned by the former current cell and its lower neighbor.

 Split cell vertical

If the current cell spans over more than one row, the Split cell vertically command splits the current cell vertically into as many cells as were spanned by the original cell.

When a cell is vertically split, the content of the original cell remains in the upper cell and the new table cells that are created below the original cell are initially empty.

Splitting is only possible if the current cell has a vertical spanning. Cells that do not span over several rows can not be split.

 Split cell horizontal

If the current cell spans over more than one row, the Split cell horizontally command splits the current cell horizontally into as many cells as were spanned by the original cell.

When a cell is horizontally split, the content of the original cell remains in the left cell and the new table cells that are created to the right of the original cell are initially empty.

Splitting is only possible if the current cell has a horizontal spanning. Cells that do not span over several columns can not be split.