TEI P5 Author Mode Actions
A variety of actions are available in the TEI P5 framework that can be added to the TEI P5 menu, the Author Custom Actions toolbar, the contextual menu, and the Content Completion Assistant.
TEI P5 Toolbar Actions
The following default actions are readily available on the TEI P5 (Author Custom Actions) toolbar when editing in Author mode (by default, they are also available in the TEI P5 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 withhi
tag and setting therend
attribute tobold
. You can use this action on multiple non-contiguous selections. - Italic
- Changes the style of the selected text to
italic
by surrounding it withhi
tag and setting therend
attribute toitalic
. You can use this action on multiple non-contiguous selections. - Underline
- Changes the style of the selected text to
underline
by surrounding it withhi
tag and setting therend
attribute toul
. You can use this action on multiple non-contiguous selections. - Insert Section
- Inserts a new section or subsection, depending on the current context. For example,
if the current context is
div1
, then adiv2
is inserted. By default, this action also inserts a paragraph element as a child node.
TEI P5 Menu Actions
In addition, the following default actions are available in the TEI P5 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:
TEI Contextual Menu Actions
In addition to many of the TEI toolbar actions and the general Author mode contextual menu actions, the following TEI 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 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.
TEI P5 Drag/Drop Actions
Dragging a file from the view or DITA Maps Manager view
and dropping it into a TEI P5 document that is edited in Author mode,
creates a link to the dragged file (the ptr
element with the
target
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 a TEI P5 document inserts a graphic element (the
graphic
element with the url
attribute) at the drop
location, similar to the Insert Image toolbar action.