Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / table / XCell2.idl
blobdd1c495bca6358355f55097de0191b9e6f23a38f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef __com_sun_star_table_XCell2_idl__
11 #define __com_sun_star_table_XCell2_idl__
13 #include <com/sun/star/table/XCell.idl>
16 module com { module sun { module star { module table {
19 /** extends XCell methods to access the contents of a cell in a table.
21 @see com::sun::star::table::Cell
23 interface XCell2: com::sun::star::table::XCell
25 /** sets a formula result into the cell.
27 <p>When assigned, the formula cell's result will be set to this
28 value and will not be calculated - unless a HardRecalc is
29 executed.</p>
31 void setFormulaResult( [in] double nValue );
34 /** sets a formula string into the cell.
36 <p>When assigned, the formula is set into the string. But is not
37 compiled, tokenized or calculated. Its useful when loading a
38 document and setFormulaResult() is used. Otherwise it is compiled
39 on trying to fetch a result value.</p>
41 void setFormulaString( [in] string aFormula );
45 }; }; }; };
47 #endif
49 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */