|
Syntax
- oneway void start
();
Description
Starts plugin operation. This is called after a plugin instance is
created.
Syntax
- oneway void stop
();
Description
Stops plugin operation. This is called when the user goes to another web
page. The XPluginInstance::destroy method is directly called
afterwards.
Syntax
- oneway void destroy
();
Description
Destroy the plugin instance. This method is called when it is no
longer possible to return to the plugin instance, because it was
destroyed by the browser (e.g., window close).
Syntax
- oneway void createWindow
(
- any PlatformParentData,
- boolean embedded );
Description
Creates a new window for plugin operation.
Parameter PlatformParentData
- [in]: platform dependent window data
Parameter embedded
- [in]: selects embedded or full page plugin mode
Syntax
- oneway void newStream
(
- string MIMEDesc,
- string theURL,
- string filter,
- com::sun::star::io::XInputStream stream,
- any sessionData );
Description
Notifies the plugin of a new stream to display.
Parameter MIMEDesc
- [in]: the MIMEtype of the data stream
Parameter theURL
- [in]: the URL that denotes the stream
Parameter filter
- [in]: a filter string to suggest a component that should handle the document
Parameter stream
- [in]: the data stream
Parameter sessiondata
- [in]: the data specifying the current session
Syntax
- oneway void newURL
(
- string MIMEDesc,
- string theURL,
- string filter,
- any sessionData );
Description
Notifies the plugin of a new url to open as document.
Parameter MIMEDesc
- [in]: the MIMEtype of the data stream
Parameter theURL
- [in]: the URL to be openend
Parameter filter
- [in]: a filter string to suggest a component that should handle the document
Parameter sessiondata
- [in]: the data specifying the current session
Syntax
- void getHttpServerURL
(
- string aHost,
- unsigned short aPort,
- string aPrefix );
Description
Retrieves the URL of the HTTP Loadbalancing Slave.
Parameter aURL
- [out]: the full qualified host name of the LBS
Parameter aPort
- [out]: the port number
Parameter aPrefix
- [out]: the url prefix to the portal
|