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 XInstallationCheck
Usage Restrictions
deprecated
Description
a flag called "suppressed", changes the action of check and checkWithDialog
See also
::com::sun::star::uno::XInterface

Methods' Summary
check checks if something of the installation is missing.  
checkWithDialog same as check, but additionally shows a dialog if result is false.  
executeDialog shows a dialog if something of the installation is missing.  
getSuppressed gets the status of flag suppressed  
setSuppressed set status of flag "suppressed".  
Methods' Details
check
boolean
check( [in] boolean  bForce );

Description
checks if something of the installation is missing.

If missing parts are detected, check should try to automatically repair/ reinstall these parts. Only if this is not possible, return false.

See also
resetSuppressed
checkWithDialog
boolean
checkWithDialog( [in] boolean  bForce );

Description
same as check, but additionally shows a dialog if result is false.

The dialog shows which parts of the installation are missing and can't be repaired/reinstalled automatically. It also contains some hints for the user to reinstall the missing parts on his own.

See also
check, resetSuppressed
executeDialog
boolean
executeDialog();

Description
shows a dialog if something of the installation is missing.

The dialog shows which part(s) is (are) missing, and has a checkbox that represents the state of the flag suppressed. This dialog is the only way to set the flag suppressed to true. This method is not affected by the value of the flag suppressed.

See also
resetSuppressed
getSuppressed
boolean
getSuppressed();

Description
gets the status of flag suppressed

The flag suppressed is stored in the OfficeRegistry. If suppressed is false, the methods check and checkWithDialog ignore the parameter bForce. If suppressed is true, check and checkWithDialog only perform an action if their parameter bForce is true; otherwise, they return TRUE.

setSuppressed
void
setSuppressed( [in] boolean  bSuppress );

Description
set status of flag "suppressed".
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.