4. The XHTML menu
Prev |  | Next

## 4. The XHTML menu

Table editing commands fully support HTML tables. Most table editing commands can be repeated by using Edit → Repeat (Ctrl+A).

Menu | Item | Description
--- | --- | ---
Column 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.
Sort Rows | Sort all the rows of the table according to the string values of the cells of the “selected column”. (The “selected column” is the column containing specified cell.) A dialog box is displayed allowing to specify the following sort options: Order Dictionary is the language-specific alphabetical order. Example: (`Charles`, `best`, `Albert`) is sorted as (`Albert`, `best`, `Charles`). Numeric. The string value of a cell is expected to start with a number. Example: (`+15.0%`, `1.50%`, `-20%`) is sorted as (`-20%`, `1.50%`, `+15.0%`). Lexicographic is the order of Unicode characters. Example: (`Charles`, `best`, `Albert`) is sorted as (`Albert`, `Charles`, `best`). Dictionary and Numeric orders will cause this menu item to fail, unless the language of the table can be determined (i.e. lookup for the `lang` or `xml:lang` attribute). Direction Ascending means: A to Z, low to high. Descending means: Z to A, high to low. Note that: Header/footer rows (i.e. `thead`) are never sorted. The contents of row groups (i.e. `tbody`) are sorted separately.
Row 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. ### Note Note 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.
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:

Paste As

  The entries of this submenu allow to paste the plain text copied to the clipboard, typically using a third-party word processor or spreadsheet, as:

  - one or more paragraphs,

  - OR a `pre` element,

  - OR one or more list items,

  - OR an itemized list,

  - OR one or more table rows,

  - OR a table.

  The last two menu entries assume that each text line specifies a table row and that, within a text line, the contents of the table cells are separated by tab characters.

  ### Tip

  If you need to paste the copied text as an ordered list, first paste this text as an itemized list then convert the pasted list to an ordered list using Edit → Convert (Ctrl+T).

  The above menu entries paste elements after the implicitly or explicitly selected element.

  The following entries of this submenu allow to paste the image copied to the clipboard as:

  - `img`,

  - `div` (containing an `img`)

  - `figure` (XHTML5 only).

  Except for menu entry "img" which replaces the selection or pastes an element at caret position (like Edit → Paste), the other menu entries paste an element after the implicitly or explicitly selected element.

Move Up

  Move selected element up, that is, swap it with its preceding sibling node. Requires the element to be explicitly selected.

Move Down

  Move selected element down, that is, swap it with its following sibling node. Requires the element to be explicitly selected.

Preview

  Preview the document being edited using the ``default viewer'' helper application. The default viewer is typically a Web browser. This helper application is specified in the Preferences dialog box, Helper Applications section, Default viewer field.

### 4.1. Convert Document sub-menu

Convert to RTF (Word 2000+)

  Converts the document being edited to RTF (Rich Text Format) using XMLmind XSL-FO Converter (see http://www.xmlmind.com/foconverter/). The document generated by this command can be edited and printed using Microsoft® Word 2000 and above.

Convert to WordprocessingML (Word 2003+)

  Converts the document being edited to WordprocessingML using XMLmind XSL-FO Converter. The document generated by this command can be edited and printed using Microsoft® Word 2003 and above.

Convert to Office Open XML (Word 2007+)

  Converts the document being edited to Office Open XML (`.docx` file) using XMLmind XSL-FO Converter. The document generated by this command can be edited and printed using Microsoft® Word 2007 and above.

Convert to OpenDocument (OpenOffice.org 2+)

  Converts the document being edited to OpenDocument (`.odt` file) using XMLmind XSL-FO Converter. The document generated by this command can be edited and printed using OpenOffice.org 2 and above.

Print PostScript

  Converts the document being edited to PostScript® using RenderX XEP (see http://www.renderx.com/), if its plug-in has been installed, and Apache FOP otherwise (see http://xmlgraphics.apache.org/fop/), and then sends the generated file to the chosen printer.

Convert to PDF

  Converts the document being edited to PDF (Adobe® Portable Document Format, also known as Acrobat®) using RenderX XEP (see http://www.renderx.com/), if its plug-in has been installed, and Apache FOP otherwise (see http://xmgraphicsl.apache.org/fop/).

All the above Convert commands display the URL chooser dialog box rather than the standard file chooser dialog box. That is, you must specify the URL (Uniform Resource Locator) of a save file.

Note that these commands can create directories on the fly, if needed to. For example, if you specify `http://www.acme.com/docs/report43/mydoc.pdf` as the URL of the save file and if directory `report43/` does not exist, this directory will be created during command execution.

Prev |  | Next
3. CSS stylesheets found in the View menu | Home | 5. The XHTML toolbar