The following default actions are available in the DITA (Author Custom Actions) toolbar:
Bold
Italic
Underline
Link
Actions Drop-Down ListFigure: Insert a Cross Reference in a DITA Document
You can also reference elements at sub-topic level by pressing the Sub-topic button and choosing the target.
All keys which are presented in the dialog box are gathered from the current opened DITA map. Elements which have the keyref attribute set are displayed as links. The current opened DITA map is also used to resolve references when navigating keyref links in the Author mode. Image elements which use key references are rendered as images.
Insert Image
Reference
Insert
Section Drop-Down List
Insert
Section - Inserts a new section / step in the document, depending on the
current context. A new section will be inserted in either one of the following
contexts: A new step will be inserted in either one of the following contexts:
Insert
Concept - Inserts a new concept. Concepts provide background information
that users must know before they can successfully work with a product or interface.
This action is available in one of the following contexts:
Insert
Task - Inserts a new task. Tasks are the main building blocks for
task-oriented user assistance. They generally provide step-by-step instructions that
will enable a user to perform a task. This action is available in one of the following
contexts:
Insert Topic -
Insert
Reference - Inserts a new reference in the document. A reference is a
top-level container for a reference topic. This action is available in one of the
following contexts:
Insert a new
paragraph
Insert DITA Content
ReferenceInserts a content reference at the caret position.
The DITA conref attribute provides a mechanism for reuse of content fragments. The conref attribute stores a reference to another element and is processed to replace the referencing element with the referenced element. The element containing the content reference acts as a placeholder for the referenced element. The identifier for the referenced element must be either absolute or resolvable in the context of the referencing element. See here for more details.
Oxygen XML Author displays the referenced content of a DITA conref if it can resolve it to a valid resource. If you have URI's instead of local paths in the XML documents and your DITA OT transformation needs an XML catalog to map the URI's to local paths you have to add the catalog to Oxygen XML Author. If the URI's can be resolved the referenced content will be displayed in Author mode and in the transformation output.
A content reference is inserted with the action Insert a DITA Content Reference available on the toolbar Author custom actions and on the menu .
Figure: Insert Content Reference Dialog Box
In the URL chooser you set the URL of the file from which you want to reuse content. Depending on the Target type filter you will see a tree of elements which can be referenced (which have ID's). For each element the XML content is shown in the preview area. The Conref value is computed automatically for the selected tree element. After pressing Insert, an element with the same name as the target element and having the attribute conref with the value specified in the Conref value field will be inserted at caret position.
According to the DITA 1.2 specification the conrefend attribute can be used to specify content reference ranges. This is a very useful feature when referencing multiple consecutive steps or list items. If you use multiple contiguous sibling selection the conrefend value will also be set to the value of the last selected ID path. Oxygen XML Author will present the entire referenced range as read-only content.
Insert Content
Key ReferenceAs stated in the DITA 1.2 specification the conkeyref attribute provides a mechanism for reuse of content fragments similar with the conref mechanism. Keys are defined at map level which can be referenced using conkeyref. The conkeyref attribute contains a key reference to another element and is processed to replace the referencing element with the referenced element. The element containing the content key reference acts as a placeholder for the referenced element. The identifier for the referenced element must be either absolute or resolvable in the context of the referencing element.
Oxygen XML Author displays the key referenced content of a DITA conkeyref if it can resolve it to a valid resource in the context of the current opened DITA map.
A content key reference is inserted with the action Insert a DITA Content Key Reference available on the toolbar Author custom actions and on the menu .
Figure: Insert Content Key Reference Dialog Box
To reference target elements at sub-topic level just press the Sub-topic button and choose the target.
Insert a step or
list item
Insert an
unordered list at the caret position
Insert an
ordered list at the caret position
Sort
Insert
Table
Insert
Row
Insert
Column
Insert
Cell
Delete
Column
Delete
Row
Edit Table
Properties
Table
Join/Split Drop-Down List
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 the cell from the current caret
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 caret
position with the content of the cell below it. This action works only if both cells
have the same column span.
Join Cell
Above and
Join Cell Below, Oxygen XML Author
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 caret
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 Author
decreases the column span of the source cell with one.
Split Cell To The Right- Splits the cell from the current caret
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 Author
decreases the column span of the source cell with one.
Split
Cell Above - Splits the cell from current caret 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 Author decreases the column span of the
source cell with one.
Split Cell Below - Splits the cell from current caret 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 Author decreases the column span of the
source cell with one.
Refresh
referencesIn addition, the following default actions are available from the contextual menu:
The action is available both in the contextual menu and in the DITA main menu.
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.
Dragging a file from the Project view or DITA Maps Manager view and dropping it into a DITA document that is edited in Author mode, creates a link to the dragged file (the xref DITA 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 a DITA document inserts an image element (the image DITA element with the href attribute) at the drop location.