ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Urgent Question not direct related to ImageEn

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
MrDeveloper Posted - May 06 2019 : 08:26:45
Hello Guys

I really hope that you can help me out or at least bring me an good advice.

What I'm trying to do is the following:

It try to use the IEV Format directly in Word or any other OLE Container application. So I need to make a OLE Server (COM-Server) application which can be used to embed the IEV Images into a Word, Excel etc. document. And when I try to double click on the image I want to edit the current image inside the ImageEn based application.

The problem is now I don't know where to start excatly. Even after a lot of Google searches I just found out that the OLE is the old name for the COM technolgy and that it seems I'm wanting to create an "Active document" etc. But I can't find any simple demo application for Delphi which shows me the basic techniques to create an OLE image server application. The best way that you can understand what I'm trying to do, is when you embed an simple windows paint image (as "Bitmap image" object) into Word and after a double click on it you can directly edit it in the Windows Paint application.

Maybe one of you guys did already something similiar? Maybe not for ImageEn but the basic techniques would be very helpful for me.

Or hopefully Nigel has any other ideas to handle this task?

I really appreciate your support in advance!
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 08 2019 : 17:41:57
Hi

You can request it on our User Voice page:

https://imageen.uservoice.com


Nigel
Xequte Software
www.imageen.com
MrDeveloper Posted - May 08 2019 : 07:23:19
Hello Nigel

Thanks for your reply. I don't want to create a special plugin for an office product. Just to use the windows API features that we can embed each ImageEn image etc. into an OLE Container application.

So after a longer research I think it should be very easy on your side to implement this directly into a ImageEn control/component. Please take a deeper look at IOleObject (https://docs.microsoft.com/en-us/windows/desktop/api/oleidl/nn-oleidl-ioleobject) and also at IOleInPlaceActiveObject (https://docs.microsoft.com/en-us/windows/desktop/api/oleidl/nn-oleidl-ioleinplaceactiveobject). Maybe we can extent one of the existing demo applications to show this "new" feature/behaviour.

I would be very happy to see this in a very timly upcoming update release.

Thanks for your feedback in advance!
xequte Posted - May 06 2019 : 18:40:00
Hi

Off the top of my head...

I don't know whether this is possible or not, having never tried, or even thought of this before.

Firstly, though, have you considered other options, such as just converting the IEV file to a format that Word supports, such as JPEG. You could easily add a button to the Word toolbar to open the JPEG for editing in your custom app. The IEV data could be embedded in the JPEG meta-data, so your app would edit that instead, and output an updated JPEG for Word (your button code would then update the image).

Nigel
Xequte Software
www.imageen.com