06.03.10, 18:59, "Egon Willighagen" <egon.willighagen@...>:
> On Sat, Mar 6, 2010 at 6:22 PM, Konstantin Tokarev wrote:
> > Seriously, it's OLE, and CML is embedded into internal storage of ODT/ODP file
> I'm sorry I do not know much yet about the ODT/ODP file structure... I
> know the file basically a zip file... with 'internal storage' you
> refer to this zip file? Where inside the zip file do I find the OLE
> objects? Do they binary encode the CML (it's CML you store?)?
Yes, I use CML (it seems to be more perspective from viewpoint of freestyle drawing elements), but it's written not as sepatate CML file, but inside .properties file (JCP properties are also stored). I don't want to say it's good solution (much more like code monkeyism), I'll try to change it
> Where inside the zip file do I find the OLE
Unzip oxt file, and jchempaint.properties file in directory named like 'Object 1'
However, I guess you want something like object linking, when internal object is linked with external "source" CML file. It'll be one of future features. Moreover, Windows-like "in place" edit (when editor isn't shown as separate window) could also be implemented, if anybody needs it (but I can't say anything about *when* it'll be done)