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

(Global Index)

Syntax

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

Description

a flag called "suppressed", changes the action of check and checkWithDialog

See also

XInterface

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

Known Services Which Export this Interface

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

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

Method Details



check

Syntax

boolean check (
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

Syntax

boolean checkWithDialog (
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

See also

resetSuppressed

executeDialog

Syntax

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

Syntax

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

Syntax

void setSuppressed (
boolean bSuppress );

Description

set status of flag "suppressed".

Top of Page