summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table2.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-11-21fdo#56584: delete also note caption.Markus Mohrhard1-1/+1
Change-Id: I1d792082e79d6bb68004a84c172cc3bb5c194826 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-11-07only delete cond formats if the correct attributes are passed, fdo#56316Markus Mohrhard1-1/+2
Change-Id: If9859b5021c532daacccfaf386e0489c134e4afb Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-11-05Correctly handle cell note shifting when immediate row/column is deleted.Kohei Yoshida1-4/+12
Currently, having a note e.g. at D5, and deleting cell D4 and shifting the cells below upward will remove the note at D5. But the correct behavior is to shift that note up to D4. This change fixes it. Change-Id: Ia37f1ce67a003deab424f2b805a2ce333fc10ed4 (cherry picked from commit d3344dd85ee31b195a3709d16e734245e1d0a4b6) Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-11-05Fix incorrect shifting of cell notes upon cell insertion / deletion.Kohei Yoshida1-2/+8
Steps to reproduce: 1) Insert a comment at D5. 2) Move cursor to C4. 3) Right-click and select Insert. 4) Choose shift cells down. 5) The comment gets shifted down but it shouldn't. The same thing happens when deleting a cell and shifting content. Change-Id: I5a71845cca6abde6b7c940e152e155da26343cef Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-10-16don't insert notes from deleted cells, fdo#55885Markus Mohrhard1-4/+14
Change-Id: I036f0531dc2290c5eb480258bc70ec13b810e6bc Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com> Signed-off-by: Eike Rathke <erack@redhat.com> Signed-off-by: Noel Power <nopower@novell.com>
2012-09-24Backport various conditional formatting fixes from master.Markus Mohrhard1-0/+5
Change-Id: I52987e957918853bcd1abd1460c6166b52454d62 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-08-31handle missing cond format entries more gracefully, related fdo#52340Markus Mohrhard1-0/+6
Change-Id: Id1cf7d99a13c04541e87ad00c5418dd4f766d268 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-07-23use correct source table for cond format paste, fdo#52340Markus Mohrhard1-1/+1
Change-Id: I7c4cb1a5f31ba9e37a280af2243a13c57914cb2f (cherry picked from commit 669784c6653732fd2ad43024332957d5df5652bb) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-06-15correctly copy the cond formats, fdo#50679Markus Mohrhard1-1/+14
Change-Id: I52d645a8a7662016ced8c1eb6b320c4a14807353 Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2012-06-15adjust import/export code to merged conditional formatsMarkus Mohrhard1-1/+1
Change-Id: Ib9cd4e09e55ff2413db8e1daf45624d695e3113d Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2012-06-15integrate color formats into conditional formatsMarkus Mohrhard1-49/+0
Change-Id: I3c235f6dd0b69d3fc560910fcc890d2c80c995c0 Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2012-06-15prepare cond format code for merge with color formatsMarkus Mohrhard1-3/+7
Change-Id: Id49eb1da20b75a9ab83d20c29ad8e976d46b9423 Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2012-05-24make color formats and conditional formats a sheet propertyMarkus Mohrhard1-10/+14
TODO: - UNO needs some love to accept this change - we need a new uno interface for conditional formats in 4.0 - copy/paste - undo/redo Change-Id: I2c8a233888a95c7298dfb151d1c12b6a6a58520d
2012-05-18restructure colorscale code a bit to allow adding databarsMarkus Mohrhard1-5/+5
This is just a first step. In a second step we need another layer to allow color scales and databars applied to the same range and finally merge them with normal conditional formatting. Change-Id: I0452ed12dd9b2d5395cf005d75a902fbb7a984ad
2012-05-14copy color scales correctlyMarkus Mohrhard1-0/+49
Change-Id: I I I0f3ce313928ffa85f563e4162398816bf3ab2fdc
2012-05-14create real copies for conditional formatsMarkus Mohrhard1-0/+53
This fixes problems with unique value/ duplicate value entries. The old falt copy process did not respect that the copy needs to point to its own range and therefore the copy was totally useless. This is also necessary for several future new conditional formats like: top n%, top n elements, above average, ... Change-Id: I51b868968812a4e00dca9af2aa51d50b5ef8b855
2012-05-14use correct indentationMarkus Mohrhard1-7/+7
Change-Id: I60cb1f1ed4a0068bc39ada14ac629bf20af709f9
2012-05-12reduce scope of this variableMarkus Mohrhard1-3/+2
Change-Id: I I98b7d83aee9f74574a4884f6066e769930e1803a
2012-04-11make ScTable::FillSeries work correctly with hidden rows/columnsMarkus Mohrhard1-0/+5
2012-04-10search for hidden rows/columns and not filtered areas, fdo#48449Markus Mohrhard1-10/+10
2012-03-09use the target document not the source documentMarkus Mohrhard1-1/+1
2012-03-05and two more errors of the same kindMarkus Mohrhard1-2/+2
It is alarming that the Notes unit test did not fail for any of these errors
2012-03-05well one copy/paste error is not enoughMarkus Mohrhard1-1/+1
2012-03-05fix copy/paste errorMarkus Mohrhard1-1/+1
I can't express how dumb I feel after searching for hours for a bug in the note handling and then it is just such a small copy/paste error
2012-03-05readd note handling to CopyUpdatedMarkus Mohrhard1-0/+10
2012-03-02remove table.hxx from document.hxxMarkus Mohrhard1-0/+1
2012-03-02fix crashs in undo/redo realted to note captionsMarkus Mohrhard1-2/+2
2012-03-02remove unnecessary parameterMarkus Mohrhard1-1/+1
2012-03-01there is no need any more for CloneWith[out]NoteMarkus Mohrhard1-3/+3
2012-03-01fix some iterator misuse in the new notes handlingMarkus Mohrhard1-32/+80
2012-03-01only delete notes if correct flag is passedMarkus Mohrhard1-2/+2
2012-02-29some more fixes to get note handling backMarkus Mohrhard1-3/+48
there are still some issues that will be addressed in later commits
2012-02-29remove mpNote: fix copy/pasteMarkus Mohrhard1-1/+5
2012-02-29remove mpNote from ScBaseCellMarkus Mohrhard1-36/+85
2012-01-09fdo#44545: Skip filtered cells during auto-fill.Kohei Yoshida1-1/+2
Regression from 3.4.5.
2012-01-09simplify CharClassCaolán McNamara1-2/+1
multiple variants of toUpper (etc) some that take a non-const OUString or String and modify it some that take a const OUString or String and return a new one some that take part of a const OUString or String and return a new one
2012-01-05Removed unnecessary tools includes.Marcel Metz1-1/+0
2011-11-27remove include of pch header from scNorbert Thiebaud1-2/+0
2011-11-23Cleaned up the ScTable declaration a bit.Kohei Yoshida1-0/+1
* make it officially non-copyable. It was never copied anyway. * retire std::auto_ptr which is deprecated. Let's use boost::scoped_ptr. * some unused typedef's.
2011-11-16Oops I forgot to remove the header include line.Kohei Yoshida1-0/+1
2011-11-14Marking methods const where possible.Kohei Yoshida1-2/+2
2011-11-07String->OUString in ScDocument and follow upMarkus Mohrhard1-9/+8
2011-11-05Moved ScQueryEntry into its own file set.Kohei Yoshida1-0/+1
Because I'll be modifying this struct in the next few days...
2011-11-04Extracted complex if conditions into own methods. Much more readable.Kohei Yoshida1-3/+3
2011-11-04 remove unused methods from ScDocument and ScTableMarkus Mohrhard1-11/+0
2011-09-06merge area does not need to be increased if a shadow is attachedMarkus Mohrhard1-2/+2
2011-08-26fdo#40378 compile defined names that had unresolveds during loadEike Rathke1-0/+3
Dependencies of defined names must not depend on the order in which they are inserted during file load. In a second step compile defined names that had unresolved names during load, and only those.
2011-08-25sal_Bool -> bool in ScTableMarkus Mohrhard1-99/+99
2011-08-16rework 04d2e6469529b6187900659517d6f6dd5ea2cca5Markus Mohrhard1-1/+1
only update range names in formulas if the documents are different or the sheets are different
2011-08-16update range names/database ranges in formulas cellsMarkus Mohrhard1-1/+5
we need to update range names/database ranges when we copy/paste formula cells otherwise the ScNameToken may point to a different entry