Re-structured the interpreter code to handle external references with
ocPush, instead of ocExternalRef. This is necessary in order to
support shifting of references in the same way you can with internal
references.
In addition, this change allows re-using of document instances already
loaded when accessing external references that point to one of already
loaded documents. Previously, Calc would load the same document from
disk even when the document was already loaded.
(n#628876)
This change fixes the data pilot field options dialog, to display
the name of a data field "<name> - <function>" to be consistent with
the rest of the data pilot UI. This change also fixes failure to
calculate result when a data field's result is relative to another
data field & the referenced data field used custom name.
(n#629920)
Improve reliability of DDE connections between documents opened in LO.
With this change, LO tries to reconnect to a DDE server document upon
opening if that server document is being listened to by one of the
open documents.
Also, the old implementation would load a DDE server document
invisible, and would never close it when the user updates the link.
This had the consequence that when the user tries to open this
document while it's loaded hidden, it causes some weird focus issues,
and closing it and opening it again would disconnect the DDE
connection. The new implementation closes the server document
immediately after the DDE link update is complete.
This change also fixes a bug in Calc where DDE link updates to cells
would fail when the formula syntax is set to something other than Calc
A1.
Add option to switch to English function names instead of the
localized ones. In some locales (especially in Hungary) the users are
more accustomed to the English function names rather other than
translated names (i#38765).
This patch fixes a bug where cell text disappeared under certain
conditions esp when the text is vertically oriented & the automatic
spell checking was ON.
n#640112
This feature enables horizontal 'distributed' alignment and vertical
'justified' and 'distributed' alignments for cell contents in Calc.
Note that this feature relies on ODF 1.2 extended in order for the
relevant cell attributes to be saved in ODS.
This change reduces memory footprint of column row attribute import
from Excel document, from the previous 20 MB per sheet (!) down to
near zero. With the test document I had, the memory use during
import dropped from 1.6 GB to 224 MB.
This enables quick insertion of current date and time into current
cell, via command. By default, these commands are bound to
* Ctrl-';'
* Ctrl-Shift-';'
respectively.
With this change, Calc correctly recalculates cells containing
SUBTOTAL function when sheet's filtering state changes, instead of
recalculating all formula cells that listens to those ranges whose
filtering state has changed. The latter is wrong since the values
of the filtered ranges haven't changed.
This patch allows formula to be recalculated if it's during matrix
calculation even if the auto recalc flag is OFF. This is needed
when calculating a formula whose result is a matrix which previously
only calculated the top-left cell when the auto recalc was OFF.
There are a great number of places in calc where code is commented out
with lines staring in "//UNUSED". Since 'git' is being used, there is
no reason to keep old code like this in comments.