I am experimenting with the OLE support in WPTools. i insert a new object with the code
obj := TWPOOLEBox.Create(Self);
TWPOOLEBox(obj).OLEContainer.InsertObjectDialog;
obj.WidthTW := 5000;
obj.HeightTW := 3000;
WPRichText1.TextObjects.Insert(obj);
1. To display the OLE server I first have to click on an invisible container to display its outline, and then doubleclick to open the OLE server. Is it possible to open the server directly (like Word does)?
2. When I save a document with an embedded OLE object (for instance an equation), the container is empty when I open the document again. How can I remedy this?
3. To retain the size of the object which is created in the server, I suppose I have to inquire the server about the the width and height and change obj.WidthTW accordingly?
4. Will the support for OLE change in v. 5?