Chapter 11. The table editor

Table of Contents
11.1. Inserting a new table
11.2. Starting the table editor
11.3. Introduction to table editing
11.4. The table editor toolbar
11.5. Tables in DTDless XML documents

For editing tables in your documents, you can use epcEdit's built-in table editor. The table editor provides a preview of the layout of a table structure, simplifies manipulation of the table, and allows you to edit the table content in the layout view.

In order to use the table editor, your document's DTD must include a table model that is compatible with the HTML table format or with the CALS table model. Both table models describe a table in terms of table rows (TR in HTML, ROW in the CALS table model) and table cells (TD in HTML, ENTRY in CALS). The table content is placed in the table cells and the table layout is controlled by the arrangement of the table cells and table rows in combination with attribute values that govern additional properties of table columns, rows, and cells.

The table editor provides means of manipulating the table layout and lets you concentrate on the table content in the table cells. When the table editor is activated, it displays the table cells in their positions in the table and shows the content of each table cell at the appropriate location in the table layout.

11.1. Inserting a new table

To insert a new table into your document, follow these steps:

  1. Position the insertion cursor at the location where you want to insert the table.

  2. Choose Table->Insert Table from the main menu.

  3. A dialog (see Figure 15-37) will appear for defining the initial characteristics of the new table.

  4. Select the appropriate options in this dialog and click on the OK button.

The table structure of the new element will be inserted into your document. You can now edit the table content and table layout by using the table editor.