summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2013-05-23Resolves: #i119903# Alternative text for form control t import/exportAndre Fischer
Patch by: Jianyuan Li review by: Andre Fischer (cherry picked from commit 0ecc381c85bd4192add692d26fc60ba8e6341fd9) Conflicts: filter/source/msfilter/msdffimp.cxx sc/source/filter/excel/xiescher.cxx sc/source/filter/inc/xiescher.hxx svx/inc/svx/msdffdef.hxx Change-Id: Iac7282e50fd86244381ca174ba3f906aab89c7d9
2013-05-23prevent invalid files if file contains currency formatsMarkus Mohrhard
A regression from writing error cell information into the file. Change-Id: Idb55646094fcd76912bdcd2102370681bcc8703d
2013-05-23only export these attributes into ODF1.2 extendedMarkus Mohrhard
Change-Id: I6a7fcb55287e61af3a3cd041d187d5d4c693bc6c
2013-05-23fdo#63035 Add "Match Case" to Find bar.Andrzej J.R. Hunt
Change-Id: I1339767de7980426d32960bf5ee60e2f5c011be4
2013-05-23Revert "fdo#46808, Convert chart2::Title service to new style"Stephan Bergmann
This reverts commit d256dbede60533369d1aac64cca34721183f6a8a: For one, the new css.chart2.XTitle2 looked unfinished, in that it transfered the direct properties of the old-style css.chart2.Title service into attributes, but left out all the properties inherited by the old-style service from css.style.ParagraphProperties, css.drawing.FillProperties, css.drawing.LineProperties (and that missing FIXME css.layout.LayoutElement, whatever that is supposed to be). This needs more thought, to either make available all propertiers as attributes, or none. For another, this broke JunitTest_chart2_unoapi (sch.ChXChartDocument, sch.ChartTitle), for hard-to-debug reasons. Conflicts: chart2/source/model/main/Title.cxx chart2/source/model/main/Title.hxx offapi/com/sun/star/chart2/XTitle2.idl sc/source/filter/inc/xlchart.hxx Change-Id: I4747208a13984904d0e409ea49a73b0f667c86c7
2013-05-22AppendAscii cleanupRicardo Montania
Change-Id: I7398272de0bd340ebfb5f31b314d32fcff007eec Reviewed-on: https://gerrit.libreoffice.org/3974 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22fdo#64870 Duplicate shortcut on Text Import dialogueJoren De Cuyper
Accelerator 'o' is used for Open as well as Other, 'r' isn't used as accelerator in that dialog. Change-Id: Ia25f03e437378c49e90376dff8aa0826d53265a6 Reviewed-on: https://gerrit.libreoffice.org/4004 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22Resolves: #ii122335# Disabling the old task paneAndre Fischer
(cherry picked from commit f19d927b19ec6263ffedc9a20585d0fa2e74fc54) Change-Id: I084b132f3a2f2a103c16edab1de6196d3219b468
2013-05-22Disable Calc perf test by default & output both pseudo-cycles and real time.Kohei Yoshida
Change-Id: I35120e576208640976cdda0a5628e355bbe2dc7c
2013-05-22Use the block position of the destination, not of the source.Kohei Yoshida
And a test to catch this. Change-Id: Ia73be239b4be96cbe029390efbbec5f49e429652
2013-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin
Also create a Clang compiler plugin to detect such cases. Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752 Reviewed-on: https://gerrit.libreoffice.org/4001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-22fix for bnc#819865 itemstate in parent style incorrectly reported as setNoel Power
Problem occurs because attrs set with default values are reported as set when queried Change-Id: I89d6c3b09312fb78052d87ff20aa12c6fbe7bc98
2013-05-21Adjust a bit.Kohei Yoshida
Change-Id: I74be2d40d9eb92813836a35892f461fe27b79aeb
2013-05-21Hopefully this will disable testPerf for Windows too... Untested.Kohei Yoshida
Change-Id: I6d06b8e2b3cdb22948e606a7d928c57ea9347cea
2013-05-21Disable the perf test for dbgutil build.Kohei Yoshida
Change-Id: Ifd95ea4f88175b9010f93a4a064be5d908b2a224
2013-05-21make calc tests use some sort of pseudo-cycle measurementMichael Meeks
Change-Id: I9f58a7b00a6e4441c08254ef99829fab805beef8
2013-05-21Resolves: #i122261# Calc Navigator - assure non-overlapping layoutOliver-Rainer Wittmann
(cherry picked from commit e7fa6ef1cbae2354078ec185c987e16e004e8a5d) Conflicts: sc/source/ui/navipi/navipi.cxx Change-Id: I91147e2c4f5647e719eb86d0b4b342ea0d9770a7
2013-05-21WaE: unused variablesTor Lillqvist
Change-Id: I52d43a35e621636175e6c56bc068837d3a84bec4
2013-05-21fdo#46808, Convert oox.ExcelFilterExport service to new styleNoel Grandin
Service already existed, just needed an IDL file Change-Id: I397296e5ad7b32febb63e74f8ee9a0db53ba5a81
2013-05-21fdo#46808, Remove unnecessary XMultiServiceFactory memberNoel Grandin
.. and associated methods Change-Id: Iec01b4615decc1616e405166088d7d1d844ac0ae
2013-05-21fdo#46808, Convert chart2::*RegressionCurve services to new styleNoel Grandin
The service already existed, they just needed IDL files. Change-Id: I547b3b40912e2fefdb173c010826f86aa8347b11
2013-05-21fdo#46808, Convert some XMultiServiceFactory to XComponentContextNoel Grandin
and remove unnecessarily storing the global XComponentContext Change-Id: Ifb230b88661fea38d96a9d7f0994f92b9632ef79
2013-05-21fdo#64011 fix the position and the drawing from left to right in RTL sheetFaisal M. Al-Otaibi
this will fix the start position for drawing and you can draw shapes from left to right when the Sheet are RTL Change-Id: I5cc8eabf474918968bea026dba9c5add2bb4f28e Reviewed-on: https://gerrit.libreoffice.org/3912 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-05-21fdo#46808, fix unit testNoel Grandin
...after my PrimitiveFactory2D changes Change-Id: I994d2dd0aebed67643f749dc43bcd4e744601885
2013-05-21fdo#46808, Convert chart2::Title service to new styleNoel Grandin
API CHANGE: The chart2::XTitled interface now takes and returns a XTitle2 instead of an XTitle. Change-Id: I96c35909d3a13f1abb544296a782a0b6a7a58ec6
2013-05-21fdo#46808, Convert various chart2:*Scaling services to new styleNoel Grandin
Change-Id: I93294be4c822160e609ae6aab552edd64478e34b
2013-05-21Bypass for now an OSL_ENSURE that doesn't compileTor Lillqvist
Change-Id: I8f6a74251cea70e7fd100e1ab233cf0033de4e50
2013-05-20Test performance of pasting of formula cells as well.Kohei Yoshida
Undo and redo of this are still a bit slow. Not fast enough to be reliably tested. Change-Id: I0e0b4c16e55bae60f8d7b1db71347a93eb977de8
2013-05-20Another performance scenario. Pasting of cells interspersed with empty ones.Kohei Yoshida
Change-Id: Ia03af65dc1daf13e1228cacc20ce931839305ab8
2013-05-20A bit cleaner way to measure time segment.Kohei Yoshida
Change-Id: I999baaa3acba5513a148542fa28f7ae43dd7ee4f
2013-05-20Make these stack variables & fix one memory leak with the undo object.Kohei Yoshida
Change-Id: I1dd2bf0fc843394502119928c921913131c86f7e
2013-05-20Add performance test for repeat-pasting cell to a large cell range.Kohei Yoshida
Change-Id: I98dcdb1e0a72f2c3ad6f33c7b6b7d4a4bcf89096
2013-05-20Ditto when purging broadcasters.Kohei Yoshida
Change-Id: I632d617cad76485f7e1f57daa7db4d4cfa775e8b
2013-05-20A bit of cleanup.Kohei Yoshida
Change-Id: I9f200377c1f5bf44eb4ba60c272b02ae3d632a19
2013-05-20Do the same trick when getting broadcasters during mass formula cell deletion.Kohei Yoshida
Change-Id: Iee1b3ff637d10c6bd2d2342db518a2fc986327b7
2013-05-20Keep track of column block positions when mass-pasting formula cells.Kohei Yoshida
This speeds up the following scenario: 1) type =B1 in A1. Leave A2 empty. 2) Select A1:A2 and Ctrl-C to copy. 3) Select A3:A50000 (or longer if you so wish), and ctrl-V to paste. This causes the broadcaster storage array in column B to be heavily partitioned due to the empty cells interspersed between formula cells in column A. Without tracking the column position this would cause a O(n^2) complexity algorithm. Change-Id: Ic2f23c2c2bea3353c517faa73fe5412c7528bd95
2013-05-20A bit of cleanup before refactoring.Kohei Yoshida
Change-Id: I3627a83669b6a69c299aef96b8b2ead1352eabe2
2013-05-20Prefer early bail-out.Kohei Yoshida
Change-Id: I112a4be56910c07007b28715336fcd82d56bb313
2013-05-20Compiler warning.Kohei Yoshida
Change-Id: I6f358f89348a23b3c70f8b7db8a1f01d659393ba
2013-05-20Optimize ScColumn::MixData() to remove several bottlenecks.Kohei Yoshida
The use case that would previously make Calc freeze. 1) type in "test" in A1. 2) Select A1:A2 and Ctrl-C to copy to the clipboard. 3) select the whole column B. 4) paste special, select "Add" operation and click OK to paste. With this change, the above scenario no longer freezes Calc. Change-Id: I98b1f1e6c25b853aa884e7598c04b1457fab4636
2013-05-20A bit of a cleanup.Kohei Yoshida
Change-Id: Iaa7003cabee4630e4fbb8fb1cd114d04b4e9e33c
2013-05-20Keep track of column block positions in ScDocumentImport too.Kohei Yoshida
This currently only affects document import via orcus, but it'll be good to put this in place. Change-Id: I8cc6d54aba6fab1f2774127f92c2a764f7b690fb
2013-05-20Same with MixDocument(). But this one has additional bottleneck...Kohei Yoshida
With the removal of existing cells. So, this change is not enough to make this operation fly. Change-Id: Ic468375f6d0c28e2cc7d5391fb0565d53ee7fb4e
2013-05-20Make it exception safe.Kohei Yoshida
Change-Id: Ib9b734ac9800b1ecf005dcd3a66beac6fcfc3a4f
2013-05-20Reuse CopyToDocContext for UndoTo*.Kohei Yoshida
UndoToDocument and its nested methods are tightly coupled with the CopyTo counterparts, and they both are used in the same undo / redo code.... Perhaps we can clean this up to reduce redundancy in the future. Change-Id: Id3aec60914ac3a87acbb53f889896a5850047c59
2013-05-20Do the same thing for CopyToDocument.Kohei Yoshida
This removes O(n^2) slowness from undo and redo of a large array of cells with empty cells in between. Change-Id: Id87c8ac8986c97ddf305f849a4752f0f92cc5899
2013-05-20Move the boolean flags to the context bucket.Kohei Yoshida
To reduce the number of function parameters lower. Change-Id: I816bd7c27070597f5fcdf69bdc7d981279390ca6
2013-05-20Do the same optimization for CopyToClip.Kohei Yoshida
The basic idea is the same as the one I did for CopyFromClip. This prevents the O(n^2) algorithm from being invoked during undo object creation. Change-Id: Iac46663b0c25db2f00ffa3ab95a4dcf2857252ce
2013-05-20Get the script type in an efficient manner.Kohei Yoshida
This alone makes AdjustRowHeight() fly on large ranges, by eliminating the silly O(n^2) algorithm. Change-Id: Id2693aab7fb9b2a5575c6390fcaae5a404549962
2013-05-20Optimize ScViewFunc::GetSelectionScriptType().Kohei Yoshida
This change reduces the duration of this method from somewhere in the ballpark of 10 seconds down to a tiny fraction of a second. Change-Id: I0278dc06a4f134b43cd08bd94693b6dec4893f1f