Arbortext Command Language > set Command Options > set pastesource
  
set pastesource
set pastesource= [mif] [;htm] [;rtf] [;txt]
This command specifies the Microsoft Windows clipboard formats that will be converted to XML markup during Arbortext Editor copy and paste operations from other applications. The command also enables and disables the conversion of clipboard formats. To disable the conversion of clipboard formats during copy and paste operations from other applications, set this preference to an empty string.
The preference is set to some typical types of document formats that are stored on the Microsoft Windows clipboard when text is copied in an application other than Arbortext Editor, separated by semicolons ( ; ). The pastesource preference has the following default value:
mif;htm;rtf;txt
The following values are supported:
mif — Maker Interchange Format (MIF), the document format supported by Adobe FrameMaker
htm — HTML markup
rtf — Rich Text Format (RTF), the document format used by several Microsoft applications including Microsoft Word
text — Unicode and 8-bit ANSI text
If a document format is removed from the default list, that format is no longer processed during conversion for copy and paste operations. However, note that many applications put more than one document format on the clipboard when text is copied. For example, Adobe FrameMaker puts both MIF and RTF formats on the clipboard when text is copied, so you could remove mif from the pastesource list and Arbortext Editor could still use the RTF version of the copied text for the conversion operation.
Examples:
set pastesource=""
set pastesource="rtf"
set pastesource="htm;rtf;txt"
Related Topics
Copying and pasting text from other applications