Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

deprecated interface XProtocolHandlerCheck
Usage Restrictions
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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.