Default editor – Tables

Key point: Create or edit tables using the default editor.

Creating/editing a table using the editing toolbar

You can create or edit a table using the  icon in the editing toobar. Clicking the icon reveals a table drop-down.

Table icon

  • To create a new table, click the  icon then hold the cursor over Table in the table drop-down.
  • Move the mouse to the right to select the number of columns and down to select the number of rows. The number of each is indicated at the bottom of the display as you move the mouse.
  • Click the mouse to insert the table. By default, your cursor is in the first cell in the first column. Above the table, you see a horizontal menu with icons. These icons are duplicates of some of the options available in the table drop-down and can make editing quicker.

Resize a table or column manually

  • Resize a table manually – click the table to select it, then hold the cursor over any corner handle on the table until you see the double-headed arrow. Then, click and drag the table boundary until the table is the size you want. The height of the rows and columns is also adjusted.
  • Resize a column width manually – hold the cursor at the right boundary of a column until you see the column boundary icon. Then click and drag the boundary until the column is the size that you want.  

Table properties option

You can then use the Table properties option in the table drop-down to set properties for your table.

  • Click to open the Table properties dialog where you can select:
    • General option applies to the whole table:
    • Individual column options, first select a column:
      • Add/edit the Width.
      • Add/edit Alignment (Left, Center, Right, Justify).
      • Add/edit the Role.
      • Add/edit the Body part (Body, Header, Footer).

Cell option

  • Click Cell to see options to modify the current cell:
    • Cell properties – click to open the Cell properties dialog where you can set a Role, set the horizontal alignment or make the cell a Header cell.
    • Merge cell – first select cells, then click to merge the cells.
    • Split cell – first click in a merged cell, then click to split cells.

Row option

  • Click Row to see options to modify the current row:
    • Insert row before – click to insert a row before the currently selected row.
    • Insert row after – click to insert a row after the currently selected row.
    • Delete row – click to delete the currently selected row.
    • Row properties – click to open the Row properties dialog where you can add/edit the Role or add/edit the Part (Body, Header, Footer).
    • Cut row – select one or more rows, then click to remove the row from the table and place the row in your clipboard. You can then use the following Paste options.
    • Copy row – select one or more rows, then click to place the row(s) in your clipboard. You can then use the following Paste options.
    • Paste row before – click in a row, then click to paste the row(s) from your clipboard above the currently selected row.
    • Paste row after – click in a row, then click to paste the row(s) from your clipboard following the currently selected row.

Column option

  • Click Column to see options to modify the current column:
    • Insert column before – click to insert a column before the currently selected column.
    • Insert column after – click to insert a column after the currently selected column.
    • Delete column – click to delete the currently selected column.
    • Column properties – click to open the Column properties dialog where you can add/edit: the Width, Alignment (Left, Center, Right, Justify), Role and the Part (Body, Header, Footer).
    • Cut column – select one or more columns, then click to remove the column from the table and place the column in your clipboard. You can then use the following Paste options.
    • Copy column – select one or more columns, then click to place the columns in your clipboard. You can then use the following Paste options.
    • Paste column before – click in a column, then click to paste the column(s) from your clipboard before the currently selected column.
    • Paste column after – click in a column, then click to paste the column(s) from your clipboard following the currently selected column.

Delete table option

  • Click anywhere in a table, then click Delete table in the table drop-down to delete the whole table.

Editing a table using the editing context menu

Tables can be edited using the editing context menu.

Most of the options are duplicates of the options available in the table drop-down in the editing toolbar, with the addition of:

Edit role option

  • Click Edit role to open the Set role dialog where you can Add/Edit/Remove a role for the table.

Table role

A role is a custom value that can be used to clarify the purpose of a table, row, column or a particular cell, for formatting or validation. It is functionally equivalent to a table style in Word. A role can be added in the properties option for a Table, Row, Cell or Column, or it can be added by using the Edit role option in the editing context menu.

The roles available to use can be configured in the template configuration page, so that an author can select from predefined roles to ensure they are used consistently throughout your documents.

The role is restricted to the following characters:

a-zA-Z0-9_-

Table caption

You can opt to add a caption to a table to describe the information it contains.

Table captions don’t contain paragraphs, but can contain character styles, inline labels, xrefs and links when the document is uploaded. However, editing the table properties removes all this formatting.

Table parts

Header

A value of Header can be applied to a row or column in a table. It applies header styling and moves a row to the top of the table.

Body

A value of Body can be applied to a row or column in a table. It applies body styling.

Footer

A value of Footer can be applied to a row or column in a table. It applies footer styling and moves a row to the bottom of the table.