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

interface XProtocolHandlerCheck
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XProtocolHandlerCheck
[ DEPRECATED ]

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
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