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 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.
Insert Section
Inserts a new section or subsection, depending on the current context. For example, if the current context is div1, then a div2 is inserted. By default, this action also inserts a paragraph element as a child node.
Insert Paragraph
Insert a new paragraph element at current cursor position.
Insert Image
Inserts an image reference at the cursor position. Depending on the current location, an image-type element is inserted.
Insert List Item
Inserts a list item in the current list type.
Insert Ordered List
Inserts an ordered list at the cursor position. A child list item is also automatically inserted by default.
Insert Itemized List
Inserts an itemized list at the cursor position. A child list item is also automatically inserted by default.
Sort
Sorts cells or list items in a table.
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 Row Below
Inserts a new table row with empty cells below the current row. This action is available when the cursor is positioned inside a table.
Insert Column After
Inserts a new table column with empty cells after the current column. This action is available when the cursor is positioned inside a table.
Insert Cell
Inserts a new empty cell depending on the current context. If the cursor is positioned between two cells, Oxygen XML Editor a new cell at cursor position. If the cursor is inside a cell, the new cell is created after the current cell.
Delete Column
Deletes the table column located at cursor position.
Delete Row
Deletes the table row located at cursor position.
Table Join/Split Drop-Down Menu
The following join and split actions are available from this menu:
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 cursor is positioned between two cells.
Join Cell Above
Joins the content of the cell from the current cursor 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 cursor 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 cursor 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 cursor 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 cursor 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 cursor 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.

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:
Insert Row Above
Inserts a new table row with empty cells above the current row. This action is available when the cursor is positioned inside a table.
Insert Rows
Opens a dialog box that allows you to insert any number of rows and specify the position where they will be inserted (Above or Below the current row).
Insert Column Before
Inserts a column before the current one.
Insert Columns
Opens a dialog box that allows you to insert any number of columns and specify the position where they will be inserted (Above or Below the current column).
ID Options
Opens the ID Options dialog box that allows you to configure options for generating IDs in Author mode. The dialog box includes the following:
ID Pattern
The pattern for the ID values that will be generated. This text field can be customized using constant strings and most of the supported Editor Variables.
Element name or class value to generate ID for
The elements for which ID values will be generated, specified using class attribute values. To customize the list, use the Add, Edit, or Remove buttons.
Auto generate IDs for elements
If enabled, Oxygen XML Editor will automatically generate unique IDs for the elements listed in this dialog box when they are created in Author mode.
Remove IDs when copying content in the same document
Allows you to control whether or not pasted elements that are listed in this dialog box should retain their existing IDs when copying content in the same document. To retain the element IDs, disable this option.
Generate IDs
Oxygen XML Editor generates unique IDs for the current element (or elements), depending on how the action is invoked:
  • When invoked on a single selection, an ID is generated for the selected element at the cursor position.
  • When invoked on a block of selected content, IDs are generated for all top-level elements and elements from the list in the ID Options dialog box that are found in the current selection.
Note: The Generate IDs action does not overwrite existing ID values. It only affects elements that do not already have an id attribute.
Refresh References
You can use this action to manually trigger a refresh and update of all referenced resources.
Tags display mode Submenu
Full Tags with Attributes - Displays full tag names with attributes for both block level and in-line level elements.
Full Tags - Displays full tag names without attributes for both block level and in-line level elements.
Block Tags - Displays full tag names for block level elements and simple tags without names for in-line level elements.
Inline Tags - Displays full tag names for inline level elements, while block level elements are not displayed.
Partial Tags - Displays simple tags without names for in-line level elements, while block level elements are not displayed.
No Tags - No tags are displayed. This is the most compact mode and is as close as possible to a word-processor view.
Profiling/Conditional Text Submenu
Edit Profiling Attributes - Allows you to configure the profiling attributes and their values.
Show Profiling Colors and Styles - Select this option to turn on conditional styling.
Show Profiling Attributes - Select this option to turn on conditional text markers. They are displayed at the end of conditional text blocks, as a list of attribute name and their currently set values.
Show Excluded Content - When this option is enabled, the content filtered by the currently applied condition set is greyed-out. To show only the content that matches the currently applied condition set, disable this option.
List of all profiling condition sets that match the current document type - You can click a listed condition set to activate it.
Profiling Settings - Opens the profiling options preferences page, where you can manage profiling attributes and profiling conditions sets. You can also configure the profiling styles and colors options from the colors/styles preferences page and the attributes rendering preferences page.

TEI P5 Drag/Drop Actions

Dragging a file from the Project 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.