summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column3.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin1-2/+2
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-30use positional hint for UpdateScript, fdo#69006Markus Mohrhard1-3/+5
Change-Id: Ie1bdc905e869d56625440e2a52d48993fa2fda9d
2013-10-30variable can never be NULL in this placeMarkus Mohrhard1-8/+4
Change-Id: I806a5ce53f1f290d6e37fe4afdd574b52b98fcce
2013-10-24remove useless commented codeLaurent Godard1-14/+0
Change-Id: I8f26c75ac6d95f584e649fb7acf637394129ba44 Reviewed-on: https://gerrit.libreoffice.org/6414 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-10-23Cell note deletion should happen even when no cells exist in the column.Kohei Yoshida1-3/+7
This fixes one of the API test breakages. Change-Id: I8168d490ec5d519e151a74fb8c4343337262f15b
2013-10-23Re-implement cell note storage using mdds::multi_type_vector.Laurent Godard1-2/+67
Change-Id: I34ea91e360e2a6b85d65f970c6e43db687d213ca
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist1-2/+2
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21drop CharSet typedefCaolán McNamara1-3/+3
Change-Id: Ia160d7cbaa2ee71773483c3f91306f89cdad5947
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida1-7/+4
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-11Import shared formulas from xlsx without crashing.Kohei Yoshida1-1/+0
The key here is to only use the shared formula ID's and ignore the ref range. The ref ranges are not correct half the time. Change-Id: If65f9b1b44ab6239db37977b6dfe3f822a9cf67e
2013-10-08No more getIdentifier*() calls because they are not efficient.Kohei Yoshida1-41/+7
They shall never be used. Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
2013-10-08Rename GetCellStringPool() to GetSharedStringPool().Kohei Yoshida1-8/+8
Change-Id: I99d373f7887424bb103cff60d53f5cd8ce337ef7
2013-10-08Unused methods.Kohei Yoshida1-13/+0
Change-Id: I8e70d2c730f0d8fa43a4270fddeca431bd7a5048
2013-10-08Store svl::SharedString in document cell storage instead of OUString.Kohei Yoshida1-24/+45
With this, both ScColumn and ScMatrix store svl::SharedString as their string values, instead of OUString. Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
2013-10-08Re-implement interning in order to return both string arrays.Kohei Yoshida1-2/+2
One is for the cased string and the other one for the non-cased one. Change-Id: I798687f2efecaaea73a09e0b3348f85a9d9e8c07
2013-10-08convert sc/inc/column.hxx from String to OUStringNoel Grandin1-7/+7
Change-Id: I81b0dbf35960c9da72d9c34dd49f527d50ce00b9
2013-10-04Rename StringPool to SharedStringPool because that's what it is.Kohei Yoshida1-1/+1
Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
2013-10-04Add methods to turn cell strings into numeric IDs for comparison.Kohei Yoshida1-0/+58
Both in case sensitive and case insensitive comparisons. Change-Id: I356a655273f0f37157810c86e1cf3f87ea2afa09
2013-10-04Normalize all string objects that are cell contents before they get stored.Kohei Yoshida1-36/+17
Hopefully I've covered all entry points. There may be more lurking in some dark corneres... Change-Id: I62e655cc579aad08fa64b5d58e739c55425cd216
2013-09-25We need to clone the edit text instance to avoid double deletion.Kohei Yoshida1-1/+1
Change-Id: I94faea482e8ceffe6f13362756274f3dbf0639ba
2013-09-25compare against IDF_HARDATTR, fdo#39484Markus Mohrhard1-1/+1
regression from e851ea0ed30e9bb95c273a29aeab7f48f606145f Change-Id: I07819f90efe87fe9d82515d637960fe48ca40c80
2013-09-25fdo#66646: fix paste special with empty cellsMarkus Mohrhard1-1/+17
Change-Id: I5323645f3b045574f3d02a895fbe309b52b2ca3d
2013-08-26treelist for autofilter ( nested nodes for dates ) ( using SvxTreeListBox )Noel Power1-2/+4
Attempt at trying to get more interopable behavior, imho the way dates are presented in the autofilter of the "other" well known spreadsheet application is very nice and intuitive. This attempt here is lacking in that a) for some reason I am not getting the node icons ( and subsequently can't sing le click anything to expand the nodes ) Only double clicking works to expand b) the 'check' behaviour is not quite right, e.g. as simple example is if all nodes of a particular date are unset then clicking the leaf node ( e.g. day ) wont set the ancestor nodes. Change-Id: Iaa89cac21fb18074ff64a984f099a35851c2fe3c
2013-08-14Avoid wholesale rebuilding of formula groups at re-calc time.Kohei Yoshida1-11/+0
And do it once when importing xls, xlsx, and ods documents. Although xls(x) file formats support shared formula natively, it's still beneficial to re-group it as some old xls documents limit the length of shared formula span to only 64, or some don't use shared formulas at all even though they could. And re-grouping just once is not terribly expensive. Change-Id: Iff9c605d19baa187553ddab6af8b9fbd4c366d7d
2013-08-13Try to re-group without ungrouping all cells.Kohei Yoshida1-31/+77
Change-Id: I8e5c4e240e64a1d70e599c4a8791133dddc0b75b
2013-08-13Unused memeberStephan Bergmann1-1/+0
Change-Id: Iaa3ab3d73270f0a1441eb64854f47088967ca0d5
2013-08-12Const correctness at ScFormulaCell side.Kohei Yoshida1-1/+1
Though I had to use const_cast in some places... Change-Id: I22830bf291179efafc1b400f33a520072b7fab0f
2013-08-12Handle shared token array correctly when adjusting formula grouping.Kohei Yoshida1-6/+1
Change-Id: Ib4b141f415b36565106e946ccbc47f2b9f80d89c
2013-08-12Map shared formula from xls to formula groups, and share the tokens as well.Kohei Yoshida1-5/+20
No more mapping to range names. Change-Id: Ic43b6ef35a91fe4d6fff748ebc22969ba4e036db
2013-08-02fdo#67099: Remove overheads on inserting cells during ods import.Kohei Yoshida1-125/+135
We will switch to using ScDocumentImport to populate the document from import filters, instead of using ScDocument directly. Change-Id: Ie59d6877d1ac4fc04751a84b663772a9dc9a3efc
2013-07-30More on avoiding direct access to data members.Kohei Yoshida1-4/+3
Change-Id: I5fdc0d248fe9c36418fd02a1e652e4e35a638c8a
2013-07-25resolved fdo#67249 use ScFieldEditEngine to resolve field contentEike Rathke1-11/+12
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-07-24More on removing use of CalcRelFromAbs().Kohei Yoshida1-1/+0
Some of them were called for all absolute references, which is not necessary. Change-Id: If19ee74731f40ca208e1cc1804c6b6e53073d891
2013-07-24Try to consolidate broadcast calls originating from column or table.Kohei Yoshida1-5/+8
Change-Id: Ia13f81ab9a2d27e03ced95e18e9f5e6af939f9a0
2013-07-24No point having this indirection.Kohei Yoshida1-12/+2
Change-Id: Idab46933ef6740e478f44e8b420805de9bc39b82
2013-07-11Move UnshareFormulaCell() out of ScColumn into SharedFormulaUtil.Kohei Yoshida1-123/+3
This one too doesn't operate on column. Change-Id: Ieb23641ca4860d6f137b266813ad56f4984e0523
2013-07-11Move more methods to SharedFormulaUtil.Kohei Yoshida1-65/+2
Change-Id: Ibd58f5d15292805d50823223d1ebe94e7b51b808
2013-07-11Move these methods out of ScColumn since they don't operate on column.Kohei Yoshida1-73/+5
Change-Id: I1a03b9b18dd236138306fd545e961a5443e22bc8
2013-07-11Group formula cells in ScColumn::MixData().Kohei Yoshida1-77/+93
Change-Id: I38186e2bf82ed56fbe859b17dcc1d31f36471bd8
2013-07-11Group formula cells when copying to clip, prevent crash during pasting.Kohei Yoshida1-4/+12
Change-Id: I6a33301d74d9845e8c0fa77894fbd89bea40fd1b
2013-07-08Re-group formula cells in DeleteRow().Kohei Yoshida1-4/+6
Change-Id: Ic67af048baa55cf1aee118ec741f140831127a95
2013-07-08More on regrouping of formula cells.Kohei Yoshida1-15/+51
Change-Id: Icd3403e759841dce351c932ea8915ba9819e5a29
2013-07-08Adjust formula grouping on range deletion.Kohei Yoshida1-8/+24
Change-Id: Id3c2cd0a3cffa299c8424f9c9e4989ce8bd60719
2013-07-08More test on shared formula group adjustment on value insertions.Kohei Yoshida1-7/+0
Change-Id: Icaa48ef790cd71abdfc1d026ac912a88f727c0d5
2013-07-08Adjust formula cell grouping on cell deletion without shifting.Kohei Yoshida1-22/+46
Change-Id: I4dad09faf10406163b5944933422d50b832f45bc
2013-07-03fix the inherited number format removal codeMarkus Mohrhard1-2/+8
Change-Id: Ieb17d6f8505d7a5934b9542d407be8902b4be427
2013-06-27More on shared formula cell handling.Kohei Yoshida1-3/+53
Change-Id: Ifb0feff8c7016e3cadfa219ea6421852112ca189
2013-06-27Proper handling of formula cells in SwapRow().Kohei Yoshida1-8/+18
Change-Id: Id295160b69cc5cb40cd9e0403928dac8b0e58807
2013-06-27Make this a member method too.Kohei Yoshida1-64/+72
Change-Id: Ib1b16ce5a7a36560b04d4d57b585fdcf2a2b294d
2013-06-27Make this a member method of ScColumn.Kohei Yoshida1-10/+8
Change-Id: I5d0a573d277338ddef60fdd58bfb1f5ba7fc695e