Hi,

is there a way to deploy images in an extension, which can be loaded
without calling code in that extension? That is, ideally I would like
the extension to deploy a configuration entry containing a URL, where
the OOo can pass this URL to the graphic provider, which is able to load
the image without actually loading any code from the extension itself.

Say, something like
"private:graphic/extension/extension_name/path_to_image_file", handled
by the GraphicProvider implementation.

To my best knowledge (and trusting the API documentation), the
GraphicProvider cannot do this currently, but are there other means to
achieve that?

Does our extension infrastructure allow for this?

I could probably mimic what would be the ideal GraphicProvider
implementation: The extension would need to add a configuration entry
specifying the programmatic extension name, plus a path within the
extension folder. The package API would allow to get the actual image
file then.
However, this is ugly (graphics should be referenced by URLs, not some
strange assembled config data), and of course a central implementation
would be preferred.

Hints/Opinions, anybody? If we don't have anything, yet, I'm probably
going to extend the GraphicProvider implementation.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [email protected] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to