summaryrefslogtreecommitdiff
path: root/sc/inc/mtvelements.hxx
AgeCommit message (Collapse)Author
2015-01-03boost::unordered_map->std::unordered_mapCaolán McNamara
Change-Id: I2c65709cda6f10810452dfb8aa1a247cb3a5564f
2014-12-10Deteremine the script type of source cell during paste replication.Kohei Yoshida
Doing this ahead of time eliminates the need to update script types of all replicated cells after the paste. This makes significant performance impact. Change-Id: Ic4f7d7b2fe152bd5640ddb1dae01cc2ed757657e
2014-06-25remove whitespaceMarkus Mohrhard
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-05-11fix-includes.pl: scThomas Arnhold
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-04-19fixincludeguards.sh: scThomas Arnhold
sorry, huge one...
2014-03-03remove unused code in sc::CellTextAttrNoel Grandin
sc::CellTextAttr::CellTextAttr(unsigned short, unsigned char) Change-Id: I39f893714866f69b7928cee980cb1505c9b2be06
2014-01-25Stop leaking all ScPostIt instances.Kohei Yoshida
And re-implement correct swapping of two ScPostIt instances during sort. Change-Id: Ifbf120aae594342ae0b7c5760f771c53092c8022
2013-12-18Use orcus csv parser to streamd data which has much less overhead.Kohei Yoshida
Also, use DocumentStreamAccess to modify ScDocument's content. Change-Id: I516260cff1f2315267afcff05e36e620798a1aed
2013-11-11Make this thread safe too.Kohei Yoshida
Change-Id: Ic8508f693f8a6e9bae513d6b5b6eaaaae618194b
2013-10-23Re-implement cell note storage using mdds::multi_type_vector.Laurent Godard
Change-Id: I34ea91e360e2a6b85d65f970c6e43db687d213ca
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-08-13Ensure iterators are value-initializedStephan Bergmann
...instead of merely default-initialized, to avoid undefined behavior in enclosing classes' copy ctors/assignment ops. (Cf. resolution of <http://www.open-std.org/JTC1/SC22/WG21/docs/lwg-closed.html#408> DR 408 "Is vector<reverse_iterator<char*> > forbidden?") In return, remove the enclosing classes' user defined assignment ops that do explicitly exactly what the default ones would do anyway. Change-Id: If1bb1aea56dd48da873a92a8fa30dedea844740c
2013-07-09Modifying comments to meet Doxygen standardsNourah.AlShoeibi
Change-Id: I9c498c8c2147a19c5f97e48bc8a0e149e6858e23 Reviewed-on: https://gerrit.libreoffice.org/4769 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-01Start moving all these DEBUG_FOO into calcmacros.hxx.Kohei Yoshida
This header was formerly dpmacros.hxx, now renamed to calcmacros.hxx. Change-Id: I2ed768b7c5678f5216b1e93df2c0cede0c548be4
2013-06-27Turn off column debug and remove warnings.Kohei Yoshida
Change-Id: Ic7dd79c1e420e87dcaff4126d60763ff8cbe9344
2013-06-27Initial version of dynamic grouping of formula cells.Kohei Yoshida
And tests to go along with it. Change-Id: Idf5ff3b819aa557a1ae31dfb4d0b2c3a8216ed75
2013-06-24Turn off column storage debugging.Kohei Yoshida
Change-Id: I5d88c94a9cf0bbd194c8c505de7cc34bb9e20500
2013-06-24Leave the RowInfo's for empty cells unfilled.Kohei Yoshida
Else empty cell regions would get skipped and the non-empty cells would get displayed at incorrect row positions. Change-Id: Ica8d1c654458e0ea508e8f00846180d89bfe8804
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-06-24Define block types for string, edit text and formula cell elements.Kohei Yoshida
Also, remove the custom_ prefix from block names. Change-Id: If3dfdbdacc2d0113fa8d631bec7a914b51668115
2013-05-20Keep track of column block positions in ScDocumentImport too.Kohei Yoshida
This currently only affects document import via orcus, but it'll be good to put this in place. Change-Id: I8cc6d54aba6fab1f2774127f92c2a764f7b690fb
2013-05-20Keep track of current block position when pasting a range of cells.Kohei Yoshida
This avoids re-starting the search for insertion position in the cell text attribute array, on every single cell insertion. Instead of always searching from the first position, it starts the seaarch from the previous insertion position. This reduces the paste time from the previous 3.5 seconds to 1.7 seconds on my machine. Here is the scenario. 1) Put =A1 in B1, and leave B2 empty. 2) Select B1:B2 and copy it via Ctrl-C. 3) Select B3:B50000, and paste via Ctrl-V. Because of the empty cells interspersing the destination range, this makes the data array highly partitioned, which makes the position lookup very very expensive without the position hint. Still, I was hoping the duration would become a fraction of a second. 1.7 seconds still seems a bit too slow... Change-Id: I7742ce7e22935b6d0e082e4569d53dbd2072c4e5
2013-05-20Move the column element block definitions out of ScColumn.Kohei Yoshida
so that I can reference it in another class. Change-Id: I035cc1d37ec219c3e3da2e180a0337fb3c6fba8a
2013-05-20Block definition for CellTextAttr.Kohei Yoshida
This block will be used to merge the text width and script type vectors that are currently separate. Text widths and script types should really be stored together. Change-Id: I6783769cc03180b513319e0a98a0773bd20ba941
2013-05-20Rename header: mtvelement -> multi_type_vector (mtv) elements.Kohei Yoshida
This header hosts custom element types and blocks used in multi_type_vector. Change-Id: I32481a2354d8c66eb877b4005a260a79183cd714