summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-07-24Add test for OOXML part of tdf#99256Katarina Behrens
Change-Id: If5e56109f0bf9281be74c17965b047a50f8b55d3
2015-07-24calc mapmode: Cleanup DrawBackground + fix one pixel size.Jan Holesovsky
Change-Id: I2ff1aa1d83a3228ee76eda7cd2e411cf084079f6
2015-07-24calc mapmode: Refactor DrawBackground to use logic unitsKrisztian Pinter
Change-Id: Id47eac2578e75750eac04b481fe58df6d4f5e70d
2015-07-24calc mapmode: Pass RenderContext as reference in DrawNoteMarksKrisztian Pinter
Change-Id: Id47f4001943bd40fb8476c7e6a81f257b34c2c7d
2015-07-24calc mapmode: Pass RenderContext as reference in DrawFrameKrisztian Pinter
Change-Id: I6c9a476a8dea5266868c94d6a1203cfe840171cf
2015-07-24don't generate invalid XLSX filesMarkus Mohrhard
The pivot table cache is not handled through the normal record system and as we need to make sure that the extLst is exported after the pivot cache let's add another hack. Change-Id: Icb816e3eb06add768d19cc1c237e6bf75816d9f0
2015-07-24that comment is not correct anymoreMarkus Mohrhard
Change-Id: I20e1b15b34730508d20ff436c51d66bd67c9e447
2015-07-23add unhandled case in switchMarkus Mohrhard
Change-Id: I1e6c2263cb8e6b4d58a3f63ca129d4e9c403fce2
2015-07-23tdf#92256: OOXML save/load syntax for string referenceKatarina Behrens
+ introduce a separate LibO namespace for that Change-Id: Ie62da0746e81ea0d861680863beb03094649d41c Reviewed-on: https://gerrit.libreoffice.org/17216 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-23TableRef: generate error for header-less column references, tdf#91278 relatedEike Rathke
... instead of using an arbitray first data record's string as column name. We don't support header-less tables properly yet, so don't pretend to. Change-Id: Ia42619ec800291b6617a61c8a89a2d54ef231cec
2015-07-23clear HasHeader at database range if table headerRowCount is 0Eike Rathke
Change-Id: I1cf5b0ac3884320f39d439b6eecf0b39cdf6bc49
2015-07-23handle ContainsHeader property at database rangeEike Rathke
Change-Id: If0d54ab1dee6c861b973dc490f6c4a1e11260546
2015-07-23inline a handful of use-once #definesNoel Grandin
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-22loplugin:unusedmethods scNoel Grandin
Change-Id: I7bdb1889a942d63370731764a58f4ab524dedd8a Reviewed-on: https://gerrit.libreoffice.org/17287 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-22calc mapmode: Pass RenderContext as reference in DrawPagePreviewKrisztian Pinter
Change-Id: I8c4834914b2061c928f4d1172b48d79c2fc4d842 Reviewed-on: https://gerrit.libreoffice.org/16348 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-07-22loplugin:unusedmethods scripting,scNoel Grandin
Change-Id: I0016aefce1aad3a89bd23dcec6fbab58a7c844d7 Reviewed-on: https://gerrit.libreoffice.org/17263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-21tdf#92256: Introducing CONV_A1_XL_A1 address pseudoconventionKatarina Behrens
a special case for INDIRECT function interpretation. Does what OOo used to do, interprets formula using CONV_OOO first, failing that, tries CONV_XL_A1 Change-Id: I4281ab2bb7164607206c0b8e51f7e63a1fc2db9a Reviewed-on: https://gerrit.libreoffice.org/17255 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-21unit test for MATCH ReferenceOrForceArray parameterEike Rathke
Change-Id: I534480411d6c164f9f0955933b612c1a219402fd
2015-07-21tdf#36796 Status updates for custom shapes buttonsMaxim Monastirsky
We're dealing here with 2 bugs: 1. Single shape buttons (like rectangle, ellipse etc.) don't get the pressed state when active. The cause is that all commands of the same kind (Basic Shapes, Symbol Shapes etc.) are handled as one internally, allowing only one type of status updates. It used to transport the current active shape, but it was changed to a boolean value in the fix for i#41753, and since then used for the pressed state of the group buttons. 2. The pressed state of a group button shows always, even when a user activates a shape from a place other than the drop-down of that button. But in this case the image of the group button doesn't update with the current shape, thus confusing the user on what is currently active. The cause here is that we use (since i#41753) the XSubToolbarController interface to update the last selected function (instead of the old-style status based update), and ToolBarManager notifies a controller about a new selection only if it was made from a particular toolbar that the controller claimed to use in the getSubToolbarName method. Since 7352a7c17875e5adcc4226c45f4a03e11c44ff49 there is a similar regression for other group buttons in sd (like lines, 3D Objects and other), with the same cause. This is also fixed now. Change-Id: Ida074a001ff78bf5bd5bcb8151516daa6e27cbce
2015-07-21SimplifyMaxim Monastirsky
Change-Id: I6fff5af5d623bff6f8adedf6f3d42d849ea4d24b
2015-07-21MATCH, HLOOKUP and VLOOKUP have a ReferenceOrForceArray parameterEike Rathke
tdf#91278 related Change-Id: Iab4728b07649bcbb1beb372e68369f3762b13a5c
2015-07-21loplugin:unusedmethods formulaNoel Grandin
Change-Id: I62ff278679638dda7e10c86c49b1966641418e8b Reviewed-on: https://gerrit.libreoffice.org/17223 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-21Resolves: tdf#92448 check for numeric '.' only if sheet separator is '.'Eike Rathke
Change-Id: I427da08eed3fc5daed2bac4d588b66a3f03fd28c
2015-07-20tdf#68868: better handle xlsx with samecell anchor imageRavindra_Vidhate
Problem Description : In the bugzill attached file, a image is anchored to the cell, it is shown as stretched image after opening in the LO. The image anchor attribute <xdr:from> and <xdr:to> are having the same value. It means <xdr:col>, <xdr:colOff>, <xdr:row>, <xdr:rowOff> tag values of from and to are the same. So this image will have width and height as 1. Although, this is very rare case, where from and to has the same attribute values. Eventhough, we tried to create such kind of EXCEL file but failed to do so. Solution : When twocellAnchor attributes of from and to has the same value, then hide the shape. If we avoid to add the shape, then the original image file will be shown as stretched. If we don't add it into the shape, the original image will not be preserved. Change-Id: I48ea1cffcdfb013cec115ef8df5401e532fd2efd
2015-07-20svtools: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I895c950c11499afb278b989565f3eae33aaf4a76
2015-07-20svtools: change these SvTreeListEntry functions to unique_ptrMichael Stahl
... parameters to make it clear that they take ownership. Change-Id: I572c5fa6268438a86d0a4fa1d2aef15382cb5607
2015-07-20Resolves: tdf#58838 do not use collation for Equal/NotEqual operatorsEike Rathke
Unicode collation ignores control characters and other specific characters, see http://www.unicode.org/charts/collation/chart_Ignored.html and thus is not suitable to be used for Equal/NotEqual operators. Change-Id: Ib84713e1da59d92e07bc974d93b6def8217bb067
2015-07-20Related tdf#92256: map CONV_OOO to listbox item no.1Katarina Behrens
it worked only accidentally for CONV_XL_A1 and CONV_XL_R1C1, as their enum value was the same as listbox item no. Change-Id: I57dc9f373de5a43fca8dcbe5bc6da25dfc54680f Reviewed-on: https://gerrit.libreoffice.org/17229 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-20unify code duplication in ScInterpreter::ScCount and IterateParametersWinfried Donkers
follow-up of commit 5d88cb48a77e65810ea6d0be32b5387b1767a216 where duplicate code for ScSum was unified. Change-Id: Ia65673261d7bcd95dd5bc97eaa34d7da48dbef96 Reviewed-on: https://gerrit.libreoffice.org/16916 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-20tdf#92256: ODF save/load syntax for string referenceKatarina Behrens
Change-Id: Iec38867c2fa3750f052e4afc99c5f8d48808c373 Reviewed-on: https://gerrit.libreoffice.org/17017 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-07-20check annotation caption pointers, blind fix for rhbz#1242099Eike Rathke
Apparently there may have been situations when the caption or its shape could not be obtained for whatever reason. Change-Id: Ie9b97d4b3999cb4645bb6b8b688b3666cfd71ccc
2015-07-20convert to typed Link<> in sfx2Noel Grandin
Change-Id: Ifa42bd14d7329ff1043fa736513c468dda30485e Reviewed-on: https://gerrit.libreoffice.org/17195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-19add unit test for tdf#88137, tdf#89254Markus Mohrhard
Conflicts: sc/qa/unit/subsequent_export-test.cxx Change-Id: Ibf7e46cfecf5e8d54450feac481edb2c699408cc
2015-07-19Fix typosAndrea Gelmini
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-19tdf#39468 clean-up/translated german comments in auditsh.cxx and cellsh*.cxxAlbert Thuswaldner
Change-Id: I6fdc60164dc3144b23dfe08ca8ce9b40a07081b2 Reviewed-on: https://gerrit.libreoffice.org/17191 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-19fdo#39468 translated german comments in editsh.cxx and formatsh.cxxAlbert Thuswaldner
Change-Id: Icf2afd6f841692d0f63f5989d720a703bf98568c Reviewed-on: https://gerrit.libreoffice.org/17185 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-19tdf#39468 translated german comments in gridview2.cxx and gridview3.cxxAlbert Thuswaldner
Change-Id: Ia385720ac604296cbcccadb6a99f1b965a90ad10 Reviewed-on: https://gerrit.libreoffice.org/17181 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-19tdf#39468 translated german comments in gridview.cxxAlbert Thuswaldner
Change-Id: I4f7596e65e46de7819f4d5531c576d0d4651fc7e Reviewed-on: https://gerrit.libreoffice.org/17176 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-19fdo#39468 translated german comments in dbfunc3.cxxAlbert Thuswaldner
Change-Id: I3fd45e8d72c060d439effe7404648b4989221674 Reviewed-on: https://gerrit.libreoffice.org/17190 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-19fdo#39468 translated german comments in gridview4.cxx and gridview5.cxxAlbert Thuswaldner
Change-Id: I2537bedfab6856787d9b75e919cd3973a514bd3c Reviewed-on: https://gerrit.libreoffice.org/17184 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-19fdo#39468 translated german comments in drawview*.cxxAlbert Thuswaldner
Change-Id: I18cfceb16a5405684a9c36e8b517c6afc3eda05b Reviewed-on: https://gerrit.libreoffice.org/17188 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-17Resolves: tdf#92767 use ISO 8601 for internal date string representationEike Rathke
Change-Id: I481bf3295feb64827de2122234a9300d0b8ced40
2015-07-17Resolves: tdf#77479 do not reset AutoFilter range for temporary operationsEike Rathke
Change-Id: I22f5e74ca91eb188ce669762927dd25604a256ff
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-17loplugin:unusedmethods filterNoel Grandin
Change-Id: Ie33a5ebda9337cf123b39ae18a8d7b4ef12b6991 Reviewed-on: https://gerrit.libreoffice.org/17131 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-17Minor ui changes in calc sidebarRishabh Kumar
1. removal of ambiguous button width in sidebarnumberformat.ui 2. addition of spacing between indent label and indent buttons in sidebaralignment.ui Change-Id: I41fc4f9bdfb2a1a1909d014f6039c73bbdfe9c4a Reviewed-on: https://gerrit.libreoffice.org/17145 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-07-17do not reset existing HasHeader on anonymous database rangeEike Rathke
tdf#88402 related Change-Id: I401c67da383227496e9d8c2b2ed0671e2a2796f2
2015-07-17inherit existing HasHeader when expanding/shrinking anonymous database rangeEike Rathke
tdf#88402 related Adding columns, invoking Data->Sort, Cancel now still does not lose a HasHeader set in a previous Sort dialog. Change-Id: I1388b8f6a1964fb584f1826751072ba648f53ab7
2015-07-16Convert Alignment button to the generic controllerMaxim Monastirsky
Change-Id: I76ead43fa1cfe7ba1b62d2b13c4f4d7658a9f290
2015-07-16sc: Disable the alignment group buttonMaxim Monastirsky
... when all its items are disabled. That's the same behavior now as in Writer. Change-Id: Ic74d0737ae7cc709a64524c1aa43783af8f4fbcc