Age | Commit message (Collapse) | Author | Files | Lines |
|
Cell validation is stored as cell attributes which are stored with
columns not with cells. When HasSpecialContent() is true, it flags
the *cell* not empty, which in turns causes AddTextAndValueCell to
iterate over every single cell position for all repeated columns
and rows. That can very very slow when the number of repeated rows
is very high.
Since cell validation is stored with columns, skipping empty cells
even when they have cell validation settings set won't cause any
issues, and all cell validation settings are imported correctly even
after this change.
With the test document I have (confidential), this change alone reduces
the load time from 30 seconds to 0.3 seconds.
3.6 cherry-pick note: The 3.6 branch doesn't have HasSpecialContent()
method, but the logic was still the same and I've applied equivalent
fix for this branch.
Change-Id: Ifa6c6d70fa926d0a0037b35149373cfaf29db431
|
|
These two errors in the code contributed to the reported bug. Let's
fix them.
Change-Id: If82a1bd4d1e27145b48e722b30388cc9dc4a8a6e
|
|
Conflicts:
comphelper/source/misc/mediadescriptor.cxx
sc/source/ui/unoobj/scdetect.cxx
Change-Id: I35968241a79db0aabe06e25c0efac2aa3d1c5b84
|
|
Change-Id: I18d8fb4b993771d3365bf3dbfbb781ef17ed20ab
|
|
When scanning the entire data range in an attempt to determine where
the first data row is, we shouldn't stop at the first column. We should
scan all data columns to make sure we pick the lowest value row
position among all columns.
Change-Id: I693ec169857b181c6b4237efcba3fa6a46eaa531
|
|
Use locale-aware collator to sort strings, instead of using the
transliterator. The actual sorting algorithm for cell sort uses
collator. Let's be consistent with it.
Change-Id: I6729553ce92d50e45fa1ea6e1c35581fd791807d
|
|
Change-Id: Iea8a02ceab7b603b5363b9df74e1381f152d70e1
|
|
Change-Id: Ieaf84e8d36efa8314729903be029f83c31bcbdf3
|
|
When the option for using English function name changes, we should re-compile
all cells with #NAME! as the error may have been caused by unresolved function
name which may be fixed after the option change.
Change-Id: Id340ce9b5db3ed368b98e814861be5c3f96df071
|
|
Thank you John LeMoyne Castle for your support
http://nabble.documentfoundation.org/Wrong-indentation-which-leads-to-segfault-in-sc-source-ui-docshell-docfunc-cxx-td4026726.html
However, the weird thing is I reproduced the crash with master sources but didn't with 4.0 branch nor with 3.5.4.2 Debian packages
Change-Id: Ia5366f479a1066106551b77b5a6315fb78e1bf7d
|
|
Change-Id: I203aa640e7d4373f3a090a4988c28c6059b93064
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
|
|
Like a crash in the pivot layout dialog... :-/
Change-Id: I9a330ee3f39ebacb7299d24868bb13ee2a9c3ec5
|
|
formula import is buffered 'till the end of import. The processing of the
formula data need to happen before the scenario import happens. This is
necessary because sheet numbers stored in the formula addresses can become
invalid as scenario import insertes new hidden sheets upsetting the previous
table order
Change-Id: I9357f028f31bec1b1504ca991f5534f80d79c9bc
|
|
Change-Id: Ib0c661dbb3ce9a2f8c8d29707a1cf0c65aadc81f
|
|
This change allows selecting multiple items in page field popups in
pivot table.
Conflicts:
sc/source/ui/cctrl/checklistmenu.cxx
sc/source/ui/inc/viewdata.hxx
Change-Id: I692e13c0815211bac6da47fefd83bba18c901c5c
|
|
This reverts commit 3bc88c4fdc2a05f816f29cb42b7d4f609214357c.
This needs a new solution.
|
|
Static data series label is a data series label whose value is a
string value rather than a cell reference.
Also, when inputting static string label in the UI, we don't have
to manually check for quotes; the formula compiler will take care
of that later.
Change-Id: I1657fc9879a7f652bba84898e308c3a5d5ba87a3
|
|
Else, activating another window pane where the cursor is not would cause
the pivot table field popup to immediately get dismissed after launch because
ClickExtern() gets called from ActivatePart().
For example, imagine a field popup button is on C2, the cell cursor is
on E5, and the window is frozen between rows 2 and 3. Clicking the popup
button in C2 would launch it for a brief second and dismiss it immediately
afterward. Conceptually, launching a popup in another pane shouldn't
activate that pane anyway. So it makes sense not to activate it for that
scenario.
Change-Id: Ib970cb898fb9c79d254411e2519cfce74c60b72f
|
|
Otherwise ungrouping date grouped dimension may crash, or produce
incorrect results.
Change-Id: I3634e3c0bf8336fc1221f5d234cb7e01eb1f07c6
|
|
also uses the cell formatting to set up the field buttons background & text/font
attributes
Change-Id: I5f5a46bfc7f0b7aabb8872c25b3c3134e90611ac
|
|
Change-Id: I1d792082e79d6bb68004a84c172cc3bb5c194826
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
At the point where std::unique is called, we can use order indices to
determine whether the two items are equal. This should be more stable
than using CaseInsEqual() to assess equality.
Change-Id: I88310fc7beede19fb1c629b9b7e3cb9a069b2b23
Reviewed-on: https://gerrit.libreoffice.org/1013
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
|
|
(cherry picked from commit eb240530443b964ea45bf80a5e3711e11a3f09c5)
Change-Id: I9a8c02369c3e5a12310a46229bdc1671f75593ad
|
|
Change-Id: Ib48606402fb90b259f705badeac294d7c336cb9c
(cherry picked from commit c45b6496e87fe74570a41821bc5f4fbdb3d3cf8e)
Signed-off-by: David Tardon <dtardon@redhat.com>
|
|
Change-Id: I7099e984a8b05ccd3324f3b9231c193e716eaf83
(cherry picked from commit cd545dcf511daedd548c11159b8c244f272e9cb6)
Signed-off-by: David Tardon <dtardon@redhat.com>
|
|
old code used to use XCell->setString, new code uses rDoc.SetString which by default tries to detect number formats. The ScColumn::SetString that eventually
gets called seems to do lots of additional checks ( and apparently even if
an ScSetStringParam instance with mbDetectNumberFormat ( false ) was passed
it seems that it will still try to detect decimal number formats. With that
in mind I restore and un-unoified version of what XCell->setString used do
Change-Id: Ifaef74c78b198f492a390a3d5dc1721622a01ea4
Reviewed-on: https://gerrit.libreoffice.org/1020
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Else Calc would fail to update the column headers due to A1 to R1C1
change (and vise versa).
Change-Id: I2c403212f5bc539aea92370e60da96f480549d6d
Reviewed-on: https://gerrit.libreoffice.org/1049
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
|
|
Consolidated changes for fdo#56278 fdo#54074 fdo#53364 fdo#55059 (and
earlier i#99844 and i#101869). The replacement cell for the broadcaster
to inform listeners, if any, is transferred the broadcaster and owns it,
the remembered formula cell never does. When broadcasting the change use
the replacement cell instead of the remembered formula cell. Don't
fiddle around with ReleaseBroadcaster() at the remembered cell, we don't
delete twice and now also don't leak.
(cherry picked from commit 8165bfa2afbe828caf37df57b83cb31bef2559cb)
Change-Id: Ia11b6d3d751c784af64aaed05f8508887f869a80
Reviewed-on: https://gerrit.libreoffice.org/1069
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: I4b94883f594e13e9923bdd05593447a152fa8b0a
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
Change-Id: I2ab31904169adad4f173d4655d0511855de77464
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
And Calc's header footer currently don't distinguish between time and
extended time. Time fields in the header / footer are always dynamic
and never static.
Change-Id: If628d179968c270a63d38cdc3bf6018c01241ac1
Reviewed-on: https://gerrit.libreoffice.org/992
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: I2d53c88ab121edeec2bf53f7fd177a0edcc05a25
Reviewed-on: https://gerrit.libreoffice.org/958
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
Change-Id: I1e31fe05e00ed7e298642da9c0e35ae834dfa74f
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
Change-Id: If9859b5021c532daacccfaf386e0489c134e4afb
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
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>
|
|
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>
|
|
nStopPos is non-inclusive, and STL's erase() method also expects a
non-inclusive end position (like any other STL methods do). It's wrong
to -1 here which would end up not erasing the last element containing
a pointer to the deleted cell instance.
Change-Id: Ic09ab4a6bb03d0f56bb854a91bf93a99be867116
|
|
Else you'll get the wrong answer in isRowActive(), which always search
flag via tree.
Change-Id: I3fa92d06f7ba3040eca061d5424afefe362703de
Signed-off-by: David Tardon <dtardon@redhat.com>
|
|
Conflicts:
desktop/source/app/sofficemain.cxx
instsetoo_native/util/openoffice.lst
solenv/inc/minor.mk
Change-Id: I3e9510067c7173f6c71368e70ba6dfe168c5318e
|
|
Change-Id: I23073ecc56482670d185b39452a7d8b9d6eb38c8
|
|
Change-Id: I86dfff571c14bce97d0851b4093dbc376d8b6ea4
|
|
(cherry picked from commit 40377a6e26aa61a1c0788cad1c97a10911d38da8)
Signed-off-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 23e6bac62ef6482c287bb0f55c662ac2047ebb33)
Change-Id: I2a0914fbaff3e3f707a9c06f693079aed2b89ba4
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Eike Rathke <erack@redhat.com>
|
|
(cherry picked from commit 4302eb0a6c4e28ab675de9d59e73cac345ba30c7)
Signed-off-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 07cc274256ebff259e228e7285bc27e6ddc94fdc)
Change-Id: I9c7f62b47f83b7798a8efdbf3896503918929f03
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Eike Rathke <erack@redhat.com>
|
|
(cherry picked from commit 622f7751b78fd8584e34f5fa96a04ed6e8bb98f5)
Signed-off-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 637096b75f2989640967e72aee41e48b07a5a602)
Change-Id: Iacd3f8cfc26bb147eaf3b6957338be212b448226
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: I540481585bec2479db541025755c2a5a670da9ed
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.cz>
|
|
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>
|
|
(cherry picked from commit fb1d9cc99e026ba9cf15ab49b2251cecfbbf6d10)
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit ea50fe437b4f61e6c97d81721441da2b7d1e2f66)
Change-Id: Ib3e55af8870b41a5b76179d2215fc5125ceda5af
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Signed-off-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: I60db486195e7216968dc8c7c7c0c79fb7e8c1b88
Signed-off-by: Noel Power <nopower@suse.com>
Signed-off-by: Eike Rathke <erack@redhat.com>
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
(cherry picked from commit 458d68fffa883bc706638299e5a5b2d1399beb0d)
Signed-off-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 0eee6469304ba15f42bcafb6707cc98bcbff9112)
Change-Id: I49e12d97d1e17b0a63daf374e7ff4b4720129553
Reviewed-on: https://gerrit.libreoffice.org/857
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
This reverts commit bea018a7040c36e91487b27c7b59c6c8a970bf5f.
Change-Id: Id554a8f05b82f146a505ac0a39afe14a3161291c
(cherry picked from commit cd9d51a36cc3106d4124855874af657615a93061)
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|