The specific actions for TEI ODD documents are:
Bold - Changes the style of
the selected text to bold by surrounding it with
hi tag and setting the rend attribute to
bold.
Italic - Changes the
style of the selected text to italic by surrounding it with
hi tag and setting the rend attribute to
italic.
Underline - Changes
the style of the selected text to underline by surrounding it with
hi tag and setting the rend attribute to
ul.Note:
Bold, Italic, and
Underline are toggle actions.
For all of the above actions, if there is no selection, then a new specific
tag will be inserted. These actions are available in any document
context.
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
Paragraph - Inserts a new paragraph depending on the current
context. If current context is a paragraph context (one of the ancestors of the
element at caret position is p) then a new paragraph will be
inserted after the paragraph at caret. Otherwise a new paragraph is inserted at
caret position.
Insert Image -
Inserts a graphic object at the caret position. The following dialog is displayed
allowing the user to specify the entity that refers the image
itself.
Insert Ordered
List - Inserts an ordered list (list element with
type attribute set to ordered) with one list
item (item element).
Insert Itemized
List - Inserts an unordered list (list element with
type attribute set to bulleted) with one list
item (item element).
Insert List
Item - Inserts a new list item for in any of the above two list
types.
Insert Table -
Opens a dialog that allows you to configure the table to be inserted. The dialog
allows the user to configure the number of rows and columns of the table and if the
header will be generated.
Insert Row
- Inserts a new table row with empty cells. The action is available when the caret
position is inside a table.
Insert
Column - Inserts a new table column with empty cells after the
current column. The action is available when the caret position is inside a
table.
Insert
Cell - Inserts a new empty cell depending on the current context. If
the caret is positioned between two cells, a new one will be inserted at caret's
position. If the caret is inside a cell, then the new one will be created after the
current cell.
Delete
Column - Deletes the table column where the caret is located.
Delete Row -
Deletes the table row where the caret is located.
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 cell from current caret position with that of the cell above
it. Note that this action works only if both cells have the same column span.
Join Cell Below
- Joins the content of cell from current caret position with that of the cell below
it. Note that this action works only if both cells have the same column span.
Split Cell To The
Left - Splits the cell from current caret position in two, inserting
a new empty table cell to the left. Note that this action works only if the current
cell spans over more than one column. The column span of the source cell will be
decreased with one.
Split Cell To The
Right - Splits the cell from current caret position in two,
inserting a new empty table cell to the right. Note that this action works only if
the current cell spans over more than one column. The column span of the source cell
will be decreased with one.
Split Cell
Above - Splits the cell from current caret position in two,
inserting a new empty table cell above. Note that this action works only if the
current cell spans over more than one row. The row span of the source cell will be
decreased with one.
Split Cell
Below - Splits the cell from current caret position in two,
inserting a new empty table cell below. Note that this action works only if the
current cell spans over more than one row. The row span of the source cell will be
decreased with one.
- Generate IDs - Available in the
contextual menu only, this action allows you to generate an unique ID for the
element at caret position. If the element already has an id set, it is
preserved. Further options are offered in the ID Options dialog, available in the TEI ODD main menu. Here you can specify the elements for which
Oxygen XML Author plugin
generates an ID if the Auto generate ID's for elements is enabled. If you want to keep already set element id's when copying content in the same document, make sure the Remove ID's when copying content in the same document option is not checked.
All actions described above are available in the contextual menu, the TEI ODD submenu of the main menu or in the Author custom actions toolbar.
A drag and drop with a file from the Project view or from the DITA Maps Manager view to a TEI ODD document that is edited in Author mode will create a link to the dragged file (the ptr element with the target attribute) at the drop location.