Page 1 of 1

How to save ole container in docx

Posted: Fri Dec 05, 2014 1:53 pm
by laxmikantj
Hello,

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

Regards,
Laxmikant

Posted: Mon Dec 15, 2014 5:50 pm
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.