Hi Frank, Paolo
Frank Schoenheit, Sun Microsystems Germany wrote:
Hi Paolo,

But nowadays, dialogs in documents can embed their images, can't they? I
remember Noel Power having implemented this a while ago. Admittedly, the
only thing I am sure of is that this works for form controls, but IIRC,
he also did this for dialogs in documents ...
guilty, currently for 'form' controls you can now 'uncheck' the 'link' option when choosing the graphic, doing that the image will be embedded in the document. as for dialogs this currently is not enabled, however in the cws 'container_controls' http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fcontainer_controls this is fixed ( see http://www.openoffice.org/issues/show_bug.cgi?id=108949 ) However this cws has additional issues that I await feedback from upstream in order to progress things, so when it will be integrated is uncertain ( and currently most people are busy with feature freeze etc )
Even if this does not work currently - those two problems are unrelated.
I think image controls in dialogs in documents should just have the
possibility to access the images in the document, just like form image
controls have.
true, but if you have the access to the XStorage for the extension package I think you can leverage the existing services com.sun.star.comp.Svx.GraphicImportHelper & com.sun.star.comp.Svx.GraphicExportHelper which will work with the vnd.sun.star.GraphicObject: url scheme.

thanks,
Noel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to