Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: table ::
unpublished | interface XCell2 |
  Base Interfaces
      XCell2
      ┗ XCell
  XCell | (referenced interface's summary:) provides methods to access the contents of a cell in a table.
Usage Restrictions not published Description extends XCell methods to access the contents of a cell in a table. See also Cell

Methods' Summary
setFormulaResult | sets a formula result into the cell.
setFormulaString | sets a formula string into the cell.

Methods' Details
setFormulaResult
void
setFormulaResult( | [in] double | nValue );
Description sets a formula result into the cell. When assigned, the formula cell's result will be set to this value and will not be calculated - unless a HardRecalc is executed.
setFormulaString
void
setFormulaString( | [in] string | aFormula );
Description sets a formula string into the cell. When assigned, the formula is set into the string. But is not compiled, tokenized or calculated. Its useful when loading a document and setFormulaResult() is used. Otherwise it is compiled on trying to fetch a result value.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.