Smart Paste Support
The Oxygen XML Web Author includes support for copy, cut, and paste actions using the
usual keyboard shortcuts (Ctrl + C (Command + C on
OS X), Ctrl + X (Command + X on
OS X), and
Ctrl + V (Command + V on
OS X)). This support includes a
Smart Paste feature that preserves certain style and structure information.
This includes the following scenarios:
- Pasting content from external sources (such as text processors or web browsers) into the document you are editing. Oxygen XML Web Author tries to preserve all associated formatting, such as lists, paragraphs, and text styling. When a valid XML structure is detected in the clipboard content, Oxygen XML Web Author will paste the content with XML structure.
- Pasting content from within an Oxygen XML Web Author session, preserving the XML structure. If the current location is not valid for the copied content, Oxygen XML Web Author will try to find possible solutions (if possible).
- Pasting content from the Oxygen XML Web Author session into external sources. In this case, only the text content is copied.
- Pasting (or dragging and dropping) a valid http(s) URL string. Oxygen XML Web Author will automatically insert it as a linking element for the
particular document type you are working with. For example, in DITA it would insert an
<xref>
element.
On desktop devices, the Smart Paste feature also includes a Paste
Special action in the contextual menu that allows you to choose how to paste
copied content. The Paste Special action allows you to choose from the
following:
- 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.
Notice: On Safari Mobile versions 6 and 7, the copy/paste support ignores all
text formatting, keeping only the content.