DITA Map Author Mode Actions
A variety of actions are available in the DITA Map framework that can be added to the DITA menu, the Author Custom Actions toolbar, the contextual menu, and the Content Completion Assistant.
DITA Map Toolbar and Menu Actions
When a DITA map is opened in Author mode, the following default actions are available on the DITA Map Author Custom Actions toolbar (by default, they are also available in the DITA menu and in various submenus of the contextual menu):
- Insert New Topic
- Opens a New DITA topic dialog box that allows you to create a new topic and inserts a reference to it at the cursor position.
- Insert Topic Reference
- Opens the Insert Reference dialog box that allows you to insert and configure a reference to a topic at the cursor position.
- Reuse Content
- Opens the Reuse Content dialog box that allows you to insert
and configure a content reference (
conref
), or a content key reference (conkeyref
) at the cursor position. - Insert Topic Heading
- Opens the Insert Reference dialog box that allows you to insert a topic heading at the cursor position.
- Insert Topic Group
- Opens the Insert Reference dialog box that allows you to insert a topic group at the cursor position.
- Insert Relationship Table
- Opens a dialog box that allows you to configure the relationship table to be inserted. The dialog box allows you to configure the number of rows and columns of the relationship table, if the header will be generated and if the title will be added.
- Relationship Table Properties
- Allows you to change the properties of rows in relationship tables.
- Insert Relationship Row
- Inserts a new table row with empty cells. The action is available when the cursor position is inside a table.
- Insert Relationship Column
- Inserts a new table column with empty cells after the current column. The action is available when the cursor position is inside a table.
- Delete Relationship Column
- Deletes the table column where the cursor is located.
- Delete Relationship Row
- Deletes the table row where the cursor is located.
- Move Up
- Moves the selected node up one position on its same level.
- Move Down
- Moves the selected node down one position on its same level.
- Promote
- Moves the selected node up one level to the level of its parent node.
- Demote
- Moves the selected node down one level to the level of its child nodes.
DITA Menu Actions
In addition, the following default actions are available in the DITA menu when editing a DITA map in Author mode:
DITA Map Contextual Menu Actions
In addition to many of the DITA Map toolbar actions and the general Author mode contextual menu actions, the following DITA map framework-specific actions are also available in the contextual menu when editing in Author mode:
- Search References
- Finds the references to the
href
orkeys
attribute value of the topic/map reference element at the current cursor position, in all the topics from the current DITA map (opened in the DITA Maps Manager view). The current topic/map reference element must have anhref
orkeys
attribute defined to complete the search. - Show Key Definition
- Available for elements that have a
conkeyref
orkeyref
attribute set (or elements with an ancestor element that has aconkeyref
orkeyref
attribute). It computes the key name and opens the DITA map that contains the definition of the key with the element that defines that key selected.
DITA Map Drag/Drop Actions
Dragging a file from the view or DITA Maps Manager view
and dropping it into a DITA map document that is edited in Author
mode creates a link to the dragged file (a topicref
element,
chapter
, part
, etc.) at the drop location.
Open Topic from DITA Map in Author Mode
When a DITA map is opened in Author mode, you can click the icon to the left of a topic to open that particular topic in the editor.