Table editing commands fully support CALS tables as well as HTML tables.
| Menu | Item | Description |
|---|---|---|
For a command in this menu to work, click anywhere inside a cell (or explicitly select a cell or an element having a cell ancestor). | Insert Before | Insert a column before column containing specified cell. |
| Insert After | Insert a column after column containing specified cell. | |
| Cut | Cut to the clipboard the column containing specified cell. | |
| Copy | Copy to the clipboard the column containing specified cell. | |
| Paste Before | Paste copied or cut column before column containing specified cell. | |
| Paste After | Paste copied or cut column after column containing specified cell. | |
| Delete | Delete the column containing specified cell. | |
For a command in this menu to work, click anywhere inside a cell (or explicitly select a cell or an element having a cell ancestor) or explicitly select a row. | Insert Before | Insert a row before row containing specified cell. NoteNote that row editing commands are enabled, not only by implicitly or explicitly selecting a table cell or any of its descendants, but also by explicitly selecting a table row. |
| Insert After | Insert a row before row containing specified cell. | |
| Cut | Cut to the clipboard the row containing specified cell. | |
| Copy | Copy to the clipboard the row containing specified cell. | |
| Paste Before | Paste copied or cut row before row containing specified cell. | |
| Paste After | Paste copied or cut row after row containing specified cell. | |
| Delete | Delete the row containing specified cell. | |
For a command in this menu to work, click anywhere inside a cell (or explicitly select a cell or an element having a cell ancestor). | Increment Column Span | Increment the number of columns spanned by specified cell. |
| Decrement Column Span | Decrement the number of columns spanned by specified cell. | |
| Increment Row Span | Increment the number of rows spanned by specified cell. | |
| Decrement Row Span | Decrement the number of rows spanned by specified cell. |
Other commands:
Convert informal<element> to/from <element>Converts an ``informal element'' to/from a ``formal element'' having a title.
This command currently works for informaltable/table, informalfigure/figure and informalexample/example.
An element with an ID, IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects opposite link end (if found). For example, will scroll to and select <section id="foo"> if the command has been invoked with <link linkend="foo"> selected.
An element with an IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects next similar link (if found). For example, will scroll to and select following <callout arearefs="foo bar"> if the command has been invoked with <link linkend="foo"> selected.
An element with an IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects previous similar link (if found). For example, will scroll to and select preceding <link linkend="foo"> if the command has been invoked with <link linkend="foo"> selected.
Move UpMove selected element up, that is, swap it with its preceding sibling node. Requires the element to be explicitly selected.
Move DownMove selected element down, that is, swap it with its following sibling node. Requires the element to be explicitly selected.
PromoteTo make it simple, increase the level of selected subsection (e.g. a sect2 element is converted to a sect1 element).
Requires a ``subsection'' (section, sect1, sect2, sect3, sect4 or sect5) or an element which is contained in the body[1] of the section to be explicitly selected.
If a subsection is selected, this subsection becomes a sibling of its parent section. Example: sect2 element having id="C" is ``promoted'':
<sect1 id="A">...
<sect2 id="B">...
<sect2 id="C">...
<sect2 id="D">...This results in:
<sect1 id="A">...
<sect2 id="B">...
<sect1 id="C">...
<sect2 id="D">...If another type of child element is selected, this element is wrapped in a newly created section which becomes a sibling of its parent section. Example: para element having id="C" is ``promoted'':
<sect1 id="A">...
<para id="B">...
<para id="C">...
<sect2 id="D">...This results in:
<sect1 id="A">...
<para id="B">...
<sect1>...
<para id="C">...
<sect2 id="D">...
DemoteTo make it simple, decrease the level of selected section (e.g. a sect1 element is converted to a sect2 element).
Requires a ``section'' (chapter, appendix, section, sect1, sect2, sect3 or sect4) or an element which is contained in the body[2] of the section to be explicitly selected.
If a section is selected and if this section is preceded by a section of the same type, this section becomes a subsection of its preceding sibling. Example: sect1 element having id="C" is ``demoted'':
<sect1 id="A">...
<para id="B">...
<sect1 id="C">...
<para id="D">...This results in:
<sect1 id="A">...
<para id="B">...
<sect2 id="C">...
<para id="D">...If a section is selected and if this section is not preceded by a section of the same type, a new section is created and selected section becomes a subsection of this new section. Example: sect2 element having id="C" is ``demoted'':
<sect1 id="A">...
<para id="B">...
<sect2 id="C">...
<para id="D">...This results in:
<sect1 id="A">...
<para id="B">...
<sect2>...
<sect3 id="C">...
<para id="D">...If another type of child element is selected, this element and all the other ``body elements'' which follow it are wrapped in a newly created subsection. Example: para element having id="C" is ``demoted'':
<sect1 id="A">...
<para id="B">...
<para id="C">...
<para id="D">...
<sect2 id="E">...This results in:
<sect1 id="A">...
<para id="B">...
<sect2>...
<para id="C">...
<para id="D">...
<sect2 id="E">...