summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2013-01-25a few more fixes for cached value importMarkus Mohrhard4-4/+13
Change-Id: I2b6baedc8232811df1e5525bd2884b54db5a8f70
2013-01-25non-dbgutil build [-Werror=unused-parameter], fdo#59819Eike Rathke1-0/+1
Change-Id: I8eaa67bc2ab609bb6483cb307bf4bbc0ca654671
2013-01-25resolved fdo#59819 write correct OOXML function name mappingEike Rathke11-26/+135
OOXML export so far used the internal English PODF symbols that worked only by accident. As soon as function names or operators differed it was plain wrong. Use the existing OOXML mapping instead that also the import uses. For example, in OOXML the IFNA function is stored as _xlfn.IFNA, Excel 2013 could not read the IFNA that we wrote. Also, do not write a <definedName> element in OOXML for new functions that in the binary format are written as macro calls and need a defined name entry. Change-Id: Ib6de1f8b65d0634c2d78229ddb4922778a33923b
2013-01-24Change GetSavedValue() to return OUStringChr. Rossmanith3-7/+7
removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
2013-01-24New test for importing chart object with references to cell ranges.Kohei Yoshida4-2/+78
Change-Id: I2167d1a2c7ea70415581caf29acf620e4b116e69
2013-01-24calling loadDoc is simpler.Kohei Yoshida1-13/+1
Change-Id: I6a507825252f316c8106ea4b856bf166a010c15b
2013-01-24Translate German comments, fix some wsPhilipp Weissenbacher2-75/+56
Change-Id: I962077a8c7d533c7eaf6d5ba68ec18966e5760a1 Reviewed-on: https://gerrit.libreoffice.org/1817 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2013-01-24rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialogCaolán McNamara1-1/+1
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-24sc test XSheetOutlineLaurent Godard4-0/+238
Change-Id: Iea0576e61963dbdb72c88fe332c7cfe3e8ab7ff0 Reviewed-on: https://gerrit.libreoffice.org/1794 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-24fdo#56098 Paste Special options after cut incorrectWinfried Donkers1-8/+5
Change-Id: Icf6aa698e69a2271cf68f420ceaec4aaffe94ad0 Reviewed-on: https://gerrit.libreoffice.org/1671 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-23fdo#58562: Ensure internal data is always used when pasting to another doc.Kohei Yoshida2-1/+8
Without this, pasting a chart object from one Calc doc to another may occasionally incorrectly switch to range references *if* the destination document contains the "right" set of sheet names. With this fix, pasted chart objects always switch to internal cached data source when pasting to another document, while retaining range references when pasting within the same document. Change-Id: If1dbc854c5faae62f06ece155fad470b229ca0c7
2013-01-24small improvement of the codeMarkus Mohrhard1-4/+2
Change-Id: I2ac599fa2897dc4fe3256b50300cb467c647e320
2013-01-24disable these two tests for nowMarkus Mohrhard1-2/+2
Change-Id: I579694780b64e532b0e61017783bc4e72f8d2936
2013-01-24import inherited number formats with cached values, fdo#59724Markus Mohrhard9-34/+83
Change-Id: I698f60daf4e591b57d8d99c130d2e524dc10c306
2013-01-23don't use ScDrawLayer::GetObjDataTab to get Anchor fix for fdo#59325Noel Power1-1/+1
Seems ScDrawLayer::GetObjDataTab was used mistakenly thinking that only an anchor for that tab would be returned ( but actually whatever anchor is returned gets the tab set ) Change-Id: I5d240f80a9974f6e4032875ed00350c94621bde7
2013-01-22reset automatic row height flag after import, fdo#59193Markus Mohrhard1-0/+3
Change-Id: Ied9cb4a2b6a17d8c7b65f4fec3cb17219a5afa5b
2013-01-22warning C4099: type name first seen using 'struct' now seen using 'class'Michael Stahl1-1/+1
Change-Id: I19cc56b0ab48435f1e20e03f23ed1bb0d984871d
2013-01-22blind fix for wae on macosNoel Power1-0/+1
Change-Id: Ib14021a2253fffd4badbf13db1f49a2309e4bb14
2013-01-22lose uno api for font related xlsx importNoel Power6-27/+141
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 Stahl2-5/+5
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 Timar1-4/+4
Change-Id: I5706fc9201359c05c00d0a97009994d7d188d5bf
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith22-49/+50
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 Rathke1-2/+2
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 Rathke1-1/+3
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 Rouvignac15-23/+23
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 Mohrhard1-0/+8
Change-Id: Id035741b2372c76f9afe54f59f2203c5edfbb0ae
2013-01-192 small fixesJulien Nabet1-4/+10
Variable 'bRet' is reassigned ++it without checking it != itEnd Change-Id: I3bdb8fa723cca8a132dc7aa6b5c5e3c7bd0861cf
2013-01-19copy styles from cond format between different docs, fdo#59159Markus Mohrhard1-0/+26
Change-Id: I5472ab648b248d925f1f07cd4194c1201230ff20
2013-01-19prevent to create cond formats with empty range, fdo#58778Markus Mohrhard3-8/+19
Change-Id: I54bac843dc60c419c23c6d3f22c8d2f4b5805327
2013-01-18Try not to leak removed cell instances.Kohei Yoshida1-0/+9
Change-Id: I25da4a34a3e53bc001519194729e613eef167713
2013-01-18fdo#58988, fdo#58562: Populate draw clip document with data for charts.Kohei Yoshida8-5/+349
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 McNamara2-0/+6
Change-Id: Ib7a07bc0e6ec9f47b83839fb3eb8f31c014dedff
2013-01-18add all the new conditional formats to the menu, related fdo#58778Markus Mohrhard7-2/+75
Change-Id: I398fac5c585b5ea6e40331b50119c90c180a32bc
2013-01-18make sure we call SetInRefMode only onceMarkus Mohrhard1-0/+5
Change-Id: I16ff8b6aaa24b1f8522117197226db39f0617fad
2013-01-18don't create multiple dialogs in the loop, fdo#59314Markus Mohrhard1-0/+1
Change-Id: Ia48262cdf8b07caf6622f2d4a48f366f3f26c0fd
2013-01-18reset one of the sort containers before refilling, fdo#57465Markus Mohrhard1-0/+2
Change-Id: I758af67efec980a56ec83d8e5e6f5f60a0523ac5
2013-01-17Const correct-ness in one place...Kohei Yoshida3-3/+3
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-17Proper construction of the impl class, using initializer.Kohei Yoshida3-2/+6
And make sure the whole thing still builds. Change-Id: I49d3c01d288df800e3261ce7d4f07080be2a4098
2013-01-17sc test for XSheetAnnotationsLaurent Godard3-0/+247
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 Godard4-0/+264
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 Cuyper1-0/+1
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 Yoshida3-5/+5
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 Mohrhard1-1/+1
Change-Id: Ica3c48739c0f8597a72ea4d2346e406f147586a9
2013-01-15also support showing the icons in reverse orderMarkus Mohrhard4-2/+15
Change-Id: I919895589025ea360448b742e5ec6d6de4ca964c
2013-01-15support to hide the value in icon sets also for OOXMLMarkus Mohrhard2-0/+2
Change-Id: I506b9e14166576ceced880e5032d492e83b7a52d
2013-01-15support to hide the cell value when using icon setsMarkus Mohrhard8-3/+26
Change-Id: I1ed002758a3c073f950cec2b2222cfc0d3684df7
2013-01-15move this class from the header file to the source fileMarkus Mohrhard2-18/+21
Change-Id: Idd4f79718326770426b6e297c1753af062c7396d
2013-01-15create correct icon set information, fdo#58610Markus Mohrhard3-5/+7
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 Mohrhard3-3/+17
Change-Id: I5972a2805d8bc03b84a42fbba4b67923b3b77249
2013-01-15Revert "fix icon set rendering information creation, fdo#58610"Markus Mohrhard2-2/+1
This reverts commit 0f6adf7a8cbccdb0a2697176a6e0e8cf58edd5fe.