summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2013-01-22blind fix for wae on macosNoel Power
Change-Id: Ib14021a2253fffd4badbf13db1f49a2309e4bb14
2013-01-22lose uno api for font related xlsx importNoel Power
also fixes a bug where the font format of the first portion of a rich text string gets to be set as the default cell style for that cell Change-Id: Ib2e85e6f2a971940b94100c2bf45d85d8afa2869
2013-01-22tools/string.hxx: add operator==/!= for OUString/StringMichael Stahl
This has the disadvantage that it makes comparisons involving fast OUString concatenation via operator+ ambiguous, as can be seen in scriptdlg.cxx, but it allows comparing String and OUString wihout explicit conversion, which is nice for incrementally converting code. Change-Id: Ibfc728bdb161a01e0f8311915c97bcbba8b58c0b Reviewed-on: https://gerrit.libreoffice.org/1803 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-22allow space for translated text expansionAndras Timar
Change-Id: I5706fc9201359c05c00d0a97009994d7d188d5bf
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21it's a column count, so MAXCOLCOUNT instead of MAXCOLEike Rathke
Number of repeated column styles were limited to MAXCOL effectively being MAXCOLCOUNT-1 and in an --enable-dbgutil build yielded lots of warnings when importing a document that has a style applied to all including the last column. For example see attachment of fdo#59583 https://bugs.freedesktop.org/attachment.cgi?id=73282 or fdo#59325 https://bugs.freedesktop.org/attachment.cgi?id=73014 Change-Id: I74dbbe3065a46015b0b7c8f61d58690a1c08c855
2013-01-21resolved fdo#59583 prevent inappropriate column/row label detectionEike Rathke
If followed by '(' (with or without space inbetween) an identifier can not be a column/row label. Prevent arbitrary content detection in case a macro function of the same name is meant (fdo#59583) or if it wouldn't resolve to a known function name at all, that earlier resulted in #REF! instead of #NAME? in the case of unknown function but label found. Change-Id: Id36a0c9ebad2d62867b4f9fe00ae78d464e77109
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-20add missing data bar axis import, fdo#59578Markus Mohrhard
Change-Id: Id035741b2372c76f9afe54f59f2203c5edfbb0ae
2013-01-192 small fixesJulien Nabet
Variable 'bRet' is reassigned ++it without checking it != itEnd Change-Id: I3bdb8fa723cca8a132dc7aa6b5c5e3c7bd0861cf
2013-01-19copy styles from cond format between different docs, fdo#59159Markus Mohrhard
Change-Id: I5472ab648b248d925f1f07cd4194c1201230ff20
2013-01-19prevent to create cond formats with empty range, fdo#58778Markus Mohrhard
Change-Id: I54bac843dc60c419c23c6d3f22c8d2f4b5805327
2013-01-18Try not to leak removed cell instances.Kohei Yoshida
Change-Id: I25da4a34a3e53bc001519194729e613eef167713
2013-01-18fdo#58988, fdo#58562: Populate draw clip document with data for charts.Kohei Yoshida
Without populating the clip document, copying a chart (or charts) into clipboard makes the charts lose all their referenced data, which causes the pasted chart to appear empty. Change-Id: I3675f76baed19b48cec403964c19df00725a044b
2013-01-18add a way to select the current SfxTabPage by nameCaolán McNamara
Change-Id: Ib7a07bc0e6ec9f47b83839fb3eb8f31c014dedff
2013-01-18add all the new conditional formats to the menu, related fdo#58778Markus Mohrhard
Change-Id: I398fac5c585b5ea6e40331b50119c90c180a32bc
2013-01-18make sure we call SetInRefMode only onceMarkus Mohrhard
Change-Id: I16ff8b6aaa24b1f8522117197226db39f0617fad
2013-01-18don't create multiple dialogs in the loop, fdo#59314Markus Mohrhard
Change-Id: Ia48262cdf8b07caf6622f2d4a48f366f3f26c0fd
2013-01-18reset one of the sort containers before refilling, fdo#57465Markus Mohrhard
Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
2013-01-17Const correct-ness in one place...Kohei Yoshida
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-17Proper construction of the impl class, using initializer.Kohei Yoshida
And make sure the whole thing still builds. Change-Id: I49d3c01d288df800e3261ce7d4f07080be2a4098
2013-01-17sc test for XSheetAnnotationsLaurent Godard
Change-Id: Ie5ceb7f8d828eb9c1f4c92996ebb02c8a83f4cac Reviewed-on: https://gerrit.libreoffice.org/1738 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-01-17sc test for XSheetAnnotationLaurent Godard
Change-Id: I1fa77c874c6307ff71ea0aeee653acf1305f2646 Reviewed-on: https://gerrit.libreoffice.org/1736 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-01-17Add close findbar button also on other LO componentsJoren De Cuyper
Change-Id: I8a18d0459d9584d00b8d7c747b0bb500e02988d9 Reviewed-on: https://gerrit.libreoffice.org/1727 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-16Remove GetAllMarkedModel() since all it does is call GetMarkedObjModel().Kohei Yoshida
One less indirection makes the code a tad easier to follow. Change-Id: I8e1113617c09f91c0cad32277ee4e32c78f9f058
2013-01-15the first icon in an icon set should be the negative oneMarkus Mohrhard
Change-Id: Ica3c48739c0f8597a72ea4d2346e406f147586a9
2013-01-15also support showing the icons in reverse orderMarkus Mohrhard
Change-Id: I919895589025ea360448b742e5ec6d6de4ca964c
2013-01-15support to hide the value in icon sets also for OOXMLMarkus Mohrhard
Change-Id: I506b9e14166576ceced880e5032d492e83b7a52d
2013-01-15support to hide the cell value when using icon setsMarkus Mohrhard
Change-Id: I1ed002758a3c073f950cec2b2222cfc0d3684df7
2013-01-15move this class from the header file to the source fileMarkus Mohrhard
Change-Id: Idd4f79718326770426b6e297c1753af062c7396d
2013-01-15create correct icon set information, fdo#58610Markus Mohrhard
The old code was mixing two different concepts. In the UI we used that a ScColorScaleEntry means <= this value while in the filter and the render information generation it meant >= the value. Now everything follows the >= pattern. Change-Id: I67c03d93c5c6051054b90f6e8200206c3616d49b
2013-01-15add test case for fdo#59293Markus Mohrhard
Change-Id: I5972a2805d8bc03b84a42fbba4b67923b3b77249
2013-01-15Revert "fix icon set rendering information creation, fdo#58610"Markus Mohrhard
This reverts commit 0f6adf7a8cbccdb0a2697176a6e0e8cf58edd5fe.
2013-01-15make translatable a few more ui stringsAndras Timar
Change-Id: Ie4524269b353059df3c60afa9a48c1f1b5f51185
2013-01-15fdo#46808, Adapt chart2::data::LabeledDataSequence UNO service to new styleNoel Grandin
Change-Id: I98bfbc8e143b9ad9d486f97380186fde9b4423ec
2013-01-15with the new recalc of matrix with errors, this assert is no longer trueMarkus Mohrhard
We need a new test case for this with a matrix that does not contain cells with error values. Change-Id: I7fb9efb5077cf6e43cbfd32c64274777d371b956
2013-01-15for error value in matrix force recalc, fdo#59293Markus Mohrhard
Change-Id: I202526bb3cf6e0f6c55913b44a15694e0794e273
2013-01-14Keep this simple. No need to wrap literals with OUString any more.Kohei Yoshida
Change-Id: Idedd6be54cf74efc69a48d39018011aba018973e
2013-01-14Figured out why testFuncMATCH was failing. Fixed it, all green.Kohei Yoshida
Change-Id: Id45f4c853bf689afa8a46edc02e1e5f8c43894bc
2013-01-14Add new unit test to test pivot table functionalities via ScDBDocFunc.Kohei Yoshida
This change also introduces the following changes: 1) Special initialization routine just for the unit test runs. In particular, SfxMedium instance needs to be set even for a brand-new document (as in the actual run-time), or else the document would be always labeled "read-only". This prevented us from testing various code in Calc, which this commit fixes. 2) Several cppunit checks that checked for incorrect results, which passed because we happened to be getting those incorrect results due to the issue with the SfxMedium instance not being set. 3) Unfortunately now the test for cell function MATCH fails for some mysterious reason. The test is disabled temporarily until we figure this out. Change-Id: If231fd99e0ffddcd74f65c7cb5476e7a25f0ac7d
2013-01-12fdo#59292 OOXML TDIST is ODF LEGACY.TDISTEike Rathke
Commit 3deb83d7a74a0fe026791e7a336ac6ffad9c0026 correctly renamed ODF TDIST to LEGACY.TDIST but did not adapt the OOXML filter mapping. Change-Id: I107859722ac0e9f7ff9725f1d55080340973d86e
2013-01-12OpCodeProviderImpl::initFuncOpCode: warn if there is no opcode mappingEike Rathke
During loading an xlsx document in an --enable-dbgutil build OpCodeProviderImpl::OpCodeProviderImpl() spits out a warning "OpCodeProviderImpl::OpCodeProviderImpl - opcodes not initialized" OpCodeProviderImpl::initFuncOpCode() now gives a clue which. Change-Id: Ia0bc53ce5a590e6904c660cd725d907efa5a731d
2013-01-12fdo#56124 IFERROR IFNA Excel import/exportEike Rathke
Change-Id: I796e99f8893cb48fa2351f7799bb247a3488ce69
2013-01-12make the list box a bit larger, fdo#58609Markus Mohrhard
Change-Id: Iffff862ee7e20a7e534286785a12508a6442f78c
2013-01-12fix icon set rendering information creation, fdo#58610Markus Mohrhard
Change-Id: Iad5dec601b54893ed809ab908671698919779ddb
2013-01-12Maybe this will make the Windows tinderbox happy...Kohei Yoshida
Change-Id: I9e838d2e4cadd79c55a5648b006f40d3dcd04518
2013-01-11Remove more duplicated code blocks.Kohei Yoshida
Change-Id: I4b392a10b324ba082764df92a8640edb3e225666
2013-01-11Remove duplicate blocks.Kohei Yoshida
Change-Id: If994ea2505078ea7133c162c95df4f89a3c5ba99
2013-01-11Redo DataPilotUpdate() as well.Kohei Yoshida
Change-Id: I8c53c233f42b6640ef8d77982082945e07882979
2013-01-11Actually let's do these earlier so we can bail out early.Kohei Yoshida
Change-Id: I1903efe4dba876e4d373cc329c66595840d7be81