How to save ole container in docx

General TRichView support forum. Please post your questions here
Post Reply
laxmikantj
Posts: 17
Joined: Wed Apr 30, 2008 8:07 pm

How to save ole container in docx

Post by laxmikantj »

Hello,

How can we save ole container in docx.
We are using SaveDocx method.

Regards,
Laxmikant
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I am afraid it is not possible in the current version of TRichView.
While you can embed XML code in OnSaveComponentToFile event, it's not enough for saving OLE objects in DocX: it requires saving embedding in subdirectory of DocX file and adding a reference to it. TRichView does not provide methods for this.
Probably it will be implemented in future versions.
Post Reply