On 03/17/10 12:10, Frank Schoenheit, Sun Microsystems Germany wrote:
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.
Maybe a URI schema like
"vnd.sun.star.extension://<extension-id>/<path-within-extension>" might
generally be useful. (One could probably implement a UCP that handles
it, internally using css.deployment.PackageInformationProvider to
resolve <extension-id> to a URI, append the path, and recursively use
UCB to access the assembled URI.)
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]