Age | Commit message (Collapse) | Author |
|
types.hxx is included by pretty much everyone inside sc. Let's not
stick a boost header in there...
Change-Id: Iaf2aa9e13d0e02437bcd9e71a0143432abfa0a7c
|
|
... also if other references are not updated. References to other sheets
are never to be treated as relative during sort, they are always
absolute, even if they have relative row/column part references.
Broken again during the big sort mess. Even if there was a unit test,
which didn't help as it got disabled / adapted to the change..
Change-Id: Ic0e61c5e1cb0728e20725c29e450ab0eb55c3305
|
|
...to keep UBSan from complaining about illegal downcasts from FormulaToken to
ScToken (which were practically harmless, given that ScToken did not add any
data members).
Change-Id: I8fdc026eec363442cc4b720b71d65c972b4a4446
|
|
* No need to re-compile RPN token array on reference change alone. We do that
when the formula contains one or more names that have been updated.
* Adjust undo code to get it to work without relying on ref undo document,
which would cause the token arrays to be unnecessarily recompiled.
* Whatever else need to be changed in order to pass all unit tests.
Change-Id: I99e86d23320aca8900fef011da23a9d34e42751e
|
|
Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f
|
|
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
|
|
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
|
|
Add API to wnsure we don't end up allocating 32k bytes of tokens
for each ScFormulaToken, as happens when you Add a token to a new
empty ScTokenArray.
Change-Id: Ib12a3065eb513243a2146ebb009fbaa650385dd9
|
|
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
|
|
Also fixed reference update problem.
Change-Id: I06e6115ef969a011fdd5c92d5eb1927fb7ae789b
|
|
When importing shared formula tokens.
Change-Id: I7e1a05a78c3a93330476516e0459cffb668e3f66
|
|
sorry, huge one...
|
|
And a whole bunch of changes needed to make that happen.
Change-Id: Idd98fbc99322c0d72fb0a7848d89cb1a6abc88b6
|
|
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
|
|
But named ranges are adjusted if and only if the references are absolute.
Change-Id: I6c5287b413884b045f1a798c6c6683aa17863f24
|
|
Also with this commit, the signature of SvtListener::Notify() changes,
by dropping the first argument which nobody uses. This change was necessary
in order to call it directly without needing to pass any broadcaster instance.
Change-Id: I6a1e97f0fb1e070d1d8f7db614690b04c9e8024e
|
|
This will allow formula cells to restore deleted references when they get
recalculated. With this change, SetDirty() that previosly took no argument
has been renamed to SetAllFormulasDirty(), and it now takes one argument that
stores context information.
Change-Id: If0de5dc1737a2722b6d61a87644b10a4f921edc5
|
|
Change-Id: I160f7af515d0a42f20fbc694fff7f39567ebeec5
Reviewed-on: https://gerrit.libreoffice.org/8062
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
And make it re-entrant for thread safety. This method should not modify
the internal state of the token array object. The one with ScCompiler
is not re-entrant. Still some way to go.
Change-Id: I06de3637341727aef0963dddfb98527f415bf7fa
|
|
Change-Id: I1263026133b694e531c0a99b16d622e1ae12db48
|
|
Change-Id: I25fc70cfd01f5ad25f7362157796d3ddf06139e1
|
|
Change-Id: Ic78d7a06991b983e625b161f11fbbabce02334f3
|
|
No more mapping to range names.
Change-Id: Ic43b6ef35a91fe4d6fff748ebc22969ba4e036db
|
|
Change-Id: I3b20f79d9c2f373c93a34ccdb308c6d5c09f69e7
|
|
It works fine with live calc instance, but somehow fails in unit test.
Change-Id: Ie60774b4f1f8391801e0d9358f6cca78d8e52397
|
|
Change-Id: I05b43bad84333ac8aeee7928898bdd90eed53c38
|
|
Change-Id: Id3f2ffe6d91ae43d799182b3744a839be5e1baf6
|
|
It's not perfect yet.
Change-Id: Iebe7a88e419365b053765685bb769427f569070d
|
|
Change-Id: I24e93e0bbc51c7f9a1f1ea0c126a1399ace84a9e
|
|
Change-Id: I1405eb54c3c530e2c22be1f1d7728fa0d84ad447
|
|
Change-Id: I52a8b78ed072eb6bcd86b4f80936a869046cbc4d
|
|
Change-Id: Ia6039d8a38a73d8d461743f128f01c347a2c51ad
|
|
Change-Id: Ie7499f1f589cd384c4e2421dc81d3c1f02e4a53e
|
|
Change-Id: Ib3f6a87936a6c00b503f5d72b16b3e4712d7d762
|
|
Change-Id: I6a5f94723b5efb916abc88d0de9f972e142199df
|
|
Change-Id: Iade09d108aec78f8cbe92f9103f206d0c99fab8e
|
|
Because we may move away from ScFormulaCell too.
Change-Id: Iafafe3c864efa73330fb8ecbb713caa903e23db5
|
|
Change-Id: I3c781764c6375dadb173bc5ab3cfb79857e2aeca
|
|
Not tested yet.
Change-Id: I87f8a8595229d8d8e83526dc0334891d253cf2c7
|
|
And CompileString() is the place to do it, to the best of my knowledge.
Change-Id: I249df5d09aa288eacc2b2c7ad6e5fc947a3c225f
|
|
To allow access to reference tokens.
Change-Id: I3e2d2653722005c04b6d26e1a4ddfce0a459ef37
|
|
Patches contributed by Herbert Duerr
i#118735 prevent endless loop if vlookup/hlookup doesn't find anything
http://svn.apache.org/viewvc?view=revision&revision=1239673
Patches contributed by Andre Fischer
remove lp_solver
http://svn.apache.org/viewvc?view=revision&revision=1199180
i#118160: Added external CoinMP library.
http://svn.apache.org/viewvc?view=revision&revision=1233909
Patches contributed by Armin Le-Grand
i#118485 - Styles for OLEs are not saved.
http://svn.apache.org/viewvc?view=revision&revision=1182166
i#118524: apply patch, followup fixes to 118485
http://svn.apache.org/viewvc?view=revision&revision=1186077
Patches contributed by lihuiibm
i#108860 - Fix range validation.
http://svn.apache.org/viewvc?view=revision&revision=1242846
i#118954 Chart data will lost after copy to different file
http://svn.apache.org/viewvc?view=revision&revision=1301345
Patches contributed by Ariel Constenla-Haile
Fix Linux build breaker: extra qualification on member
http://svn.apache.org/viewvc?view=revision&revision=1301591
i#118696 - i#118697 - Fix some Sheet Tab Color API issues
http://svn.apache.org/viewvc?view=revision&revision=1225428
i#118697 - Fix uninitialized variable
http://svn.apache.org/viewvc?view=revision&revision=1225859
i#118771 - ScUndoImportTab should preserve tab background color
http://svn.apache.org/viewvc?view=revision&revision=1230356
i#118921 - Repaint linked sheet tab background color after updating link
http://svn.apache.org/viewvc?view=revision&revision=1245177
i#118927 - Undo/Redo "Update Link" does not reset sheet tab color
http://svn.apache.org/viewvc?view=revision&revision=1245241
i#118747 - Copy tab color when transferring sheets across documents
http://svn.apache.org/viewvc?view=revision&revision=1230355
Patch contributed by Oliver Rainer-Wittman
i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and
<ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container
iteration in order to avoid destroyed iterators during iteration.
http://svn.apache.org/viewvc?view=revision&revision=1297916
Patches contributed by Mathias Bauer
gnumake4 work variously
http://svn.apache.org/viewvc?view=revision&revision=1394707
http://svn.apache.org/viewvc?view=revision&revision=1394326
http://svn.apache.org/viewvc?view=revision&revision=1396797
http://svn.apache.org/viewvc?view=revision&revision=1397315
Patch contributed by Daniel Rentz
calc69: #i116936# fix VBA symbol Cells
http://svn.apache.org/viewvc?view=revision&revision=1172135
Patches contributed by leiw:
i#118546 CPU 100% on switched off AutoCalculate with Conditional
Formatting on date values
http://svn.apache.org/viewvc?view=revision&revision=1301380
Re-add new function documentation. Many various cleanups.
Add missing calc66: #o11817313# also look at formula result
number format, remove redundant binaries.
|
|
except moving ScPostIt into source/filter/inc/xeescher.hxx
Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff
|
|
The copy/paste formulas code is getting a bit complex. I will try to
write some test cases for it.
|
|
|
|
|
|
we now behave nearly the same way as excel does
|
|
Copying absolute sheet references between different documents now transforms absolute sheet
references into external references if the refered range is not copied.
Working:
References to already saved documents work already with:
-only transform reference into an external reference if range is not in
the copied range
-don't transform relative references
Missing:
handling for copying from not yet saved files
idea:
- add handling of external references to open documents that are not yet
saved through the temporary document name
- transform the url to the correct file url as soon as the source document is
saved
- if target document is saved first show warning message to the user and
save with temporary name as file url
|
|
We need to map Excel's database ranges (or in Excel's terminology
"tables") to named db ranges because they may be referenced in formula
expressions. Also, Excel tables are always of the form Table*[] when
used in formulas. Skip the "[]" part then the preceding token is a
valid database range.
|
|
|