Edit online

Oxygen XML Web Author includes a variety of editing actions that are available on the toolbar and from the contextual menu (on desktop devices).

Review Actions Toolbar

The Review toolbar contains actions to assist you with review tasks. On a desktop device, some of these actions are also available in the contextual menu.

Figure 1. Review Toolbar
The actions include:
Toggle Change Tracking
Toggles Change Tracking mode on or off.
Accept Change (Available when invoked on a change)
Available on changes when Change Tracking is enabled. It accepts the tracked change located at the cursor position. For an insert change, it means keeping the inserted text and for a delete change, it means removing the content from the document.
Reject Change (Available when invoked on a change)
Available on changes when Change Tracking is enabled. Rejects the tracked change located at the cursor position. For an insert change, it means removing the inserted text and for a delete change, it means preserving the original content from the document.
Add Comment
Allows you to insert a comment on a selected fragment of text. After you add a comment, the content where the comment was added is highlighted in the document and you can see the comment by hovering over the highlighted content or in the Review view.
Edit Comment (Available when invoked on a comment)
Opens the Edit Comment dialog box that allows you to edit the selected comment.
Remove Comment (Available when invoked on a comment)
Removes a selected comment.
Previous Marker
Navigates to the previous change or comment.
Next Marker
Navigates to the next change or comment.
Track Changes Visualization Modes Drop-down Menu
This drop-down menu includes specialized actions that allow you to switch between the following visualization modes for the Track Changes feature:
  • View All Changes/Comments - This mode is active by default. When you use this mode, all tracked changes are represented.
  • View Final - This mode offers a preview of the document as if all tracked changes (both inserted and deleted) were accepted.
  • View Original - This mode offers a preview of the document as if all tracked changes (both inserted and deleted) were rejected. If you attempt to edit the document in this mode, the view mode will switch to View All Changes/Comments.

Framework-Specific Actions Toolbar

Depending on the type of document you are editing, the toolbar and contextual menu contains a series of actions defined at framework level. Oxygen XML Web Author includes built-in actions for DITA, DITA Map, DocBook, TEI, and XHTML document types. On a desktop device, many of these actions are also available in the contextual menu. On mobile devices, the framework-specific toolbar is only available in Edit mode ().

Figure 2. Example: DITA Toolbar
The actions include:
Styling actions
Most common styling actions, such as Bold, Italic, Underline.
Insert actions
Actions for inserting a variety of framework-specific objects, such as images, equations, tables, paragraphs, links (for example, cross references, file references, or web links in DITA), topic references (DITA map), reusable content references (DITA), relationship tables (DITA map), and others.
List actions
Actions that allow you to create ordered and unordered lists, and add new items in them. These list buttons can also be used to convert an existing list to another type (for example, an unordered list to an ordered list) or to convert the current paragraph to a list.
Table actions
Actions that allow you to create a table and manage its structure (insert and delete rows and columns).
Insert Special Character
Opens a dialog box that allows you to select from a large variety of special characters to insert at the current cursor position. The various types of characters include symbols, emoticons, punctuation, and many more.

For a complete list of toolbar actions for DITA Topic document types, see DITA Toolbar Actions.

Contextual Menu Actions (Desktop Devices)

In a desktop web browser, the contextual menu also offers numerous editing actions, along with framework-specific actions. They include the following:
Add Comment
Allows you to insert a comment on a selected fragment of text. After you add a comment, the content where the comment was added is highlighted in the document and you can see the comment by hovering over the highlighted content or in the Review view.
Edit Comment (Available when invoked on a comment)
Opens the Edit Comment dialog box that allows you to edit the selected comment.
Remove Comment (Available when invoked on a comment)
Removes a selected comment.
Edit Attributes (Alt+Enter)
Opens the Attributes tab in the panel on the right side of the screen where you can add or edit attributes.
Accept Change (Available when invoked on a change)
Available on changes when Change Tracking is enabled. It accepts the tracked change located at the cursor position. For an insert change, it means keeping the inserted text and for a delete change, it means removing the content from the document.
Reject Change (Available when invoked on a change)
Available on changes when Change Tracking is enabled. Rejects the tracked change located at the cursor position. For an insert change, it means removing the inserted text and for a delete change, it means preserving the original content from the document.
Reply (Available when invoked on a comment or change)
Opens a dialog box that allows you to add a reply to a comment or tracked change. After a reply is added, it is displayed with an indentation in the tooltip when hovering over the comment or change, and in the Review view.
Surround With
Allows you to choose a tag to enclose selected content.
Insert Submenu
Provides various framework-specific actions for inserting a variety of objects, such as Insert Table, Insert Image, Insert Equation, and more.
Insert Element
Opens a content completion window where you can choose an element to insert at the current position.
Cut (Ctrl + X (Command + X on OS X))
Removes the selected content and copies it to the clipboard. You can then use the Ctrl + V (Command + V on OS X) keyboard shortcut to paste the content (or use the Paste Special action from the contextual menu).
Copy (Ctrl + C (Command + C on OS X))
Copies the selected content to the clipboard. You can then use the Ctrl + V (Command + V on OS X) keyboard shortcut to paste the content (or use the Paste Special action from the contextual menu).
Paste Special
Opens the Paste Special dialog box where you to choose how to paste copied content. There is a preview pane inside the dialog box where you have to paste the copied content either by using the Ctrl + V (Command + V on OS X) keyboard shortcut or by selecting Paste from the contextual menu. Then you can choose to paste it into your document with one of the following choices:
  • Smart Paste - Oxygen XML Web Author will paste the copied content while trying to preserve its structure and if the current location is invalid, Oxygen XML Web Author will attempt to find a possible solution.
  • Paste as Text - The copied content will be pasted as text content.
  • Paste as XML - Copied content that is considered to be valid XML will be pasted with its XML structure preserved.

To perform the paste operation, click the Paste button at the bottom of the dialog box.

Folding Submenu
Toggle Fold (or simply click on the / arrow in the editing panel)
Toggles the state of the current fold.
Collapse Other Folds
Folds all the elements except the current element.
Collapse Child Folds
Folds the child elements that are indented one level inside the current element.
Expand Child Folds
Unfolds all child elements of the currently selected element.
Expand All
Unfolds all elements in the current document.
Rename Element
Opens a content completion window where you can choose an element to rename the element at the current position.
Delete Element Tags (Alt+Shift+X)
Deletes the tags of the closest element at the current cursor position.
Spelling Errors
For spelling errors, the contextual menu includes a list of suggestions that you can select from to replace the word and an Ignore option that instructs Oxygen XML Web Author to ignore all occurrences of that particular spelling error in the current document.

Framework-Specific Contextual Menu Actions (Desktop Devices)

In a desktop web browser, the contextual menu also offers some editing actions that are specific to the type of document you are working with. Many of these actions are the same actions that are found on the Framework-Specific Toolbar. However, some of the frameworks include additional actions.

Some of them that are worth noting include:
Table-Related Actions
A variety of table editing actions are available in the contextual menu when it is invoked on a table (depending on the context, the table-related actions are promoted to the top level of the contextual menu and the Other Actions submenu provides access to the other actions).
Generate IDs (DITA, DocBook, TEI)
Oxygen 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 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.
About Element > Browse DITA Style Guide (DITA only)
Opens the DITA Style Guide Best Practices for Authors in a preview window and displays a topic that is relevant to the element at the cursor position. You can use the Open in new tab button at the bottom of the preview window to open the guide in a separate browser tab.

For a complete list of contextual menu actions for DITA Topic document types, see DITA Contextual Menu Actions.