summaryrefslogtreecommitdiff
path: root/sc/inc
AgeCommit message (Collapse)AuthorFilesLines
2015-02-27Resolves: tdf#81659 handle expand reference edge correctlyEike Rathke1-0/+3
split formula grouping for reference edge expansion, tdf#81659 related Edge expansion may change expressions individually, which must be split off the group. (cherry picked from commit 0cd15b4494f8e8abe67a258fb10189135bf5a8ac) tdf#81659 check that references are at least 2 cols/rows to expand edge Needs also 0cd15b4494f8e8abe67a258fb10189135bf5a8ac if edges are to be expanded and formula grouping is affected. (cherry picked from commit 23b0112ecea2f8796a4e237e9061de1a36997a30) Backported. b3cee8dd214d216907248316a2ac5a290399b169 Change-Id: Id4328bd8c42f2ff9f83d2edc845537971f3a39d3 Reviewed-on: https://gerrit.libreoffice.org/14656 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-16Resolves: tdf#39316 add matrix empty cells to ScInterpreter::QueryMatrixType()Eike Rathke1-3/+6
(cherry picked from commit eccbc97c7c224269fe261b8924e7866c3758ec91) add ScMatrix::IsEmptyResult() for tdf#39316 fix preparation (cherry picked from commit cf3f1d8dfeb45249eb60a30dba3243fe9a4a65e5) 9f2a3e6fa9f4ef43df672661afef996269b90a7a Change-Id: Ifa5d59e90afcfff66f2e8683fac2a9090ed615da Reviewed-on: https://gerrit.libreoffice.org/14430 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-02-13tdf#89330 preserve file name case in an unresolvable external named rangeJan Kantert1-1/+1
Reviewed-on: https://gerrit.libreoffice.org/14474 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 0a9e7293a570da8a36b2ac4fd1c4a22d6bc084f2) add unittest for tdf#89330 Reviewed-on: https://gerrit.libreoffice.org/14473 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit e4882717f3dc0375e113ed692374870ab8302a16) 4c5c65733700e7e7245e96f85714221acf23bcfb Change-Id: Ib8728a4a9c793b162de07a0cef66e242879f2aa1 Reviewed-on: https://gerrit.libreoffice.org/14483 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14Ctrl+A and Data Sort took ages to broadcast ALL cells, fdo#81501 relatedEike Rathke2-2/+10
Noticed when investigating fdo#81501 Squashed commits: Fix high memory usage when sorting cells in Calc. (fdo#81501) Empty columns were being unnecessarily included in the sorting range which caused extra allocation. This happens when you select the entire sheet to sort. There was already code to skip empty trailing cells in rows but not to skip empty columns. Reviewed-on: https://gerrit.libreoffice.org/13294 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit c50d8bf596f527bb53b86dd04da652ed72f2c549) actually use identical code for both byRow and byCol, fdo#81501 follow-up (cherry picked from commit 1e4235f8b2dc693b0fb1edade9db25a631bdbf94) trim also empty leading column ranges, fdo#81501 follow-up (cherry picked from commit c7b57c6c2b15a4b9f65dafb642e3f1da402e62ca) Ctrl+A and Data Sort took ages to broadcast ALL cells ... now that also empty cells are to be broadcasted. Set dirty and broadcast only the effective data range as determined by Sort. This is more a workaround, a cleaner solution would be to refactor the SetDirty() algorithm to iterate only through broadcasters and use AreaBroadcast() to notify area listeners. However, this can also be easily backported to 4-3. (cherry picked from commit 9a568c41ccd1ccf6073758973da5914a44f629d2) 982e03a12dd80be0787f22dce4495065775e7de0 eaeea85149e4b6d263b112205bb17c155e2d12be 6d68ca0088cec6a8328a3e93364ac928ef69babe Change-Id: Ieac22647bb13165cbf66cb1a93f567e5169fff6a Reviewed-on: https://gerrit.libreoffice.org/13323 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-12only delete cell content for CELLTYPE_NONE, fdo#88200Markus Mohrhard1-0/+1
Change-Id: I43463b56cabfea4c9ee2b98445f7fb522221197d Reviewed-on: https://gerrit.libreoffice.org/13843 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-07fdo#85258 differentiate between empty cell and empty result in matrixEike Rathke1-0/+6
Change-Id: I79259224e411f9c1a6e852623d9d49cf89a03c27 (cherry picked from commit 069698de192ef7e8d3582398e4542c175cabb987) Reviewed-on: https://gerrit.libreoffice.org/13617 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-17resolved fdo#87237 propagate error values through matrix comparisonsEike Rathke1-1/+1
Apparently introduced with 8e8b43a03e77dd251876c1de0ac06eeeb09192cd the comparison results were stored as boolean values, effectively discarding any infinite double values and error values encoded as NaN values. Change-Id: I1fb6f46894a0bee02a37e28b7e6cc84f8c051f28 (cherry picked from commit 3c405ff82fcc9f8f044833420485c54658064636) Reviewed-on: https://gerrit.libreoffice.org/13439 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-12-09add ReorderParam.mbHasHeaders to include in Undo range markEike Rathke1-0/+1
Undo Sort did not select/mark the original range if it included header row/column. (cherry picked from commit ec1b1af8af7ead149f96c09e16402e66e0973372) Backported with merge conflicts. umm.. row is row and col is col (cherry picked from commit 413a0655adec3e9364bc94afff638a5a9f88560c) 26c62fa1fc97aa0dd4eda1102422e5f012a126eb Change-Id: Ie4c800e7a44fd910c871731673093400c6400e4a Reviewed-on: https://gerrit.libreoffice.org/13379 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-12-09surely it makes no sense to ignore return of Sanitize[Col|Row]Caolán McNamara1-10/+10
Change-Id: I24ef940bcf4b2a7c5f40185f91ee234c844185f8 (cherry picked from commit e5c2fe0412585bc83bd6a99fc37a7c47eb8c3641) (cherry picked from commit a403bddc0fe29f69e3fb2b0c04fd540fa2cec218) Reviewed-on: https://gerrit.libreoffice.org/13389 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-12-09we need the SdrPage for deleting the notes, fdo#86166Markus Mohrhard1-0/+1
The SdrPage that contains the shapes for the note captions is deleted before the notes. Prevent that case by deleting the notes before deleting the SdrPage. Change-Id: I13727cea7df0b033fb386a6a8e20dcadec743335 Reviewed-on: https://gerrit.libreoffice.org/13362 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-02fdo#86762 re-establish listeners to move cell broadcastersEike Rathke4-4/+20
... for UpdateReferenceOnSort=false (cherry picked from commit 6c2111f17089eb667bf526561d7667d17825e822) Conflicts: sc/source/core/data/table3.cxx fdo#86762 broadcast also empty cells after sort (cherry picked from commit 08793e08c7e9cefe594c49130f782725e386c463) Conflicts: sc/inc/column.hxx sc/source/core/data/column.cxx sc/source/core/data/document.cxx sc/source/core/data/table2.cxx sc/source/ui/docshell/dbdocfun.cxx fdo#86762 re-establish listeners on moved broadcasters ... also in SortReorderByColumn() similar to SortReorderByRow() (cherry picked from commit e119f3883513aeaa49f332362620e955dc8b453f) Conflicts: sc/source/core/data/table3.cxx e275a754c530d6039ed14304900dd71416f36e46 7665dcc90d70fcf3b08bef0adb9ab6aaff1cdcdf Change-Id: Id90288660e317d6e47ee01ee3b5ff9058cfa18df Reviewed-on: https://gerrit.libreoffice.org/13273 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-25fix fdo#79441 again and keep references to other sheets during sortEike Rathke1-0/+6
... 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.. (cherry picked from commit f0e7364603c9566bc158303c515c3274ccba62ca) Backported. Change-Id: Ic0e61c5e1cb0728e20725c29e450ab0eb55c3305 Reviewed-on: https://gerrit.libreoffice.org/13114 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-11-25fdo#83765 do not update references in SortReorderByColumn() if disabledEike Rathke1-5/+7
Similar to SortReorderByRow() (cherry picked from commit 115a4b7ca36f65d93070d2e81048320d202e87a3) Conflicts: sc/inc/column.hxx Change-Id: I39f8d62b79994196b9c5933355dbbc66a5f60a5d Reviewed-on: https://gerrit.libreoffice.org/13113 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-11-24fdo#77382, lp#1342175: fix poor performance with find & replace with empty valueSeyeong Kim2-1/+5
this cherry-picks three master commits: 1cf19ea84794ca065749667b480dfed2d27d47b7 don't call ScMarkData::GetMarkedRanges in ScColumn, related fdo#79422 1e721077b43de84edab2a3ed2f316ddcbec6e3ec fdo#83141: optimize slow performance after when using replaceall or searchall Reviewed-on: https://gerrit.libreoffice.org/11829 91502a72c12c559442e8bf77c27a516b49c2a68d fdo#83141: also optimize ScTable::HasAttribSelection Reviewed-on: https://gerrit.libreoffice.org/11877 Change-Id: I2df0eeefbe27b6a267e960f9ffedab0d4774c8a8 Reviewed-on: https://gerrit.libreoffice.org/13041 Reviewed-by: Seyeong Kim <seyeong.kim@canonical.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-11-15fdo#73695 prevent use of invalidated iterator due to re-entranceEike Rathke1-0/+6
... through the UNO backdoor.. While charts are updated there can be chart data listeners in BASIC that in turn modify things such that charts are inserted/removed from the listener chain, invalidating the iterator. If that happens break and bail out instead of crashing. Not ideal, but.. Change-Id: Iefb33d3a96d79caed0ee4e19b73e8f811ef3d937 (cherry picked from commit ef2ed50231fd946c1f374ffbce28ebb98eda56c5) Reviewed-on: https://gerrit.libreoffice.org/12434 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-10-17fdo#81633: Add a hidden configuration option to toggle ref update on sort.Kohei Yoshida5-3/+15
This option is defaulted to off for 4.3 for back-compatibility. Change-Id: I5ac686e96742df40f7d8ba5ffec23806db2988a6 Reviewed-on: https://gerrit.libreoffice.org/11902 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-09-03write OOXML externalReferences, externalLinks, fdo#45286Eike Rathke1-3/+4
This for the first time writes external references (hopefully) correctly and adds the necessary relationship streams and the externalLink streams with sheetData. At least Excel 2013 loaded the result without complaining, so do we. (cherry picked from commit 8c23a767d926d8d08213f5e2f8e81775c653cbd7) Conflicts: sc/source/filter/excel/xelink.cxx do not write empty externalReferences element, fdo#45286 follow-up OOXML validation spewed - (xl/workbook.xml:2 col:700) cvc-complex-type.2.4.b: The content of element ´externalReferences´ is not complete. One of ´{"http://schemas.openxmlformats.org/spreadsheetml/2006/main":externalReference}´ is expected. (cherry picked from commit 8c51532289db36337c4984baec1bf5a7ca9e40af) really do not write empty externalReferences element, fdo#45286 follow-up Xti records exist also for internal sheet references in BIFF. It is not enough to check for their presence, at least one EXC_SBTYPE_EXTERN must be present as SUPBOOK. (cherry picked from commit e04a4d2d2c18134556bb4e001d497ca7d66c6828) Change-Id: I3d615490a60c5420ae13c0bfc6297642d86a07b9 Reviewed-on: https://gerrit.libreoffice.org/10872 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-22correct references after sort, fdo#79441Eike Rathke1-0/+8
5c6ee09126631342939ae8766fe36083d8c011e3 introduced a different algorithm for reference handling during sort. Unfortunately that clashed with the SC_CLONECELL_ADJUST3DREL introduced a little earlier resulting in relative 3D references effectively being "adjusted" twice. Furthermore, in-sort-range range references to one row (or column) were not adapted to the move at all if the formula within the range listened only to ranges and not a single cell. Added collecting and adjusting area listeners for this. Last but not least, external (relative) references need to be treated the same as internal 3D references, making them point to the same location after the sort. (cherry picked from commit 69adec3ec051ff94f600ab899506ca9d645a8b56) Conflicts: sc/inc/types.hxx sc/source/core/data/bcaslot.cxx Plus necessary parts of 27182231acd3a0c9898a8dba78b76dc8a827b4c0 related to bcaslot changes. Change-Id: I492768b525f95f1c43d1c6e7a63a36cce093fa5a Reviewed-on: https://gerrit.libreoffice.org/10929 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-07-30fdo#80501: Ensure that we notify each listener only once.Kohei Yoshida2-5/+1
Change-Id: If2ce4643ff58c7c2ba326d749698dd5196a108dc (cherry picked from commit b2ee0235e88dc4da715b5766295ed88f27974fbd) Reviewed-on: https://gerrit.libreoffice.org/10645 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-29fdo#79578: Properly update formulas upon change in db collection.Kohei Yoshida4-11/+10
Update it to handle formula groups correctly. (cherry picked from commit 300845922eec7a28bc1da337acd21f138685d759) Conflicts: sc/source/ui/docshell/dbdocfun.cxx sc/source/ui/docshell/docfunc.cxx sc/source/ui/undo/undocell.cxx sc/source/ui/undo/undodat.cxx sc/source/ui/unoobj/nameuno.cxx sc/source/ui/view/viewfunc.cxx Change-Id: I009a7fcf3d3fb17ef6951c50534ca6bc1fffc259 Reviewed-on: https://gerrit.libreoffice.org/10604 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-07-28fdo#81617: Split formula groups at sort range boundaries.Kohei Yoshida1-0/+1
Otherwise, partially sorting a range may crash, or at best incorrectly update formula references. Change-Id: Iefcb86d205d83ccc5b684048bfd9aadabf6e13eb (cherry picked from commit a3fc7f20089062afa4f778e70ba8be84032a30a7) Reviewed-on: https://gerrit.libreoffice.org/10581 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-07-19bnc#885548: Initial work on importing revisions from xlsx.Kohei Yoshida2-1/+2
Change-Id: Ie0528490d024093cbabf38541fe70be96a9caa2e (cherry picked from commit b92fdaa1a40bd54d279b4ac2faf19bf15468cc2f) Reviewed-on: https://gerrit.libreoffice.org/10393 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-15fdo#81309: Adjust references during sort.Kohei Yoshida11-23/+210
(cherry picked from commit 5c6ee09126631342939ae8766fe36083d8c011e3) Conflicts: sc/inc/sortparam.hxx sc/source/ui/docshell/dbdocfun.cxx sc/source/ui/undo/undodat.cxx Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f Reviewed-on: https://gerrit.libreoffice.org/10305 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-15Preserve the "end of list" flag for xls round-tripping.Kohei Yoshida1-10/+16
This "end of list" flag determines whether the row insertion was an automatic insertion at the bottom. Calc doesn't use this at the moment but Excel uses it to differentiate a normal row insertion from an automatic one. Change-Id: I6b28669d816c54d1dc1e4c106918ba688415788d (cherry picked from commit adf0d7b1fb8eed88f4fcd6d31662ae6f59d00812) Reviewed-on: https://gerrit.libreoffice.org/10311 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-14resolved fdo#79441 keep 3D references intact during sortEike Rathke1-1/+1
Change-Id: I9e96d8e7cb99a3c280dd24495eefb9efd6d10888 (cherry picked from commit e463de2a56453a0d2cb0b5b58e96f7639f37cdd1) Reviewed-on: https://gerrit.libreoffice.org/10238 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-07-03bnc#812796: Correctly handle static value array for OOXML charts.Kohei Yoshida1-0/+4
We need to pass the role of the data sequence in order to avoid unreliable guess work when importing static value array. Also, not all Excel's scatter plots have real numeric X values; some have textural X values in which case Excel switch to generating 1, 2, 3, ... as X values. When importing to our chart implementation, using "categories" role in such cases instead of "values-x" results in a more faithful chart rendering. (cherry picked from commit 6c4e21a234f12e1310ba06f9859e08b424acf8bf) Conflicts: chart2/source/inc/InternalDataProvider.hxx chart2/source/tools/InternalDataProvider.cxx Change-Id: If4bc1f650bb024dcd1b1b36537f457fb38404a78 Reviewed-on: https://gerrit.libreoffice.org/10040 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-06-23fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida3-2/+11
(cherry picked from commit 1d38cb365543924f9c50014e6b2227e77de1d0c9) Conflicts: sd/source/ui/view/sdview3.cxx xmloff/source/chart/SchXMLExport.cxx Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a Reviewed-on: https://gerrit.libreoffice.org/9836 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-06-12fdo#77506: More reliable way to determine label strings.Kohei Yoshida1-0/+2
Not beautiful, but doable. Change-Id: I6f3b00d620e7d7d19cc05ec4239deeb14d0d5201 (cherry picked from commit a2a1a59a448420a858724371c4a339f75ebe8c1e)
2014-05-28Related: fdo#79142 make SetName default to ReindexingCaolán McNamara1-1/+1
Change-Id: I408042bc7bf1a5a955203d65d2c68ebf9527b9b5 (cherry picked from commit 05e2fd162ef86ebe4ea2a2a679cabeae33e844f0)
2014-05-27resolved fdo#79228 resync ScPatternAttr if changed in GetNeededSize()Eike Rathke2-1/+22
Change-Id: Ida47df6223a20939ad5971dc00b8f3462a92dd3e (cherry picked from commit a1dedadbf0d87a1db24e9b336257678e059882f0)
2014-05-23fdo#79011: Properly implement the search results dialog as modeless.Kohei Yoshida1-0/+1
It's unfortunate that adding a modeless dialog is such a pain. But we still need to implemenet this properly else we'll leak at best, or end up with tons of weird bugs at worst. Change-Id: Ie03260f288fad76f994d0ca6a8b1feeade299ffd (cherry picked from commit 81c492ef18b04cc283561018d69818cbca7f83ef)
2014-05-21Avoid unnecessary cloning of ScRawToken during token check.Kohei Yoshida1-1/+1
Change-Id: Ia980054437394ef48f7df655411f81d20b9cfa32
2014-05-21cp#1000072: Skip styles import for external link cache documents.Kohei Yoshida1-1/+2
This reduces external link update time by 10%. Change-Id: Ic14d9ea7530818f839330a2004f6aa67ef1e831e
2014-05-21Finer grained ODS import mode selection.Kohei Yoshida1-1/+8
Change-Id: I18520837f8d25103bf8482a0204b8a7b7740feb1
2014-05-21Let's use constant uno name for these.Kohei Yoshida1-0/+2
Change-Id: I5e34f4d7561ef7f4f7b8b3b4d7d06cca072831c7
2014-05-21Let's not use ScDocument as a convenient "anything goes" storage place.Kohei Yoshida2-8/+9
Change-Id: I0ae2f44b89b0db915e78a9b07835000e843d016f
2014-05-21Turn the mouse cursor to the "wait hand" during the external link update.Kohei Yoshida1-0/+9
Change-Id: I983127828b28c72dd12d4778b88051964e9bceaa
2014-05-21cp#1000072: Populate cache tables when updating all external links.Kohei Yoshida1-0/+24
This way, even after the loaded doc shells get purged due to timeout, we won't reload those external documents from disk again. One caveat is that we currently don't pre-populate empty cells even if they are referenced by the host document. Change-Id: I1de2987836bf2fc5d9d7044b406fb99faa534164
2014-05-21Localize this string.Kohei Yoshida1-1/+2
Change-Id: I88b205d36eede5e63af46f8581896d980b6aa27d
2014-05-21cp#1000072: Stop the external doc shell timer while mass-updating.Kohei Yoshida1-0/+4
To prevent collision with the timer wanting to purge the doc cache while updating external links. Also, show progress bar, and make the timer interval and the document cache life span longer. Change-Id: I325984c8fa68425a2621cf8f9c016463291afc89
2014-05-21cp#1000072: Load external documents when refreshing caches.Kohei Yoshida1-1/+6
Rather than just clearing the existing caches and loading the external documents on demand as the formula cells gets re-calculated. This has two advantages: 1) when the loading itself fails, we can keep the existing cache rather than turning all affected cells to error cells, and 2) this prevents on-demand loading after the external linkes get refreshed, which can make scrolling very slow & painful. Change-Id: Ie8243f6f94c5e477964413ab83f6b4b746fe3220
2014-05-21ODS load perf: 7% of the time re-creating sheet name strings.Michael Meeks1-1/+3
No need to create cached versions of stringified sheet tokens for a given grammar at great for every formula that we compile; defer until use. Is this a large cost on save ? Change-Id: I8058ed564dbdc00ff45c02cb483c1a20a48af272
2014-05-21ODS load perf: transfer ownership of the ScTokenArray to save cycles.Michael Meeks1-0/+3
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
2014-05-20kill some old 16 bit column indicesMarkus Mohrhard1-12/+12
Change-Id: Ie1c3f3b11ed216b53f3fd385614f6fcb2c38220c
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin1-2/+2
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-19Register OpenGL windows to ScGridWindow upon file load.Kohei Yoshida1-0/+3
Change-Id: I6fdce232ef41079f20a983dc72da032196078858
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold1-3/+0
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19add COLOR functionMarkus Mohrhard1-0/+1
This function makes property mapping in charts more user friendly. Change-Id: I01cfb31edd749ee474d5078042fa5c4b4a270f86
2014-05-14Update the method comment and add assertion per what the comment says.Kohei Yoshida1-2/+3
Change-Id: I751e33a8bba732e3b7935fc41385ea5e1f8c8704
2014-05-14Use "stop on error" concept rather than "ignore error if true".Kohei Yoshida1-2/+1
Just to keep the pattern of "true" -> "action", "false" -> "no action". Change-Id: I6303bc779cd7048eef2fdc3c2abba8be8f15da6d