The following actions are available in the contextual menu, the TEI P5
submenu of the main menu, and in the Author custom actions toolbar:
Bold
- Changes the style of the selected text to bold by surrounding it with
hi tag and setting the rend attribute to
bold. You can use this action on multiple non-contiguous
selections.
Italic
- Changes the style of the selected text to italic by surrounding it with
hi tag and setting the rend attribute to
italic. You can use this action on multiple non-contiguous
selections.
Underline
- Changes the style of the selected text to underline by surrounding it
with hi tag and setting the rend attribute to
ul. You can use this action on multiple non-contiguous selections.
- Browse reference manual
- Opens in your web browser of choice a reference to the documentation of the XML element
closest to the caret position. When editing DITA documents, this action is available in
the contextual menu of the editing area (under the About Element
sub-menu) and in the documentation tip displayed by the Content Completion
Assistant.
Insert
Section
- Inserts a new section / subsection, depending on the current context. For example if the
current context is div1 then a div2 will be inserted and
so on.
Insert image
reference
- inserts an
image reference at the caret position;
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 an
ordered list at the caret position
- Inserts an ordered list. A child list item is also automatically inserted by
default.
- Generate IDs
-
This action generates and sets unique IDs for:
- the element at caret position
- all top-level elements found in the current selection. Additionally, if the
selection contains elements from the list, they will all receive an unique ID
Note: IDs already set are preserved.
The action is available both in the contextual menu and in the
TEI main menu.
- ID Options
- Action available in the main menu, allows you to specify the elements for which Oxygen XML Editor generates an unique ID if the Auto generate IDs for
elements option is enabled. The configurable ID value pattern can accept
most of the application supported editor
variables.
To keep an already set element ID when copying content in the same
document, make sure the Remove IDs when copying content in the same
document option is not checked.
- Search References
- Finds the references to the id attribute value of the selected element
in all the topics from the current DITA map (opened in the DITA Maps
Manager view). The default shortcut of the action is Ctrl Shift G
(Command Shift G on OS X) and can be
changed in the DITA Topic document type.
Also, if you drag and drop a file from the
Project view or DITA Maps Manager view into a TEI P5 document that is
edited in Author mode, it will create 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 Reference toolbar action.