Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XPluginContext

Base Interface
com::sun::star::uno::XInterface

Description
implements the calls a plugin library can make on its browser.

A default context can be created by a XPluginManager .

See also
XPluginManager


Methods' Summary

getValue requests global application parameters like display connection on UNIX systems
getURLNotify requests a notification of completion of the operation on an URL.
getURL requests an URL to be loaded into the frame target.
postURLNotify posts data from a buffer or file to an URL and receives a notification upon completion.
postURL posts data from a buffer or file to an URL.
newStream requests a new stream that is created by the plugin and consumed by the browser.
displayStatusText displays a message in the browser status line.
getUserAgent returns an application dependent identification string. This is the same string that is transmitted by a browser to an http server.

Methods' Details

getValue
 
string
getValue(
[ in ] com::sun::star::plugin::XPlugin xPlugin,
[ in ] com::sun::star::plugin::PluginVariable aVariable )
raises ( com::sun::star::plugin::PluginException );

Description
requests global application parameters like display connection on UNIX systems
getURLNotify
 
void
getURLNotify(
[ in ] com::sun::star::plugin::XPlugin plugin,
[ in ] string url,
[ in ] string target,
[ in ] com::sun::star::lang::XEventListener listener )
raises ( com::sun::star::plugin::PluginException );

Description
requests a notification of completion of the operation on an URL.
getURL
 
void
getURL(
[ in ] com::sun::star::plugin::XPlugin plugin,
[ in ] string url,
[ in ] string target )
raises ( com::sun::star::plugin::PluginException );

Description
requests an URL to be loaded into the frame target.
postURLNotify
 
void
postURLNotify(
[ in ] com::sun::star::plugin::XPlugin plugin,
[ in ] string url,
[ in ] string target,
[ in ] sequence< byte > buf,
[ in ] boolean file,
[ in ] com::sun::star::lang::XEventListener listener )
raises ( com::sun::star::plugin::PluginException );

Description
posts data from a buffer or file to an URL and receives a notification upon completion.
postURL
 
void
postURL(
[ in ] com::sun::star::plugin::XPlugin plugin,
[ in ] string url,
[ in ] string target,
[ in ] sequence< byte > buf,
[ in ] boolean file )
raises ( com::sun::star::plugin::PluginException );

Description
posts data from a buffer or file to an URL.
newStream
 
void
newStream(
[ in ] com::sun::star::plugin::XPlugin plugin,
[ in ] string mimetype,
[ in ] string target,
[ in ] com::sun::star::io::XActiveDataSource aSource )
raises ( com::sun::star::plugin::PluginException );

Description
requests a new stream that is created by the plugin and consumed by the browser.
displayStatusText
 
void
displayStatusText(
[ in ] com::sun::star::plugin::XPlugin plugin,
[ in ] string message )
raises ( com::sun::star::plugin::PluginException );

Description
displays a message in the browser status line.
getUserAgent
 
string
getUserAgent(
[ in ] com::sun::star::plugin::XPlugin plugin )
raises ( com::sun::star::plugin::PluginException );

Description
returns an application dependent identification string. This is the same string that is transmitted by a browser to an http server.

Top of Page