Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: sheet ::

interface XCalculatable
Description
represents something that can recalculate.

Methods' Summary
calculate recalculates all dirty cells.  
calculateAll recalculates all cells.  
isAutomaticCalculationEnabled returns whether automatic calculation is enabled.  
enableAutomaticCalculation enables automatic calculation.  
Methods' Details
calculate
void
calculate();

Description
recalculates all dirty cells.

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

calculateAll
void
calculateAll();

Description
recalculates all cells.
isAutomaticCalculationEnabled
boolean
isAutomaticCalculationEnabled();

Description
returns whether 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.

Returns
true, if automatic calculation is enabled.
enableAutomaticCalculation
[oneway] void
enableAutomaticCalculation( [in] 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.

Parameter bEnabled
true to enable automatic calculation, false to disable.
Top of Page

Apache Software Foundation

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

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