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

com :: sun :: star :: installation ::

interface XProtocolHandlerCheck

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



Known Services which Export this Interface

com::sun::star::installation::ProtocolHandlerCheckService
com::sun::star::installation::ProtocolHandlerCheck

Methods' Summary

isSingleSettingAvailable checks if it is possible to set particular protocols.
isProtocolHandler checks if StarOffice is the protocol-handler, for the particular protocol
setProtocolHandler Make StarOffice the protocol-handler.
checkProtocolHandler First, the method checks if StarOffice is already the protocol-handler. If yes, simply return NOCHANGE; otherwise, show a dialog which asks the user if he wants StarOffice to be the standard protocol-handler. The dialog has "Yes" and "No" buttons, and a checkbox with "Always display this message". The checkbox is initially checked. If the "Yes" button was pressed, it performs all neccessary action to make StarOffice the protocol-handler. If the "No" button was pressed, don't perform any action. Both buttons closes the dialog.

Methods' Details

isSingleSettingAvailable
 
boolean
isSingleSettingAvailable();
Description
checks if it is possible to set particular protocols.
isProtocolHandler
 
boolean
isProtocolHandler(
[ in ] short nWhich );

Description
checks if StarOffice is the protocol-handler, for the particular protocol
setProtocolHandler
 
boolean
setProtocolHandler(
[ in ] short nWhich );

Description
Make StarOffice the protocol-handler.
See also
isProtocolHandler
checkProtocolHandler
 
com::sun::star::installation::ProtDlgRes
checkProtocolHandler(
[ in ] short nWhich );

Description
First, the method checks if StarOffice is already the protocol-handler. If yes, simply return NOCHANGE; otherwise, show a dialog which asks the user if he wants StarOffice to be the standard protocol-handler. The dialog has "Yes" and "No" buttons, and a checkbox with "Always display this message". The checkbox is initially checked. If the "Yes" button was pressed, it performs all neccessary action to make StarOffice the protocol-handler. If the "No" button was pressed, don't perform any action. Both buttons closes the dialog.
See also
isProtocolHandler

Top of Page