summaryrefslogtreecommitdiff
path: root/sc/inc/cellvalue.hxx
AgeCommit message (Collapse)Author
2015-11-03implement assignment in only one placeEike Rathke
... and comment on what to do if we really wanted a copy-swap-idiom. The need to doc comment about not to use assign() after default ctor is also gone with the temporary swap. Change-Id: I2a49091b2a41cf155e912e3c373dbbe81c7f9737
2015-11-02trash usage of ScRefCellValue default ctor followed by assign()Eike Rathke
... that only results in a performance penalty. Change-Id: Ia161ab7fb03f2d32cf966ce9da9d0319d919fc4c
2015-07-22loplugin:unusedmethods scripting,scNoel Grandin
Change-Id: I0016aefce1aad3a89bd23dcec6fbab58a7c844d7 Reviewed-on: https://gerrit.libreoffice.org/17263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-25Adjust ref undo to ensure group area listeners are used.Kohei Yoshida
When undoing row deletion (and possibly other similar undo's). And write test for it. Change-Id: I04b4fd9932f4236f124dcd25967355c6055dec33
2014-07-18Add a variant of set that takes ownership of EditTextObject.Kohei Yoshida
Change-Id: If5f9122213d2f35aabcc66ca70c3d432120995cc
2014-04-19fixincludeguards.sh: scThomas Arnhold
sorry, huge one...
2014-02-27Simplify ScViewFunc::DoThesaurus() with ScCellValue.Kohei Yoshida
Change-Id: Ic5d31107aa7653cd8e3fae096888bd633696074f
2014-02-27remove unused cdeo from ScCellValueNoel Grandin
Specifically: ScCellValue::ScCellValue(EditTextObject const&) ScCellValue::ScCellValue(ScFormulaCell const&) ScCellValue::hasNumeric() const ScCellValue::hasString() const ScCellValue::set(ScFormulaCell const&) Change-Id: Ief8c07d6e2c7df6c6037fb3e59c00c37e3e0a49a
2014-02-27remove unused code ScRefCellValue::commit(ScColumn&, int) constNoel Grandin
Change-Id: I2f91a7b6b471d655f19f1f0ed94c4e1d0273ed80
2014-01-24Optimize copy-n-pasting of single cell replicated over a range.Kohei Yoshida
This is a very common operation. Let's speed it up a bit. TODO : Handle cell comments. Change-Id: I5442bf19008475a9427b889c1eb641cacd8ff161
2013-10-08Store svl::SharedString in document cell storage instead of OUString.Kohei Yoshida
With this, both ScColumn and ScMatrix store svl::SharedString as their string values, instead of OUString. Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
2013-09-12Change so that we won't have to include mtvelements.hxx in cellvalue.hxx.Kohei Yoshida
Because mtvelements.hxx is very slow to parse by the compiler, and cellvalue.hxx is included everywhere. Hopefully this will speed up the compilation time of sc... Change-Id: Ic9a9b8483c8325e4a91021f071f2391db8b57806
2013-07-25resolved fdo#67249 use ScFieldEditEngine to resolve field contentEike Rathke
ScEditUtil::GetString() iterated over the paragraphs of an EditTextObject where GetText() does not resolve field content but returns the embedded field markers. To resolve field content an ScFieldEditEngine is needed. This makes it necessary to pass an ScDocument* to obtain the ScFieldEditEngine from, or for cases where there is no ScDocument in the context use a static ScFieldEditEngine which unfortunately is not capable of resolving document specific fields of course, such as DOCINFO_TITLE and TABLE. Also added unit test. Change-Id: Ife3c23b2fec2514b32303239d276c49869786eb5
2013-06-24We need to clone the source cell value to prevent crash.Kohei Yoshida
If we don't clone this, the original string value would become invalid after the first insertion, which may cause a reallocation of the array that stores the cell. Change-Id: I5b1bb5f378ed5503169fce75fcbc7aeb85c5ed6e
2013-06-24Switch to using multi_type_vector for cell storage.Kohei Yoshida
The old style cell storage is no more. Currently the code is buildable, but crashes during unit test. Change-Id: Ie688e22e95c7fb02b9e97b23df0fc1883a97945f
2013-03-27Converted the external ref manager code.Kohei Yoshida
Change-Id: Ifbce13bc8a941e548b1ba647519cf9765b7f55d0
2013-03-27More on killing direct use of cell classes.Kohei Yoshida
Change-Id: Ie2b6819652f330a493b7f9fe557736b27e402803
2013-03-26Make the conditional formatting code free of ScBaseCell.Kohei Yoshida
Change-Id: I93f83a840874c973cdc0821ddeb1913be7f09767
2013-03-26Add ScRefCellValue, which is ScCellValue without copied value.Kohei Yoshida
It directly points to the original cell value instance. Change-Id: I638ec8b931873d237871b6d8fa9f0e1277520d0f
2013-03-26Get the whole change tracking code entirely ScBaseCell-free!Kohei Yoshida
This took me a whole day.... Change-Id: Ida757b1efa284fc9d071a225f45666c340ba89ea
2013-03-22Start switching ScCellIterator caller to alternative iteration method.Kohei Yoshida
Change-Id: I8b39adaaff3874e26709579530fb74b2bf0543be
2013-03-22Get change tracking to work again with these new ScDocFunc methods.Kohei Yoshida
Change-Id: Icdbf2af7bc552bc8f4914cc8bd036ed45934c461
2013-03-22Move ScCellValue into its own header/source files.Kohei Yoshida
This can be used outside the undo code, like change tracking code. Change-Id: Iad936acef0dacbd19d8c179da4713b1cdc7f9c84