XHTML Author Actions

A variety of actions are available in the XHTML framework that can be added to the XHTML menu, the Author custom actions toolbar, the contextual menu, and the Content Completion Assistant. The following default actions are included in the toolbar and the XHTML menu and are readily available when editing in Author mode (most of them are also available, by default, in the contextual menu):

Bold
Changes the style of the selected text to bold by surrounding it with b tag. You can use this action on multiple non-contiguous selections.
Italic
Changes the style of the selected text to italic by surrounding it with i tag. You can use this action on multiple non-contiguous selections.
Underline
Changes the style of the selected text to underline by surrounding it with u tag. You can use this action on multiple non-contiguous selections.
Insert a hypertext link
Inserts an a element with an href attribute at the caret position. You can type the URL of the reference you want to insert or use the Browse drop-down list to select it using one of the following options:
  • Browse for local file - Displays the Open dialog box to select a local file.
  • Browse for remote file - Displays the Open URL dialog box to select a remote file.
  • Browse for archived file - Opens the Archive Browser to select a file from an archive.
  • Browse Data Source Explorer - Open the Data Source Explorer to select a file from a connected data source.
  • Search for file - Opens the Find Resource dialog box to search for a file.
Insert image reference
Inserts a graphic object at the caret position. This is done by inserting an img element regardless of the current context. The following graphical formats are supported: GIF, JPG, JPEG, BMP, PNG, SVG.
Headings
A drop-down list that includes actions for inserting h1, h2, h3, h4, h5, h6 elements.
Insert a new paragraph
Insert a new paragraph at current cursor position.
Insert a MathML equation
Opens the XML Fragment Editor that allows you to insert and edit MathML notations.
Insert a step or list Item
Inserts a new step or list item in the current list type.
Insert an unordered list at the caret position
Inserts an itemized list. A child list item is also automatically inserted by default.
Insert an ordered list at the caret position
Inserts an ordered list. A child list item is also automatically inserted by default.
Insert a definition list at the caret position
Inserts a definition list (dl element) with one list item (a dt child element and a dd child element).
Sort
Sorts a table selection.
Insert Table
Opens a dialog box that allows you to configure and insert a table. You can generate a header and footer, set the number of rows and columns of the table and decide how the table is framed.
Insert a new table row below the current row
Inserts a new table row with empty cells below the current row. This action is available when the caret is positioned inside a table.
Insert a new table row above the current row
Inserts a new table row with empty cells above the current row. This action is available when the caret is positioned inside a table.
Insert a new table column after the current column
Inserts a new table column with empty cells after the current column. This action is available when the caret is positioned inside a table.
Insert a table cell
Inserts a new empty cell depending on the current context. If the caret is positioned between two cells, Oxygen XML Editor a new cell at caret position. If the caret is inside a cell, the new cell is created after the current cell.
Delete a table column
Deletes the table column located at caret position.
Delete a table row
Deletes the table row located at caret position.
Table Join/Split Drop-Down List
The following link actions are available from this list:
  • Join Row Cells - Joins the content of the selected cells. The operation is available if the selected cells are from the same row and they have the same row span. The action is also available when the selection is missing, but the caret is positioned between two cells.
  • Join Cell Above - Joins the content of the cell from the current caret position with the content of the cell above it. This action works only if both cells have the same column span.
  • Join Cell Below - Joins the content of the cell from the current caret position with the content of the cell below it. This action works only if both cells have the same column span.
    Note: When you use Join Cell Above and Join Cell Below, Oxygen XML Editor deletes the source row is case it remains empty. The cells that span over multiple rows are also updated.
  • Split Cell To The Left - Splits the cell from the current caret position in two cells, inserting a new empty table cell to the left. This action works only if the current cell spans over more than one column.Oxygen XML Editor decreases the column span of the source cell with one.
  • Split Cell To The Right- Splits the cell from the current caret position in two cells, inserting a new empty table cell to the right. This action works only if the current cell spans over more than one column.Oxygen XML Editor decreases the column span of the source cell with one.
  • Split Cell Above - Splits the cell from current caret position in two cells, inserting a new empty table cell above. This action works only if the current cell spans over more than one row. Oxygen XML Editor decreases the column span of the source cell with one.
  • Split Cell Below - Splits the cell from current caret position in two, inserting a new empty table cell below. This action works only if the current cell spans over more than one row. Oxygen XML Editor decreases the column span of the source cell with one.

Dragging a file from the Project view or DITA Maps Manager view and dropping it into an XHTML document that is edited in Author mode creates a link to the dragged file (the a element with the href attribute) at the drop location. Dragging an image file from the default file system application (Windows Explorer on Windows or Finder on Mac OS X, for example) and dropping it into an XHTML document inserts an image element (the img element with the src attribute) at the drop location, similar to the Insert Image Reference toolbar action.