XHTML Author Mode 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.
XHTML Toolbar Actions
The following default actions are readily available on the XHTML (Author Custom Actions) toolbar when editing in Author mode (by default, they are also available in the XHTML menu and some of them are in various submenus of the contextual menu):
- Bold
- Changes the style of the selected text to
bold
by surrounding it withb
tag. You can use this action on multiple non-contiguous selections. - Italic
- Changes the style of the selected text to
italic
by surrounding it withi
tag. You can use this action on multiple non-contiguous selections. - Underline
- Changes the style of the selected text to
underline
by surrounding it withu
tag. You can use this action on multiple non-contiguous selections. - Link
- Inserts an
a
element with anhref
attribute at the cursor position. You can type the URL of the reference you want to insert or use the Browse drop-down menu 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
- Inserts a graphic object at the cursor 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 Drop-down Menu
- A drop-down menu that includes actions for inserting
h1
,h2
,h3
,h4
,h5
,h6
elements. - Insert a definition list at the cursor position
- Inserts a definition list (
dl
element) with one list item (adt
child element and add
child element). You can also use this action to convert selected paragraphs or other types of lists to a definition list.
XHTML Menu Actions
In addition, the following default actions are available in the XHTML menu when editing in Author mode (some of them are also available in the contextual menu):
- Table submenu
- In addition to the table actions available on the toolbar, the following actions are
available in this submenu:
XHTML Contextual Menu Actions
In addition to many of the XHTML toolbar actions and the general Author mode contextual menu actions, the following XHTML framework-specific actions are also available in the contextual menu when editing in Author mode:
- Image Map Editor
- This action is available in the contextual menu when it is invoked on an image. This action applies an image map to the current image (if one does not already exist) and opens the Image Map Editor dialog box. This feature allows you to create hyperlinks in specific areas of an image that will link to various destinations.
- Table Actions
- The following table editing actions are available in the contextual menu when it is
invoked on a table:
- Delete Row(s)
- Deletes the table row located at cursor position or multiple rows in a selection.
- Delete Column(s)
- Deletes the table column located at cursor position or multiple columns in a selection.
- Join Cells
- Joins the content of the selected cells (both horizontally and vertically).
- Split Cell
- Splits the cell at the cursor location. If Oxygen XML Developer plugin detects more than one option to split the cell, a dialog box will be displayed that allows you to select the number of rows or columns to split the cell into.
- Sort
- Sorts cells or list items in a table.
- Table Properties
- Opens the Table properties dialog box that allows you to configure properties of a table (such as frame borders).
- Other Actions submenu
- This submenu give you access to all the usual contextual menu actions.
XHTML Drag/Drop Actions
Dragging a file from the 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 toolbar action.