interface XCalculatable in module com::sun::star::sheet::

(Global Index)

Syntax

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

Description

represents something that can recalculate.

Method Summary

calculate recalculates all dirty cells.

calculateAll recalculates all cells.

isAutomaticCalculationEnabled returns true if automatic calculation is enabled.

enableAutomaticCalculation enables automatic calculation.

Method Details



calculate

Syntax

void calculate ();

Description

recalculates all dirty cells.

This calculates all formula cells which have not yet been calculated after their precedents have changed.


calculateAll

Syntax

void calculateAll ();

Description

recalculates all cells.


isAutomaticCalculationEnabled

Syntax

boolean isAutomaticCalculationEnabled ();

Description

returns true if automatic calculation is enabled.

With automatic calculation, each formula cell is recalculated whenever its value is needed after its precedents have changed. The value is needed if the cell is displayed or used in another calculation.


enableAutomaticCalculation

Syntax

oneway void enableAutomaticCalculation (
boolean bEnabled );

Description

enables automatic calculation.

With automatic calculation, each formula cell is recalculated whenever its value is needed after its precedents have changed. The value is needed if the cell is displayed or used in another calculation.

Top of Page