summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2013-08-16fix for bnc#834705 missing drop downs for autofilterNoel Power3-4/+33
After commit fc861c7088e9b639a1c2c80f8ba4535c798aeb34 there is now an order dependency, between any ScPatternAttr flags indirectly set and SheetDataBuffer::finalizeImport which sets the attributes directly for a column So the ATTR_MERGE_FLAG that has ScMergeFlagAttr ( and associated SC_MF_AUTO flag ) is scrubbed when by the direct writting of the attribute from SheetDataBuffer::finalizeImport -> Document::SetAttrEntries I've reordered that Table import here and split the finalize ( which happens before heetDataBuffer::finalizeImport ) so that the databaseranges which were created before sheet import still happens, the autofilter part of the import is now deferred ( until after SheetDataBuffer::finalizeImport ) Change-Id: I11bb45ee7b330760fd93ecca30b23399414ac3a7
2013-07-24followup fix for bnc#823935 exported xlsx causes errors for mso2007Noel Power1-6/+3
previously we added 'file://' scheme to hyperlink urls detected as SMB but.. this is just how linux detects those windows share urls, on windows those urls are detected simply as FILE urls. So... we need to add the scheme if either FILE or SMB ( basically just relax the patch a little ) Change-Id: Ie9a2b0c9e297ee08352db88ad9a21583978dbe3d (cherry picked from commit 40dd3d6e4ed8ed6a2f1c3f953955f9932c0c95ce)
2013-07-18n#819822: XLSX Chart import with internal data table.Muthu Subramanian4-4/+27
When the import with xlsx ranges fail - try with internal data table. Ported from: 7da06efd74be6500895bab6e5e8ed485914ff45e and: da4ec594da45210a1f97d31ecb3e7f9c127954e5
2013-06-24fix for bnc#823935Noel Power1-0/+6
Change-Id: Id62e1f4845bfbc610f73499881dc33d3d955923b
2013-06-24write display attr of hyperlink only if value is different from stringtableNoel Power2-3/+8
Change-Id: Iff6f16d6cdb539ad80ef01e91db51613e95053d1
2013-06-13don't hide cell content behind pivot table buttons, fdo#60877Markus Mohrhard1-1/+1
Change-Id: I1508aafcc7046c576a4d6de87900dc66f32b2f97 Reviewed-on: https://gerrit.libreoffice.org/4184 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-06-07share spPaperSizeTable ( and associated access code ) in msfilterNoel Power2-213/+16
PageSetup.PaperSize implementation more or less copy&pasted the papersize conversion code from oox, this is a followup to remove the duplication. ( Probably the binary filter could be converted to use this also saving yet another nearly similar implementation ) Change-Id: I479f0322163161f7819c5d650a9511910ac2e781
2013-06-07remove unintended changes ( from some aborted approach )Noel Power1-2/+1
Change-Id: I793a635711475ebb1125611ec48d52c130cd20a0 (cherry picked from commit 0683a7b15ce668efd79fa556f5511de833c7ec12)
2013-06-07add missing PageSetup.PageSize apiNoel Power4-2/+149
Change-Id: If52fb46f61962827acc08025617d9d61a6ab6d40 (cherry picked from commit 254a2d6c71f7615c7652ca401b9dd3eac1e0d570)
2013-06-05bnc#821795 eat stray backslashes, in ooxml num format they don't escapeNoel Power2-6/+5
the '\' char in the number format isn't an escape character but rather an indicator that the next character should be displayed. Change-Id: Id2ae2fcfe5f195d2b85c2933c12d2d4443bb4dd8 (cherry picked from commit 78775f1ad9b3f394896179898db984e139d5b5cc)
2013-05-30restore old behavior for external references, fdo#64229Markus Mohrhard1-1/+1
Change-Id: Iae160607447ff6e1133f9e1e6f9c6a9f1e7bd7ab Reviewed-on: https://gerrit.libreoffice.org/4062 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-05-30we need a reference to the DifParser.aData, fdo#64920Markus Mohrhard2-26/+12
regression from 6191fa0847ac5b27083efe1a8c6cd84d080a638c Change-Id: If7fc18e7d0bcbf1075a0ecdb1c0dcf3d207f1bda Reviewed-on: https://gerrit.libreoffice.org/4054 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-05-30range names need to be checked upper case, fdo#64031Markus Mohrhard1-2/+3
Change-Id: I540821fd7058bf0da27d955c9d966a10dd21ec94 Reviewed-on: https://gerrit.libreoffice.org/4050 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-05-30Fix compilation error with older compilersTor Lillqvist1-1/+1
Change-Id: If9eff90d91c79d942fec59fee4daedccf7c69a83
2013-05-30some Worksheet.Change supportNoel Power1-0/+22
Change-Id: I91203e74d54adba17a20ef7b7d835d9ac49855be (cherry picked from commit 20d792d6379600df8b56a2735f9dd1cb63967e4d)
2013-05-30i106278 - Window.ActiveSheet,Window.FreezePanes,Window.Split, Window.ViewPedro Giffuni2-29/+56
not working correctly. Patch by: lihuiibm Reviewed by: Chen Peng (cherry picked from commit b1edc65b2ad18720fefb5ba769f2c6f8c46623d6)
2013-05-30remove some methods that are no longer used after reworkNoel Power1-74/+0
Change-Id: I057ae3608d5f7ba513dcdc31b1caba1bfc45c0e8
2013-05-30buffer ExtCfRuleContext startElement processingNoel Power3-5/+169
ExtCfRuleContext::onStartElement processing depends on some data now buffered until CondFormatBuffer::finalizeImport runs. We now need to wait for this data to be available. This change buffers up the processing that used happen in ExtCfRuleContext startElement so it is now done as part of CondFormatBuffer::finalizeImport Change-Id: Ifbfe12740e6c4bc9791183dba89acb79cbbb6ef6
2013-05-30buffer conditional formatting finalization so it happens after styles importNoel Power4-3/+18
Change-Id: If28059578280536141ea966d83e4540939f6e76b
2013-05-30reorg styles code slightly, process normal (and row ) style in own methodNoel Power2-88/+89
Change-Id: I701d12cf8f672824d7cfca1e995f02040fdd3095
2013-05-30improve cell style xls[x|m] import performanceNoel Power3-16/+192
This change reorganizes the styles by column ( and by row ranges in that column ) so we can apply ScAttrEntry entries directly via Document.SetAttrEntries(...) this is what the binary filter does also. Change-Id: I7c1398c1d900e0a2b6c6ec3746b982ef60e653a0
2013-05-30fix for bnc#819865 itemstate in parent style incorrectly reported as setNoel Power2-15/+12
Problem occurs because attrs set with default values are reported as set when queried Change-Id: I89d6c3b09312fb78052d87ff20aa12c6fbe7bc98 (cherry picked from commit bf8e9b29aaebcbdd8f2f06b42ac97b8d9f8f4503)
2013-05-17Revert "fdo#63878 fix the zoom problem when the sheet are RTL"Noel Power1-3/+0
This reverts commit 9411d4d56374a55777019d58c1e7f45767662707.
2013-05-15make some vba Name object attributes read/write and add test documentNoel Power2-1/+4
cherry-picked from fbd74ed44cd011ebab95bb4bc4eb6b15c1272c43 Change-Id: Ibd12835cc5368080a302b3b8d7c6f52ccc434e3c
2013-05-15fix Workbooks.xls unit test ( was failing on windows )Noel Power2-5/+18
was cherry-picked from f34c31560bb29f90d579a795cd9f7707163c025f Change-Id: I3f7bac8d071875a462f9f1a7180b8c6da93c8c70
2013-05-15try fix build failure ( on some platforms ) uno::makeAny( 1 )Noel Power1-1/+2
Change-Id: I0107fc919a785195a1247c08ae019ed3f48f7e7d (cherry picked from commit 5c20d05f925c9142f023ed910a1205acfc734c65)
2013-05-15fix various problems with vba Names & Names objectsNoel Power4-84/+144
a) Name.Value attribute was read only b) Name.[Get|Set]Value not working property c) Name.ReferToR1C1xxx attributes not returning r1c1 related addresses d) Names.Add just not working( should return a reference to the new Name ) e) Names.Add not handling multi-area addresses, not constructing the Content for the names correctly cherry-picked from 566f52506e8e160540a3bcd0dc46f93e87e3155a Change-Id: I6f3c1cf029d5e4003c5900a4e9525f5a0d9a8ed6
2013-05-15fix waeNoel Power1-1/+1
Change-Id: I30481f8377d471a1bce50026adff53c15fbc6889 (cherry picked from commit d6fd3fa6e840c6374f53beeae54f4aa71d73ffcd)
2013-05-09fix Worksheet.Cells by now allowing TableSheet range to change from updatesNoel Power2-1/+12
Change-Id: I19cd39ec58b778f4634258352676da7e04822b65 (cherry picked from commit 70aff4a7f7abe0c768238733ca8900b746e60189)
2013-05-09bnc#813528 stub out some missing XPageSetup apiNoel Power2-1/+32
(cherry picked from commit 7b542db859221cae585df458fd9f330d4b11d142) Change-Id: I105ca73f9f99013c4472ae2d7491fbc67e435015
2013-05-09follow fix for bnc#813528Noel Power1-2/+0
Change-Id: Id6c9cd01bc68e13b87c845d9272c7b85756987c5 (cherry picked from commit 06732f0437ee4c8eb0c90f60156f0c0f57960757)
2013-05-07fdo#51828 - UI: Sort: can use more than 3 criteria once only - additional fixAlbert Thuswaldner2-16/+25
Change-Id: I220b3755d3ea30bd9aa25b175f7f3eea7590ebdb Reviewed-on: https://gerrit.libreoffice.org/3801 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-07fdo#63878 fix the zoom problem when the sheet are RTLFaisal M. Al-Otaibi1-0/+3
Change-Id: Ie451b7a84b5481e9209c5b6d6d439844de5082fd Reviewed-on: https://gerrit.libreoffice.org/3789 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 5bff7f52075eb3ffe931d1779681262e1820a859) Signed-off-by: Eike Rathke <erack@redhat.com>
2013-05-07fdo#64048 - fix calc/VBA clearcontents regression.Michael Meeks1-1/+1
Change-Id: Id0c07507810ec1db41359f39dee804364fd37ecd Reviewed-on: https://gerrit.libreoffice.org/3744 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-05-07fdo#61820: Avoid crasher when file URL contains unicode bytes.Kohei Yoshida2-5/+30
This is a cherry-pick of 6374df20c2a8378209cce21c0e9689e65b8bd9a2. Credit goes to Isamu Mogi for pin-pointing exactly what caused the crash and which commit fixed it on master. Change-Id: Ic5653c76c8c7d8eb8798a9c4ae0cbc43f0e946e4 Reviewed-on: https://gerrit.libreoffice.org/3581 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-07some new testdocuments, also some others with newly added testsNoel Power9-0/+0
Change-Id: I4e3cf644d8a6e6989f79a6758ad3d55972fc82b1
2013-05-07adjust components needed for CheckOptionToggleValue.xls testfileNoel Power1-0/+3
Change-Id: Id9aa26cac2f59829e8b00057c82dc52bbbbc20cb
2013-05-07Tweak further the indices checked for break, also tweak test documentNoel Power1-2/+2
<sigh> pagebreak implementation is still flawed here, the used range is used to determine whether the page break should be considered ( or not ) Problem is that it is not the used range but rather the rightmost column position that contains content ( but not necessarily the column that contains content but rather the righmost column that has content ( or even that is covered either by spillover from an adjacent column or drawing ) Change-Id: I68c8ccc5911049bc4b2076992f839bc684d966a9
2013-05-07Fix ScRangeList::Parse wrt defaulted delimiter and default tab paramsNoel Power2-9/+28
At some point in the past default tab was introduced, the VBA Range code calling ScRangeList::Parse was not adjusted to take care of this extra defaulted param and and the delimiter param was passed in place of default tab. Change-Id: I45a971f7ad9cb4f3299fae8cb1882cb0e7744c3b
2013-05-07Revert "remove unused parameter"Noel Power2-3/+4
This reverts commit 7c63d52506b66563eefcf29c803b23bb9b812491.
2013-05-01remove duplicated implementation of ScVbaApplication::OnKeyPetr Mladek1-15/+0
somehow got duplicated when merging the tag libreoffice-4.0.3.2 Change-Id: I78ed09327076263f1797adc6b94b948918e5227c
2013-05-01Merge tag 'libreoffice-4.0.3.2' into suse-4.0Petr Mladek19-90/+333
Tag libreoffice-4.0.3.2 Conflicts: basic/qa/cppunit/test_vba.cxx basic/source/runtime/step2.cxx dictionaries helpcontent2 instsetoo_native/util/openoffice.lst libvisio/UnpackedTarball_visio.mk sc/source/ui/vba/vbaapplication.cxx sc/source/ui/vba/vbavalidation.cxx solenv/inc/minor.mk sw/qa/extras/ooxmlimport/ooxmlimport.cxx translations Change-Id: Ic1f06489175f3db92d6bbcebb9732fadc1c61fed
2013-04-30bnc#816516: Implement easy access to the recent documents.Jan Holesovsky2-0/+5
This adds a dropdown to the 'Open' toolbar tool. Change-Id: I5b4aa99476e721c1479152b46bbc79cc0b095318
2013-04-29implement Range.NameNoel Power2-0/+53
Change-Id: I884f84e437dad9440951e60c8f92fd6487c48832
2013-04-29fixed out of bounds vector accessEike Rathke1-1/+1
in ScColumn::FindNextVisibleRowWithContent() if starting from the position all including the last present cell of a column are blank Change-Id: I0270331444f1707b6ad413f6127ae4c2cf0b1984 (cherry picked from commit 3874bad70ea48deed91b9966b3d35782b5584f7d) Reviewed-on: https://gerrit.libreoffice.org/3585 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi> Tested-by: Petr Mladek <pmladek@suse.cz> Reviewed-by: Petr Mladek <pmladek@suse.cz>
2013-04-26fix clang error "exception specification of overriding function"Noel Power2-2/+2
Change-Id: I0af87a753a9ff09c4e31a1f00d88cf996cab43c6
2013-04-26stub implementation(s) for Application EnableCancelKey & InternationalNoel Power2-1/+28
Change-Id: I19d7f46eef6adbc8a3e8d32a69aaa1ab498dd8f1
2013-04-26implement Application.Iteration & Application.InchesToPointsNoel Power3-3/+46
Change-Id: I58b8e14d01220ae46020ed8104f2d94a21364072
2013-04-26implement Application.UndoNoel Power2-0/+10
Change-Id: I0579efa9dc26be93cd0fa01c23220d9c723a9a26
2013-04-26reset Logical format when setting a number value via Range vba apiNoel Power1-0/+9
Change-Id: I0f9a68228c9cb6425b1d139744a92c4a3d4c6012