summaryrefslogtreecommitdiff
path: root/sc/inc
AgeCommit message (Collapse)Author
2014-08-11write OOXML externalReferences, externalLinks, fdo#45286Eike Rathke
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. Change-Id: I3d615490a60c5420ae13c0bfc6297642d86a07b9
2014-08-08bnc#885548: Write test for this.Kohei Yoshida
Change-Id: Ifbd4502a5e49dfbb60301b935291ed0ce65da706
2014-08-06RID_SCDLG_CONFLICTS conversion to .uiSzymon Kłos
Change-Id: Ibdfa27e834cd8fba0f732233338e5fba699c1e90 Reviewed-on: https://gerrit.libreoffice.org/10778 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-01typo: more then -> more thanTakeshi Abe
Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
2014-07-31fdo#78555: Retain formula results when moving a range of cells.Kohei Yoshida
* 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
2014-07-30fdo#80501: Ensure that we notify each listener only once.Kohei Yoshida
Change-Id: If2ce4643ff58c7c2ba326d749698dd5196a108dc
2014-07-29Remove some unused codeMarcos Paulo de Souza
Change-Id: Ib1fb5108a858c35a5bbe8ba865e15660639725e3 Reviewed-on: https://gerrit.libreoffice.org/10593 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-07-29simplify return argument of SfxPoolItem::GetPresentationNoel Grandin
since all two of the actual call-sites only care about whether it is a valid presentation or not, not what kind of presentation it is. Change-Id: I75717c88878d37b2897741b0c833ff283b3fee59
2014-07-28fdo#79578: Properly update formulas upon change in db collection.Kohei Yoshida
Update it to handle formula groups correctly. Change-Id: I009a7fcf3d3fb17ef6951c50534ca6bc1fffc259
2014-07-27fdo#81617: Split formula groups at sort range boundaries.Kohei Yoshida
Otherwise, partially sorting a range may crash, or at best incorrectly update formula references. Change-Id: Iefcb86d205d83ccc5b684048bfd9aadabf6e13eb
2014-07-27Dead declarationMaxim Monastirsky
DetectFilter impl. removed in 2fcfebf3900ee4df2e2fe39e37d55ee87ab5d6cb. Change-Id: Ia21199066ac00c1b0ddc40168bcc7f1406cb9ea0
2014-07-23simplify SfxItemPool::GetPresentationNoel Grandin
drop the ePresentation parameter, since all 4 of the callsites use SFX_ITEM_PRESENTATION_COMPLETE as the parameter value, and just inline the value into the method. Change-Id: I42c8eae82837c9f9d4edc886d7c760f57b129125
2014-07-18Add a variant of set that takes ownership of EditTextObject.Kohei Yoshida
Change-Id: If5f9122213d2f35aabcc66ca70c3d432120995cc
2014-07-18bnc#885548: Initial work on importing revisions from xlsx.Kohei Yoshida
Change-Id: Ie0528490d024093cbabf38541fe70be96a9caa2e
2014-07-17Unwind this logic and make it easier to read.Kohei Yoshida
Change-Id: Iaf4ccc8949fb823a7bd3329c0164443220573b03
2014-07-14Preserve the "end of list" flag for xls round-tripping.Kohei Yoshida
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
2014-07-14Move this header to the source file.Kohei Yoshida
refupdat.hxx is under the ui directory. Not everyone has access to it. Change-Id: I3f60761e1105946ed5bd6bddb339ee9a9e7705ad
2014-07-14Make these non inline.Kohei Yoshida
Change-Id: Ieb54e895f334361978cfc22956ab65687fb74adf
2014-07-14loplugin:saloverrideNoel Grandin
Change-Id: Ia9a02ea6dfa3e59ff5e8bc7da229793e97f3567e
2014-07-13fdo#81309: Adjust references during sort.Kohei Yoshida
Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f
2014-07-12Add get/setPart to ITiledRenderable, and implement for sw/sc.Andrzej Hunt
Change-Id: Iec3d6374f029149cadf8fb9c9b16fec90146c31e
2014-07-11resolved fdo#79441 keep 3D references intact during sortEike Rathke
Change-Id: I9e96d8e7cb99a3c280dd24495eefb9efd6d10888
2014-07-11move the retype strings to sc.hrcCaolán McNamara
Change-Id: I70bbbac0dff8c64bedcf8a46006378291a7fac23
2014-07-11sc: syntax fixJacobo Aragunde Pérez
Change-Id: Ie3cfad9f39d55095fce638a33ee6383c967d5475
2014-07-11add UNO API loadStylesFromDocumentLaurent Godard
avoid opening again a document that is already available apply to calc - refactoring ScStyleFamiliesObj::loadStylesFromURL Change-Id: I6b26c91265dcafa73b472bc68ee684ba0733b0ac Reviewed-on: https://gerrit.libreoffice.org/10214 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-08fdo#73148 add options to Calc function AGGREGATEWinfried Donkers
matrix-ranges not supported Change-Id: I902c78da6d9c7a4a5f8c5e4a7e1678b69d49a6fe Reviewed-on: https://gerrit.libreoffice.org/9449 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-07-03Typo in HID for ERFOlivier Hallot
Change-Id: I5da8029c9b4102472deb2ab1f68ec23b13898e50 Reviewed-on: https://gerrit.libreoffice.org/10038 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2014-07-02bnc#812796: Correctly handle static value array for OOXML charts.Kohei Yoshida
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. Change-Id: If4bc1f650bb024dcd1b1b36537f457fb38404a78
2014-06-27fix incorrect ScAnnotationsObj UNO API, fdo#80551Markus Mohrhard
The used index was a sheet local index but the returned position was from a global container. Change-Id: I0b9e9e7e9618c72daf8e6417bca9d3a1cb23abb1
2014-06-26Make these non inline.Kohei Yoshida
Don't do this please... Change-Id: Id90490622bca10beabf7a1c92e51e55bc72a1db8
2014-06-25bnc#882595: Write test for this. Disabled due to VBA not working in cppunit.Kohei Yoshida
Change-Id: Ie70232e56235fcf5a313aadffa269ef843bdee18
2014-06-25Add tiled rendering outline to Calc.Andrzej Hunt
(No real implementation yet.) Change-Id: I67b84b554dbb29db449d8c190ef816645a8bff07
2014-06-25remove whitespaceMarkus Mohrhard
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-20fdo#71076: Write test for this.Kohei Yoshida
This was actually just one element of all that contributed to this bug. Unfortunately it's a bit hard to test the others. Change-Id: I7a0d88c0b829e7b7859aecfc20df87f6837ecb4a
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-17coverity#1223091 Uncaught exceptionCaolán McNamara
Change-Id: I7aacf97a32360ea3c7e17e19d7f5e51e96fcc070
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-12fdo#77506: More reliable way to determine label strings.Kohei Yoshida
Not beautiful, but doable. Change-Id: I6f3b00d620e7d7d19cc05ec4239deeb14d0d5201
2014-06-10coverity#1187810 Uncaught exceptionCaolán McNamara
Change-Id: Icfd867bbe24ca738ad409001115d1b0470041de4
2014-06-10coverity#706877 Uncaught exceptionCaolán McNamara
Change-Id: I7364afe103f9912b31bde7f4e84baf16633b05f8
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-28update_pchThomas Arnhold
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28Related: fdo#79142 make SetName default to ReindexingCaolán McNamara
Change-Id: I408042bc7bf1a5a955203d65d2c68ebf9527b9b5
2014-05-27bin obsolete CLOOK commentsThomas Arnhold
Change-Id: I34f37587284893927463e214f0d7d1c3e914c7b2
2014-05-27resolved fdo#79228 resync ScPatternAttr if changed in GetNeededSize()Eike Rathke
Change-Id: Ida47df6223a20939ad5971dc00b8f3462a92dd3e
2014-05-24sc: constify GetCellGroup.Michael Meeks
Change-Id: I50d47b19391c6b54570bc3982b8ec22563662983
2014-05-24Remove unused headersMatteo Casalin
Change-Id: I67cb5bf14114f9892d2680b7688092cafd9644f1
2014-05-23fdo#79011: Properly implement the search results dialog as modeless.Kohei Yoshida
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
2014-05-21Avoid unnecessary cloning of ScRawToken during token check.Kohei Yoshida
Change-Id: Ia980054437394ef48f7df655411f81d20b9cfa32