(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.