The Smart Paste capability was developed to help authors copy content from
various sources (like web pages or office-type documents) and paste it into DITA, TEI, Docbook
and XHTML documents. Oxygen XML
eases this process by keeping the original text styling (like bold, italics) and formatting
(like lists, tables, paragraphs), while providing assistance to obtain a valid structured
document.
The Oxygen XML
Smart Paste support encapsulates the following capabilities:
- The conversion of the copied content into valid DITA, Docbook, TEI and XHTML
fragments:
Styled content can be inserted in the
Author editor by copying or dragging it from:
- Office-type applications (Microsoft Word and Microsoft
Excel, OpenOffice.org Writer and
OpenOffice.org Calc);
- web browsers (like Mozilla Firefox or Microsoft
Internet Explorer);
- the Data Source Explorer view (where resources are available from
WebDAV or CMS servers).
The styles and general layout of the copied content like: sections with headings, tables,
list items, bold, and italic text, hyperlinks, are preserved by the paste operation by
transforming them to the equivalent XML markup of the target document type. This is available
by default in the following
predefined
document types:
DITA,
DocBook
4,
DocBook 5,
TEI 4,
TEI 5,
XHTML.
This support is enabled by default, but you can disable it trough the Convert external content on paste option, available in the
Schema Aware preferences.
- Inserting the converted fragment at the correct location in the document. This part is
schema driven
This capability is controlled by the Smart paste and drag and drop option, available in the
Schema Aware preferences.