Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: mozilla ::
interface XPluginInstance
Description
Allows to controll an office side plugin instance and to communicate with it.
This interface is oriented for communication with browsers plugins.
Methods' Summary
start
Starts plugin operation. This is called after a plugin instance is
created.
stop
Stops plugin operation. This is called when the user goes to another web
page. The XPluginInstance ::destroy method is directly called
afterwards.
destroy
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).
createWindow
Creates a new window for plugin operation.
newStream
Notifies the plugin of a new stream to display.
newURL
Notifies the plugin of a new url to open as document.
getHttpServerURL
Retrieves the URL of the HTTP Loadbalancing Slave.
Methods' Details
start
Description
Starts plugin operation. This is called after a plugin instance is
created.
stop
Description
Stops plugin operation. This is called when the user goes to another web
page. The XPluginInstance ::destroy method is directly called
afterwards.
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).
createWindow
[oneway] void
createWindow (
[in] any
PlatformParentData,
[in] 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
newStream
[oneway] void
newStream (
[in] string
MIMEDesc,
[in] string
theURL,
[in] string
filter,
[in] ::com::sun::star::io ::XInputStream
stream,
[in] 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
newURL
[oneway] void
newURL (
[in] string
MIMEDesc,
[in] string
theURL,
[in] string
filter,
[in] 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
getHttpServerURL
void
getHttpServerURL (
[out] string
aHost,
[out] unsigned short
aPort,
[out] 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
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.