OLE objects and pictures
You can insert OLE objects in modules as icons. If you do not insert the OLE object as an icon, you see the contents of the file in the object. You can create a blank OLE object, for example you could insert a new Microsoft Excel spreadsheet or you can insert an existing file. You can also insert pictures in modules. You can edit the contents of OLE objects, but you cannot edit pictures.
OLE was originally introduced by Microsoft as "Object Linking and Embedding". It was later rebuilt on the Microsoft component architecture known as COM (Component Object Model). This model enables you to either embed an object within another file or place an object within a file as a link.
If you insert an existing file, you can either link it to the file on your system, or embed it. If you link an OLE object, the path to the file on your system is stored with the OLE object. If someone later updates the file, the change is reflected in IBM® Rational® DOORS®.
If you embed an OLE object, you copy the file to the Rational DOORS attribute. If someone later updates the original file, the change is not reflected in the copy of it in Rational DOORS.
You can insert OLE objects into any text attribute in Rational DOORS. There is no limit to the number of OLE objects that can be inserted. However, OLE objects can affect performance. You cannot insert an OLE object into the Object Heading attribute.
If an attribute is displayed in a traceability column in another module, any OLE objects that have been inserted in the attribute are also displayed.
If the size of the OLE object exceeds the default maximum of 21 MB, the OLE object is removed when you save the module. To avoid this problem, reduce the size of the OLE object, or do these steps on the Rational DOORS client machine:
- Open the Registry Editor (regedit.exe) and go to the OLE key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole.
- Below the Ole key, add a new key as a DWORD (32-bit) Value with the name: MaximumAllowedAllocationSize.
- Right-click and modify the new DWORD (32-bit) Value.
- Set the value data to 4294967295 (Decimal) - FFFFFFFF (Hexadecimal).
- Reboot the machine.