summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin
Converts code that calls comphelper::string::getTokenCount() to use sal_Int32 to store the return value. Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
2013-11-05fix some further include guard fooThomas Arnhold
Change-Id: I949533327ec101a2baef6e6f66e79677a62c3d9f
2013-11-05update pchThomas Arnhold
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-11-05fix STL debug build againDavid Tardon
Change-Id: Ic616a83adcdf12c64ee3f5a00bf254be847b3c7e
2013-11-04sc: stop linking openssl in scopencl libraryMichael Stahl
Change-Id: I6618ac1d469e9a45bac30b2a1d94711f43ee5ed7
2013-11-04Two new test cases for importing data tables from XLSX.Kohei Yoshida
Change-Id: I87da806612ae50fe1d64b851c5180ff1792752cb
2013-11-04Create data-table directory and move the test file into it.Kohei Yoshida
Change-Id: I1007525a7d2e1135f0388975f9cb7b0cef9b3142
2013-11-04Import data tables from xlsx via ScDocumentImport.Kohei Yoshida
Change-Id: Id3d526720f99b7557476915beab35b429ec97c1d
2013-11-04Renamed test file.Kohei Yoshida
Change-Id: I912778f2eedb162f2a04c0a7bc8a5220ea0fca2c
2013-11-04Use position hints for broadcasters when activating formula cells.Kohei Yoshida
No reason not to do this since we are bulk-registering formula cells. Change-Id: Ie0356c62a3c4698f5560272cb0c104f84cacde56
2013-11-04No point using the pimpl pattern here.Kohei Yoshida
The whole class is already hidden in the source file. Change-Id: Ib6157ae275217a95586735f74beee1700041a679
2013-11-04Have all formula cells start listening at once after the file load.Kohei Yoshida
Rather than doing it individually. Change-Id: I5ed55947b715bf6d7d61a1f8b751be7fdcf425fb
2013-11-04Fix multiple operations with formula cell with indirect dependency.Kohei Yoshida
Now the unit test passes. Good. Change-Id: I23fa8355805c192f43db0199f3628f2bf457a645
2013-11-04Add test for multiple operations. Part of it fails currently.Kohei Yoshida
Change-Id: I90e3bbaae41fac51711b8502fbeb6ee2ebf19082
2013-11-04We need to update sheet positions of range names when modifying sheets.Kohei Yoshida
And add Dump() to ScRangeData for debugging convenience and re-enable previously failed test cases. Change-Id: I9d8f41a8be4c9c301254ef300c7b7f0c1ea7f393
2013-11-04Insert matrix formula vis ScDocumentImport, and more formula imorts.Kohei Yoshida
Now SetGroupFormulaCell() is no longer used. Change-Id: I10a387da04724794974eaf491a8efa4cda09d82a
2013-11-04Populate raw cell values using ScDocumentImport.Kohei Yoshida
Also fix incorrect const methods. Methods that populate the document model should not be marked const even if the compiler allows it. Change-Id: Ic5d1670ce93c166d0f44ace04494fccab6eac275
2013-11-04Set up ScDocumentImport accessor and initialize it.Kohei Yoshida
Also, those createFoo() methods shouldn't be const since it does modify the state of the document model. Change-Id: I6a9267c54710f359506ca39c1e213f82595ebfe3
2013-11-04fdo#71081 add Excel 2010 functions BINOM.DIST and BINOM.INVWinfried Donkers
Change-Id: Iaecccd9ec6ab6a08c6c7ee8c024a3eba48ca1682 Reviewed-on: https://gerrit.libreoffice.org/6521 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-04fdo#71128 arguments of calc function MMULT have same nameWinfried Donkers
Arguments 1 and 2 of MMULT have the same name in the function wizard, which is both confusing for the user and inconstent with other argument names for matrix functions. Patch simply changes the names to match the description of the arguments of MMULT. Change-Id: I9fc35907133aa61248182bd3b253a7f90ba7cd2c Reviewed-on: https://gerrit.libreoffice.org/6526 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-04fdo#40788: Allow manual breaks in Calc to be forcedEilidh McAdam
If the scale settings specify that the print ranges must be scaled across a specific number of pages, the default behaviour is to ignore breaks to avoid the case where breaks force more pages than specified. Here, an option under Calc -> Print -> Pages is added so that the user can specify that manual row and column breaks should be forced. Change-Id: I445cd7ce9e16e4ec2d0c320f059edad62b40f22d Reviewed-on: https://gerrit.libreoffice.org/6531 Tested-by: Eike Rathke <erack@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com>
2013-11-04Fix for Calc page scaling - see #i54993#Eilidh McAdam
If a print range's manual breaks forced it over more pages than specified by the sheet scale settings, the zoom calculation wasn't able to converge on a zoom level, so it bottomed out at ZOOM_MIN. This issue only appears if the Calc/Print/Page/ForceBreaks option is selected and simply ensures the minimum number of pages is at least the number required by the breaks in the sheet. Change-Id: Iba36e850081718b1aa43e5c3db3c883530885853 Reviewed-on: https://gerrit.libreoffice.org/6532 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-04fdo 70998: Termchange: Graphics->ImageSamuel Mehrbrodt
Change-Id: If451dfb24567157c86bca9a4a8564eb8de231a38 Reviewed-on: https://gerrit.libreoffice.org/6524 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04fdo#69971 formula dialog crash when Paint restores EditEngine listenerCaolán McNamara
We need the EditEngine Modification handler of the inputbar that we are feeding to be disabled while this dialog is open. Otherwise we end up in a situation where... a) this ScFormulaDlg changes the editengine b) the modify callback gets called c) which also modifies the editengine d) on return from that modify handler the editengine attempts to use old node pointers which were replaced and removed by c We turn it off in the ctor and back on in the dtor, but if calc has to repaint, e.g. when switching to another window and back, then in ScMultiTextWnd::Paint a new editengine will have been created via GetEditView with its default Modification handler enabled. So ensure its off everytime we will access it via InputReplaceSelection pScMod->InputEnterHandler(); I wonder if we should really be calling ScMultiTextWnd::GetEditView (which creates an EditView if one does not already exist) in ScMultiTextWnd::Paint or just check for pEditView directly, but that then leading to the need for it to be explicitly created somewhere else. As it stands in ScMultiTextWnd::Paint(...) the "if ( pView )" can never be false. Change-Id: I2f6df9ce0cc7ec59e8be33f4e67d91422796d251
2013-11-04small optimization, don't get selection unless it gets usedCaolán McNamara
Change-Id: Ibc359a8dbb26ef066dc43535eaf9835c4c7e9314
2013-11-04minor cleanup in ScHeaderControl: nCount is always greater than 0Rodolfo Ribeiro Gomes
Change-Id: Ia50265e397704131dc948bc2bcbf80a442054b71 Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6538 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-11-04German translations and minor clean-up in ScHeaderControlsRodolfo Ribeiro Gomes
Some methods properly defined as const methods Change-Id: I59bc371bbb3adc6df2b96b82a0968a8693622ff8 Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6537 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04WaE: unused variablesTor Lillqvist
Change-Id: I6b5849b23478c747bbebd8d00543739e581760a3
2013-11-04WaE: statement aligned ... [loplugin]Tor Lillqvist
Change-Id: I90613943b2d9fda6286f85a2b45655055ba30b6e
2013-11-04GPU Calc: implement fix for SINHdechuang
AMLOEXT-116 FIX Change-Id: I0c369a65ffb3de2ac91fdd3d04ca6afe658b9bee Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-04GPU Calc: unit test cases for SINHdechuang
Need open macro NO_FALLBACK_TO_SWINTERP in formulagroupcl.cxx for test AMLOEXT-116 BUG Change-Id: Ic3cf18c9b475bc37bdca40cb64c582742bba8a5a Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-03GPU Calc: implemented COUPNUMminwang
AMLOEXT-74 FIX Change-Id: Ic7f274f089f7f6cc6b767c4a07844014eeded61d Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: unit test cases for COUPNUMminwang
AMLOEXT-74 BUG Change-Id: Ice115dc1e9b22fdaff9a8fdadabe9b93635ef315 Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: implemented DURATIONxinjiang
AMLOEXT-111 FIX Change-Id: I114e5b20326657f7fd3e0de7162a8ae190059b2a Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: unit test cases for DURATIONxinjiang
AMLOEXT-111 BUG Change-Id: I1d206b0eda0dca8254f0491399d0a4679eb39ef8 Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: refactor op_financial.cxx to fix warning and bad indentationI-Jui (Ray) Sung
Change-Id: I93db1e5d2b03904a3d7787cc16f642ebf4752d85
2013-11-03GPU Calc: implement for PRICEmulei
AMLOEXT-63 FIX Change-Id: I97271c8cd05347e0c9179d509f8985d5f4c5f276 Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: unit test cases for PRICEmulei
AMLOEXT-63 BUG Change-Id: I747817487fe118106a549674c6918dab544522ba Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: implemented ISPMT in GPU calcxinjiang
AMLOEXT-99 FIX Change-Id: I8cd9f130c190e6925873a00579cb7c334201f418 Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: unit test cases for ISPMT in GPU calcxinjiang
AMLOEXT-99 BUG Change-Id: I4388b184b23cf616dacfb20c61d2295765925ede Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: fixed compiler warningsI-Jui (Ray) Sung
Change-Id: I9f8af5827340de24a45c9230c6ce2ec186ba8cc6
2013-11-03GPU Calc: implement NAN argument handling in PPMTmulei
AMLOEXT-119 FIX Change-Id: I43dcd08ff846a4008f13c9d02a69478898363131 Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03GPU Calc: unit test cases for NAN argument handling in PPMTmulei
AMLOEXT-119 BUG Change-Id: I3bc04bfeeeaee80e6d1273d373180d8bf3aaf901 Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
2013-11-03catch aFieldSeps.isEmpty() in ScAsciiOptions::GetWeightedFieldSep()Eike Rathke
Change-Id: I72dea73752cd793d8f4992dfe631270412155a16
2013-11-02resolved fdo#67572 export add-in equivalents as internal to .xlsxEike Rathke
For OOXML .xlsx export the add-in functions that are equivalents of known internal functions as those internal functions. Change-Id: Ic41f32b67902effa07c3d4db137be08dc5af7265
2013-11-02no default LTR mode does not mean RTL, fdo#68097Markus Mohrhard
Change-Id: Ice4957077e7eda5f7bb93042d6e2ba745935ef8b
2013-11-02add test case for fdo#70315Markus Mohrhard
Change-Id: Ia442916ae29b8531ba2ef67eb4809267aca775b4