<< Click to Display Table of Contents >> Inserting OLE objects |
Note: The use of OLE objects is only possible with the Windows version of PlanMaker.
By choosing the ribbon command Insert | OLE object frame (click directly on the icon itself), you can embed an object that you have created with another application into a PlanMaker document. After embedding such an object, you can still edit it with the application that you originally used to create it.
The command opens a dialog box with a list of all applications that can provide OLE objects. The entries which are displayed here depend on the OLE-enabled programs that are installed on your system.
If you select "Paintbrush Picture", for example, a window from Window’s Paint program (called Paintbrush in some versions of Windows) will open. Create a picture in it and then exit Paint. The picture is now embedded in your document. It can be edited again at any time – simply double-click on the picture in the document.
To insert an OLE object into a document, proceed as follows:
1. | Choose the ribbon command Insert | group Objects | OLE object frame . To do so, click directly on the icon itself. |
2. | A dialog box appears. From the list Object Type, select the source application from which you want PlanMaker to receive the OLE object. |
3. | When you confirm with OK, PlanMaker will start the application that corresponds to the selected object type. |
4. | Create the object in the application. |
5. | Exit the application. |
6. | The application may now ask if you want to update the object in the PlanMaker document. Confirm this with "Yes". |
7. | The OLE object created in the other application is now created in the PlanMaker document. |
You can then move or resize the object: |
To move it, click on the object and then drag it to the desired position (while still holding the mouse button down). |
To adjust its size, drag one of the round handles surrounding the object. |
Tip: If you click on the icon's arrow under Insert | OLE object frame instead of on the icon itself, you will find a small selection of useful applications for quick access: TextMaker object and Presentations object. For other applications, select More to access the dialog box described above.
Creating an OLE object from a file
If you don't want to create a new OLE object, but want to embed an existing file from another application as an OLE object, you still choose the ribbon command Insert | OLE object frame, but you select the option Create from File in this case.
The appearance of the dialog box changes: Instead of the list Object Type, the File input field is displayed. Here, enter the full file name or click on the Browse button to open a dialog box that will enable you to search your hard disk for the file.
If you specify a file and confirm with OK, the file will be inserted as an OLE object.
In doing so, Windows checks the file name extension to see if it is associated with a program that can be started and it responds accordingly. If the file name extension is not registered, only an icon will appear for the embedded file. If, on the other hand, Windows can associate the name extension with an OLE-enabled program, the content of the embedded file will be displayed.
Creating a link to the original file
For the option Create from File in the aforementioned dialog box, you can also select whether the file to be inserted should be embedded or linked. If you leave the option Link disabled, PlanMaker will insert a copy of the file into the document as an OLE object and save this copy in the document – thus the object will be embedded in the usual way.
If, on the other hand, you enable the option Link, PlanMaker will insert the OLE object in the form of a link to the original file. This does not change anything in terms of use. If you subsequently change the original file of the OLE object with another program and reopen the PlanMaker document, however, the OLE object will have also changed accordingly – the OLE object will thus be linked to the original file.