3.2.2 Inserting Embedded Objects with Cut, Copy, and Paste Commands

Although the Insert Object command for embedding objects is preferred, most users are familiar with the Cut, Copy, and Paste commands and will want to use these commands. The basic procedure for inserting embedded objects with Cut, Copy, and Paste is simple. For example, inserting a drawing into a text document requires the following steps:

In the drawing server application, select all or part of the drawing and choose the Copy (or Cut) command from the Edit menu.

Switch to the text client application.

In the text client application, position the cursor as desired and choose the Paste command from the Edit menu.

This procedure inserts the drawing at the current cursor location in the text document.

In general, for client applications that support OLE, the Paste command will embed the object that is on the clipboard. Under some circumstances, however, the application may choose not to embed the object. In particular, if the object is represented on the clipboard not only by the embedded object format but also by an alternate format that completely represents the original data and that the application knows how to edit, the application should insert this editable data rather than embedding the object. Most applications, however, will not be able to provide full editing capabilities for alternate formats, so they will simply embed the object and allow the source application to later function as a server.

Thus, in most client applications that support OLE, the Paste command will embed the object in the current document when the clipboard contains an object from another application. Note that in applications that do not support OLE, the Paste command simply inserts a static copy of the data without providing easy access to the tools required to edit the data.