Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: plugin ::

interface XPluginManager
Description
Interface accessing all recognized Netscape plugins.

Methods' Summary
createPluginContext Creates a default context. This context depends on the service ::com::sun::star::frame::Desktop.

 
getPluginDescriptions Returns the descriptions for all recognized plugins.  
createPlugin Creates a new plugin instance.  
createPluginFromURL Creates a new plugin instance.  
Methods' Details
createPluginContext
XPluginContext
createPluginContext();

Description
Creates a default context. This context depends on the service ::com::sun::star::frame::Desktop.

Returns
plugin context
getPluginDescriptions
sequence< PluginDescription >
getPluginDescriptions();

Description
Returns the descriptions for all recognized plugins.
Returns
plugin descriptions
createPlugin
XPlugin
createPlugin( [in] XPluginContext  acontext,
[in] short  mode,
[in] sequence< string >  argn,
[in] sequence< string >  argv,
[in] PluginDescription  plugintype )
raises( PluginException );

Description
Creates a new plugin instance.
Parameter acontext
plugin context
Parameter mode
plugin mode
Parameter argn
argument name list provided to plugin
Parameter argv
argument value list provided to plugin
Parameter plugintype
plugin description
Returns
plugin instance
createPluginFromURL
XPlugin
createPluginFromURL( [in] XPluginContext  acontext,
[in] short  mode,
[in] sequence< string >  argn,
[in] sequence< string >  argv,
[in] ::com::sun::star::awt::XToolkit  toolkit,
[in] ::com::sun::star::awt::XWindowPeer  parent,
[in] string  url );

Description
Creates a new plugin instance.
Parameter acontext
plugin context
Parameter mode
plugin mode
Parameter argn
argument name list provided to plugin
Parameter argv
argument value list provided to plugin
Parameter toolkit
toolkit to be used to get system window handle for plugin
Parameter parent
parent window
Parameter url
url
Returns
plugin instance
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.