1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_SC_INC_CELLVALUES_HXX
11 #define INCLUDED_SC_INC_CELLVALUES_HXX
13 #include "address.hxx"
19 struct CellValuesImpl
;
22 * Think of this as a mini-ScColumn like storage that only stores cell
27 CellValuesImpl
* mpImpl
;
29 CellValues( const CellValues
& ); // disabled
30 CellValues
& operator= ( const CellValues
& ); // disabled
37 * Transfer values from specified column. The transferred segment in the
38 * source column becomes empty after this call.
40 * @param rCol source column to transfer values from.
41 * @param nRow top row position in the source column.
42 * @param nLen length of the segment to transfer.
44 void transferFrom( ScColumn
& rCol
, SCROW nRow
, size_t nLen
);
46 void transferTo( ScColumn
& rCol
, SCROW nRow
);
47 void copyTo( ScColumn
& rCol
, SCROW nRow
) const;
49 void assign( const std::vector
<double>& rVals
);
54 void copyCellsTo( ScColumn
& rCol
, SCROW nRow
) const;
55 void copyCellTextAttrsTo( ScColumn
& rCol
, SCROW nRow
) const;
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */