summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2013-01-31ScExportTest: enable testPasswordExport on WNTMichael Stahl1-1/+1
With the previous commit it appears to work now. Change-Id: Ifa2c69c6e8617461ec2098ecc959e99a4812565e
2013-01-31fdo#59022: revert "SfxMedium::GetOutputStream(): re-use existing XStream"Michael Stahl1-4/+4
Revert commit 0c2206081de38a41597aadfb2255540d6308be63, since this apparently causes failure to open ODF files via SMB on Linux. Instead of changing SfxMedium, adjust the ScExportTest: when saving XLSX files interactively, the SfxFilter::lFormat is always 0, which causes SfxObjectShell::SaveTo_Impl not to call SfxMedium::GetOutputStorage() at all, working around the locking issue on WNT. Change-Id: I0ab8b4262475e4c8425eebb1413997457e5e9417
2013-01-31Hyperlink is an optional property, fdo#58858Markus Mohrhard1-3/+10
Change-Id: I30f2b0cdb72951a47cfd8d0091b5418fd59efe83 Reviewed-on: https://gerrit.libreoffice.org/1930 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-31port ScOutlineObj to new UnoApiTest ctorMiklos Vajna1-0/+1
That makes 'make subsequentcheck' pass here again. Change-Id: I50d74759b6ae6cd2bfa62a76028dc74931ffb3b0
2013-01-31WaE: C++11 requires a space between literal and identifierTor Lillqvist1-1/+1
Change-Id: I3351298e338315881bc8fa344849f00ee4438059
2013-01-31Meh, use SAL_PRIdINT32Tor Lillqvist1-1/+1
Change-Id: I8ce0d94e7946175d1b287ba85567f9bb414f4152
2013-01-30bnc#492440: Sort autofilter popup items correctly.Kohei Yoshida1-5/+5
Use locale-aware collator to sort strings, instead of using the transliterator. The actual sorting algorithm for cell sort uses collator. Let's be consistent with it. Change-Id: I6729553ce92d50e45fa1ea6e1c35581fd791807d
2013-01-31Use a method from UnoApitest instead of implement a new one in calcMarcos Paulo de Souza18-53/+52
In calc, we see a lot of implementations of createFileURL. So get ride of all it and start to use the UnoAPitest::createFileURL method. Also, clean the UnoApiRest::createFileURL method, fix the path from UnoApiTest and moved some testing files to the right dir that the file belongs. Conflicts: sc/qa/extras/scoutlineobj.cxx Change-Id: Ic02f13777503729ac70da590f4a42866f17ea9b2
2013-01-30Don't overwrite bCalcAll when it's already set & remove SetCompile().Kohei Yoshida2-2/+2
Change-Id: Ieaf84e8d36efa8314729903be029f83c31bcbdf3
2013-01-31MIN_FREEHAND_DISTANCE is used nowhereTakeshi Abe1-4/+0
Change-Id: I3111c8fd60089302d7eee51df0ac81ae1a6f5eab
2013-01-30bnc#615317: Recompile cells with #NAME! for English function name option.Kohei Yoshida7-6/+102
When the option for using English function name changes, we should re-compile all cells with #NAME! as the error may have been caused by unresolved function name which may be fixed after the option change. Change-Id: Id340ce9b5db3ed368b98e814861be5c3f96df071
2013-01-31import/export new Excel 2013 ODF functions, fdo#60032Eike Rathke2-68/+158
Change-Id: I8cf726ce5132f0cb712b30a76a76b152a681f4da
2013-01-30resolved fdo#60087 corrected .xlsx export of functionsEike Rathke2-41/+71
Change-Id: I6c7ba47dde88a73d035b1db5f7f4cede78b262db
2013-01-30WaE: format %d expects argument of type int, but argument 2 has type long intTor Lillqvist1-1/+1
Change-Id: I0fe32f14641ed2c2cf1ee4e0f03aa9bef805ef1d
2013-01-30unfriend this class and the methodMarkus Mohrhard2-7/+10
Change-Id: I43645409bee380ef6664109c4480ca37c5f3ecd2
2013-01-30make a few more users of ScAttrArray outside of the class constMarkus Mohrhard2-6/+6
Change-Id: I76aca6b1ddb8a326eecf70a68bed2a754e462c49
2013-01-30this check always will result in trueMarkus Mohrhard1-6/+3
Actually I believe that pData is non-NULL in all cases now but proving it is quite complicated because there are a few too many friends of the class. Change-Id: I024605676281c0a4a46b42827b00ef98bf68ea79
2013-01-30this parameter was always trueMarkus Mohrhard2-16/+8
Change-Id: If78c958c11b5786f31127fc729806e1e5bc5d58a
2013-01-30prevent copy c'tor and operator=Markus Mohrhard1-0/+5
Change-Id: Ibf45ab23a2272043729e7404de89ad514735bf06
2013-01-30prefer the c'tor initializer listMarkus Mohrhard1-8/+6
Change-Id: Ic4087959ae04b27c228abf67ef538aa8717fae4f
2013-01-30adapt comment to correct codeMarkus Mohrhard1-1/+1
Change-Id: I669036358773b0e9583d7d0b8130ca947d89fae9
2013-01-30correctly handle repeated row heights for empty rows ( fdo#59973 )Noel Power5-19/+103
it seems both xls & xlsx export suffer from problems with multiple row heights repeated ( if those rows are empty ) Change-Id: I3ed68a81517a3e55d1de1954fcb99e7cb39be337
2013-01-30better default row detection ( associated with fdo#55621 )Noel Power2-2/+35
previous patch associated with fdo#55621 compared single instances of row heights to determine the default height, it didn't take into account though repeated rows. Additionally the limit of rows heights ( where rows were empty ) considered when exporting xlsx was the old 65535 limit. Change-Id: I3772829fe88fe28c4a24061e77470c8a126ff419
2013-01-30Get rid of STAR_RESOURCEPATHStephan Bergmann1-1/+0
...the only remaining use was for CppunitTest to find the .res files in $(OUTDIR)/bin/. Get that solved by delivering the .res files also to $(OUTDIR)/unittest/install/program/resource/ (new gb_ResTarget_get_unittest_target). Change-Id: I370e7cab4223256356c7511b88ae63d9c0dbf215
2013-01-30the name field for SdrShadowColorItem seems to be redundant nowCaolán McNamara1-1/+1
Change-Id: I6e90cdfc9577bfa0ee1dd1018a41aa7979dfaf04
2013-01-30Let's stick with just one variant of ScDocument::GetString()...Kohei Yoshida36-165/+111
Instead of having 3 of them. Change-Id: I2de9b63c33b7362162a56ea391f8b68a468163fa
2013-01-29Slightly better way to skip pivot table ranges during spell check.Kohei Yoshida4-16/+35
Change-Id: I43e45cbd11f532f35ca9f0063236850ebc2e518e
2013-01-30if no cond format is valid use the existing protection, fdo#58826Markus Mohrhard1-1/+3
Change-Id: Ib52a546a98f681b918de5e3bd285c36407fa8254
2013-01-30make clear that this variable should not be used inside of ScDocumentMarkus Mohrhard1-1/+1
Sadly it is not as easy as it should to remove this variable yet. There are some users inside the import filters that prevent me from moving the variable into the UI layer but we should not use it inside ScDocument. We should inspect in the future if this variable is actually a good idea at all or if it create problems with multiple views and we need to use the current table of the current view. Change-Id: Ic1a378bacfcba65a3df8e5782e64eb15ca057d7d
2013-01-30correct indentationMarkus Mohrhard1-9/+9
Change-Id: Iacfb0838d6d66e010d4ac0a2e73040fa51841673
2013-01-30no user of nVisibleTab inside ScDocument anymoreMarkus Mohrhard4-6/+5
Change-Id: I1ee09c7be958b0231f99df2ebadb0dc6a3a20246
2013-01-30move these methods to ScDocShellMarkus Mohrhard5-95/+91
Change-Id: I050e4d992c601c7af1a83b30137ab38fd05b8a74
2013-01-30make some more methods constMarkus Mohrhard2-24/+24
Change-Id: I7e7557a91d18255beaf96b64aeba0915a2c2786a
2013-01-30remove these unused static data membersMarkus Mohrhard2-8/+0
Change-Id: I8b3dc969fc371a47b89055e80ea762565e405f26
2013-01-30ODFF: write RRI as RRI, not ZGZEike Rathke1-1/+2
ODF OpenFormula defines the function RRI, the legacy OOo XML format stored that as ZGZ but that was not changed for the ODFF implementation. Correctly read/write RRI now but still accept ZGZ to be able to load existing documents. See also http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part2.html#RRI Change-Id: I617eaa37ff483e9a02a218e8432ba918f54bd61a
2013-01-30resolved fdo#60043 write correct IM* function namesEike Rathke1-0/+8
Prefixed with _xlfn. instead of programmatic Add-In name. Change-Id: I4f119f92096329432488503f36df670a4ce19b42
2013-01-29bnc#484599: Prevent pivot table from getting sheared when cells are shifted.Kohei Yoshida7-2/+313
Change-Id: Ic6766105bb221aa4ebc700cbf99b4f6f5b3abf8b
2013-01-29Let's stick with FooCol, FooRow naming as opposed to FooX, FooY.Kohei Yoshida1-104/+104
The latter always confuses me, which likely would lead to bugs caused by brain shortcircuiting. Change-Id: Ide7545d8d28e89265cad0d4457ab29cecc1869d3
2013-01-29Boolean cleanup in InsertCells and DeleteCells.Kohei Yoshida2-35/+35
Change-Id: I11d8ba422b280a9a06dbc9bb13c2ccaae7435afb
2013-01-29We don't need this hack anymore for unit test.Kohei Yoshida4-11/+2
I've addressed the root cause the right way. Change-Id: I1b3b13d28e4acc9f9ec814c0ad242166aa34a65e
2013-01-29Bool cleanup with ScEditableTester.Kohei Yoshida2-32/+27
Change-Id: If4ae85bec451897f5c22397f4301200d1d3c77ac
2013-01-29WaE: private field 'nMaxRanges' is not usedTor Lillqvist1-1/+0
Change-Id: Ie2d2a6b28be8167749822e22a85db057dfdd25a2
2013-01-29osl ensure on the correct member ...Eike Rathke1-1/+1
Change-Id: Ic41f95431203409b8412733870a4d8ec0fc93192
2013-01-28fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac4-100/+75
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
2013-01-28no need for the String version of this function anymoreMarkus Mohrhard2-10/+1
Change-Id: Ic661a5cb492c25a049dfaf1da0a501ceeae83c2c
2013-01-28remaining ui parts for conditional date formatsMarkus Mohrhard3-10/+94
Conflicts: sc/inc/globstr.hrc sc/source/ui/condformat/condformatdlgentry.cxx Change-Id: Ibc1dc80faa64d97e3d600ce40a97a716804cfac8
2013-01-28fdo#46808, Adapt document::*PropertyValues UNO service to new styleNoel Grandin4-52/+42
The services are: document::NamedPropertyValues document::IndexedPropertyValues The services already existed, they just did not have IDL files Change-Id: Ibafe9b5afb9b30785df4f66aa923f4b96ceabeed
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin7-10/+10
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-27Some cppcheck cleaningJulien Nabet1-1/+1
Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
2013-01-27implement conditional date format import/export for ODFMarkus Mohrhard5-1/+162
Change-Id: I11d5583c994d84fe1163c6158c0794ea1d879f2e