summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-05-07Make pivot table resizable again to make it easier to work with.Tomaž Vajngerl
Change-Id: I205f7348993031e0dd72c74531ca67e3e87e809c
2015-05-06tdf#90258 Sidebar: toggle Thousand/EngineeringLaurent Balland-Poirier
Continue https://gerrit.libreoffice.org/15606/ 5a8c7fd551522bdfe935f4138bde0df376464608 Rebase of https://gerrit.libreoffice.org/15233/ Update with more robust tests. Update create NumberFormatPropertyPanel.[hs]rc Change-Id: I36bd95cbaee160f96e7e7369096b5c8fb0aa8a4d Reviewed-on: https://gerrit.libreoffice.org/15609 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-05-06assume modified if an index has no corresponding ScDBData (anymore)Eike Rathke
Change-Id: I16cbc7d772f39c8778b8ba21a629ced6b0dbedeb
2015-05-06now also ocTableRef is DBData, tdf#91078 relatedEike Rathke
Change-Id: I70d3f595b3fe26b77788a668a430d4d777320754
2015-05-06Resolves: tdf#91078 check also DBData modified, not only named expressionsEike Rathke
This adds ScDocument& to all RefUpdate...Context; another approach could had been to add an UpdatedDBData similar to UpdatedRangeNames and gather those in the ScDBData::Update...() methods, but as long as ScDBData::IsModified() works that isn't necessary. Change-Id: Iae3ec6c8b8356cbd8acb2445489e91e7d6922fb3
2015-05-06document's visible tab may be out of syncEike Rathke
Change-Id: If94504f08cca6dcab009142cc18799bafecb3ece
2015-05-06tdf#91015 - CSV dialog crasher.Michael Meeks
Failed to initialize the VclPtr<VirtualDevice> with an instance. Change-Id: I6df2cbc1176ad74e3d8b5249b579ba424810c701
2015-05-06convert BMP_SCALE constant to scoped enumNoel Grandin
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-05-06convert USER_OPT constants to scoped enumNoel Grandin
Change-Id: I85a1c9f89ac79e0e54fcd8dfd1908325fae9a8ac
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06convert SUBSFONT_ to scoped enumNoel Grandin
Change-Id: Ic66191ac4cdfa753dc784e7bd1a6dd20f50def6b
2015-05-06convert CONFIG_MODE constants to scoped enumNoel Grandin
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-06SfxBoolItem takes a sal_uInt16 nWhich as first argumentStephan Bergmann
This code was like that ever since 9ae5a91f7955e44d3b24a3f7741f9bca02ac7f24 "initial import." From the surrounding code, the best bet appears to be ATTR_LINEBREAK? Change-Id: Id0e3346f2f9bb9c00c202003d06c2518dea38112
2015-05-05Resolves tdf#84240 : Red squiggly underline does not appear instantlyDeena Francis
Change-Id: I62d1b381ba8373cfa637f5838d5ef31691f4c260 Reviewed-on: https://gerrit.libreoffice.org/14872 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-05-05fdo#77985 make calc function NETWORKDAYS comply with ODFF1.2Winfried Donkers
Change-Id: I523b0c71bc0fed501a4d5fffd75c5a4704f6dd13 Reviewed-on: https://gerrit.libreoffice.org/9827 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-05-05rework the twisted ShrinkToUsedDataArea logicEike Rathke
It is unnecessary to check the remaining columns/rows twice if they really contain data, and that even for every empty row removed. Also, put loops inside conditions instead of conditions inside loop. Change-Id: Idbb1a647d99806ebab26a17a83b455cacc157c18
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05tdf#34555 add to scalc: crop, change img, save img, edit with ext toolsPhilippe Jung
Adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) to scalc. Proposal of new Format menu and image context menu organisation. This is part of a serie of 4 patches that adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) in all products (scalc, sdraw, simpress, swriter). Main menus, toolbars and contextual menus are updated accordingly. Change-Id: I7f5cf2d1eb3870245684eadf5909fe590d56bf42 Reviewed-on: https://gerrit.libreoffice.org/15589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I912187d6c481a2ba61fed9c01998bf6f3c08a6a0
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
2015-05-05typo: strech -> stretchAndras Timar
Change-Id: I0de1cfaa0df460c7bc8e49752b31056f95c30053 Reviewed-on: https://gerrit.libreoffice.org/15628 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-05-05rework Sort trim data area logicEike Rathke
Determine the effective data area before all operations, so obtaining uniform row heights, the actual sort and setting dirty and setting row heights after sort is done only on the trimmed area. Also make sorting leading empty columns to the end work again if no row headers were given. Change-Id: If2b6a15ca69e0db2ca71a888a134f7441b04cc27
2015-05-04assert(nStartRow <= nEndRow)Eike Rathke
Zero or negative count is unhealthy.. Change-Id: I4cce6c896e73e8e964518cbe4a29eb03ed481251
2015-05-04Resolves tdf#90757 ensure start row / end row order makes senseEike Rathke
... in case the header is the only row. Change-Id: I5e6046007a8d668f9834e108aaf8af0072629fc8
2015-05-04Ensure listener removal is done with SolarMutex lockedStephan Bergmann
Change-Id: Ie2d97a3e3555d072bc963238b6421f80fcfda903
2015-05-03tdf#90982 - repair more of the conditional formatting dialog.Michael Meeks
Change-Id: I38ea7b31b055dcd9c3d3d55fe22908295c52bf58
2015-05-03tdf#90982 - repair parts of the conditional formatting dialog.Michael Meeks
Change-Id: I5203e8205969004c6c2dd8f1dc438c9e7583a991
2015-05-03sc: More services converted to constructors.Jan Holesovsky
Change-Id: I85c66837b5bde7c8c8b7044ae8956c05f3bdb742
2015-05-03sc: Convert many services to constructors.Jan Holesovsky
Change-Id: I8f382fec62c11760399872eae86b71214534a372
2015-05-02Audit LoseFocus - forms, reportdesign, sc, starmath, svtools.Michael Meeks
Change-Id: If7068e59c88e8c3c3bafc70f64899a26d739e331
2015-05-02Unwind odd reference handling with csvcontrol.Michael Meeks
Change-Id: I5002ae13455825b0b7516e228b1e3bad7adc669a
2015-05-01Revert "update to liborcus 0.9.0"Markus Mohrhard
This reverts commit a1280bd47fddd668f1ff224f18639c8d595ec6f7. Change-Id: I2ad873f012ebae6858c8895c14ed695dbd881fc4 Reviewed-on: https://gerrit.libreoffice.org/15586 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-05-01update to liborcus 0.9.0Markus Mohrhard
Includes a lot of help from Norbert for finding the boost MSVC problem. Change-Id: I5184bc40e2c3861883b8587784117b1c4558fa5f Reviewed-on: https://gerrit.libreoffice.org/15453 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-05-01coverity#1296292 merge these two enum typesCaolán McNamara
Change-Id: I4f82ca5f7a6b392322225c0b871dbaffeba44377
2015-05-01add totals to ScDBData ctorEike Rathke
Change-Id: I798376268b15f8b2f340d48fd2e38d68e53dbc6f
2015-05-01add "Contains totals row" to database range dialogEike Rathke
Change-Id: Ibdd144158f1484cf0e8c3861b6f3758a03638434
2015-04-30tdf#90955: CharKerning i.e spc is not exported after RT.yogesh.bharate001
Problem Description: - CharKerning i.e spacing between characters/letter is not exported after roundtrip. XML Difference: Original: <a:rPr lang="en-IN" sz="6000" b="1" kern="0" spc="2000" baseline="0"> After Roundtrip: <a:rPr b="1" lang="en-IN" sz="6000" strike="noStrike"> spc is missing after RT. Change-Id: I8bcefd6f0d0e3a1825618bece6f563792633a272 Solution: added support for spc. Reviewed-on: https://gerrit.libreoffice.org/15575 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-30tdf#63416 Do not sort header in autofilter if user has chosen one in dialogscito
This patch fixes only a part of the issue. It respects the header if chosen by the user in the autofilter dialog showing when the first row contains empty cells or numbers. With minimal effort a lot is fixed (80-20-rule). With headers, the autofilter sorting works with empty or number cells in the header row. (The main part of the issue.) What this patch does not solve: If there is no header row, but only data rows. If the user's choice in the dialog is no header for the autofilter, then the first row is sorted too. The autofilter buttons will move toghether with the first row. The autofilter buttons should stay at the first row, even if the data of the first row changes. In conclusion, this patch improves the autofilter sorting code, though it does not address everything of the issue. Change-Id: I9cc56577a90586bf8575c9630e5c03871198c04c Reviewed-on: https://gerrit.libreoffice.org/15277 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30loplugin:simplifyboolStephan Bergmann
Change-Id: I6bedf840c9fc0596b2dccbeb2f304738b74317b2
2015-04-30Get rid of initial :: for the sdr namespaceTor Lillqvist
Change-Id: Ibbeb069b6fcb2aa0581429ac5cb6db519548fd00
2015-04-30Get rid of initial :: for the svx namespaceTor Lillqvist
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
2015-04-30Get rid of the initial :: for the vcl namespaceTor Lillqvist
We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-30tdf#90908 : FILESAVE: XLSX wrong export of font size 18PriyankaGaikwad
After roundtrip is font size changed from 18 to 11 Current behavior: The 'sz' tag was not exported Expected behaviour: After RT 'sz' tag should export with value 18 XML Difference : Original <a:rPr lang="en-IN" sz="1800" b="1" i="1" u="sng"/> Roundtrip <a:rPr b="1" i="1" lang="en-IN" strike="noStrike" u="sng"> Change-Id: I7955f89a8db9c18c11546f4c60aa130a0be14bb5 Reviewed-on: https://gerrit.libreoffice.org/15565 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-04-30simplify logic and less comparisons, fdo#69552 follow-upEike Rathke
Change-Id: Id1150b53a57a6b7d9a6c623637c123e4f37a0876
2015-04-29fdo#69552 [part 1] make calc functions CEILING comply with ODF1.2Winfried Donkers
Also, add support for CEILING.MATH and fix small deficiencies with CEILING functions, as most are interwoven. Change-Id: I0d9a46fb17e982ccf1e9d9e403b58926172c1a7a Reviewed-on: https://gerrit.libreoffice.org/7088 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-04-29tdf#56036: allow calc compiler treat tabs and newlines as spacersMike Kaganski
Currently these characters are illegal in input formulas. This is inconsistent with ODF spec, and brings incompatibility with other ODF implementations, as well as with OOXML. This patch fixes this by providing corresponding character flags for these chars (tab, cr and lf). This effectively converts these characters to spaces. Keeping the original whitespace characters should be done in another patch. Change-Id: Id9362de9138ec7cd7b23c6d999181e15d5b71d5b Reviewed-on: https://gerrit.libreoffice.org/15566 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>