interface XProtocolHandlerCheck in module com::sun::star::installation::

(Global Index)

Syntax

interface XProtocolHandlerCheck : com::sun::star::uno::XInterface ;

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

Known Services Which Export this Interface

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

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

Method Details



isSingleSettingAvailable

Syntax

boolean isSingleSettingAvailable ();

Description

checks if it is possible to set particular protocols.


isProtocolHandler

Syntax

boolean isProtocolHandler (
short nWhich );

Description

checks if StarOffice is the protocol-handler, for the particular protocol


setProtocolHandler

Syntax

boolean setProtocolHandler (
short nWhich );

Description

Make StarOffice the protocol-handler.

See also

isProtocolHandler

checkProtocolHandler

Syntax

com::sun::star::installation::ProtDlgRes checkProtocolHandler (
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