summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2012-07-11Remove method that is no longer neededDaniel Bankston
I added this method recently, but it is no longer needed. Change-Id: I0baa67ce1eb41cddde52a61bca65feede65c3994
2012-07-11Fix cause of osl warningDaniel Bankston
Change-Id: Idfeaab29da60f323fdf8528599459cc38ab9f27c
2012-07-11ODS Import: Improve method names and commentsDaniel Bankston
-EndElement used to be very long method that I broke into sub-methods. Some of these method names were possibly misleading so changed them to better reflect their intent. -I added and improved comments in this area too. Change-Id: I290c74362aff268b5e153a67dc9145965341cb9d
2012-07-11Distinguish between DATE and DATETIME formats in ODS importDaniel Bankston
Change-Id: Ia727e48582a87efc8a8e632108f5949ac36bf49c
2012-07-11Add test for volatile functions for ODS importDaniel Bankston
Change-Id: If2f85e32ddeb9f25b4a355ce5451dc04925bbbc9
2012-07-11Always Recalc volatile formula cells in importDaniel Bankston
-Previous method was flawed. It actually works now. -Thanks to Kohei and Markus for helping me with this. -Thanks to Markus for finally coming up with the actual solution. Change-Id: Iad28da12c548c583df14ab7d71f4cee8ccc3552a
2012-07-11Reduce some redundant codeDaniel Bankston
Change-Id: I23bf34793c8a1409c8753f572a6122dee2f4128f
2012-07-11Always recalc certain functions on importDaniel Bankston
Change-Id: Ie8cffc4a856328dd658714726de7ca77028a33a7
2012-07-11Remove calls to ScFormulaCell::SetFormatType() that are no longer necessaryDaniel Bankston
Change-Id: I632273a2278cd76d2af96192885a11bea85bd6a0
2012-07-11Expand cached matrix formula result test case to include other potential probsDaniel Bankston
Change-Id: Idb036ffdf09ee92b34118d9f52ea1d06c15fb31b
2012-07-11Fix problem with cached matrix formula results that contain errorsDaniel Bankston
Change-Id: I9277714780e00e311e6e81a9de6e4d39409d5c9b
2012-07-11Add test for cached matrix formula resultsDaniel Bankston
-Includes test case for cached formula result errors Change-Id: I446240daffdbd6cd7ebd3c3b8dc2305c789d8519
2012-07-11Use cached formula results for matricesDaniel Bankston
Change-Id: Ia77a94184c3d598f16a2f51d996f4c7058d9e303
2012-07-11Use indexOf instead of matchDaniel Bankston
Change-Id: I2743929c3ba06ce1345d7217d9297515d2b5b2e4
2012-07-11Use text:p value if cached formula result is Err:### or #N/ADaniel Bankston
This should be removed once we have export working correctly for function errors. Change-Id: Ibdd20478b458dd7849544ec90f32d754e3a71755
2012-07-11Set proper number format for formula cellDaniel Bankston
Set proper number format for formula cell so that cached formula results are displayed properly. Example: so =NOT(1) will properly display as FALSE instead of as 0. Change-Id: Ifa4e3e83bc81779e34be385508da23a3b66c0a8c
2012-07-11Add test for import of cached formula results (without hard-recalc)Daniel Bankston
Change-Id: I7e73465d152332661f48e4dcd9ae28135821df68
2012-07-11Add test for hard recalcDaniel Bankston
Change-Id: I0fdbac47d6049d4a8b0b100eb1ce0fdab3eed262
2012-07-11Use bool instead of sal_uInt16 for HardCalcStateDaniel Bankston
Change-Id: Ia855780c28dc05e1606e8118fabd2a86bfcc5fa2
2012-07-11Use cached formula results instead of recalculatingDaniel Bankston
This commit undoes some of previous commit in attempt to be less "hackish". -When importing LibreOffice generated ODS documents, use cached formula results instead of always recalcuating. -For other generators, do hard-recalc. Still need to: -Stop matrix formula cells from being set dirty to avoid recalculating them. -Implement special cases for functions that should always be recalculated. Change-Id: I959872aa2f446b80f9204ee26e94de7140f1f6f9
2012-07-11Use imported formula results if ODS doc was generated by LibreOfficeDaniel Bankston
During ODS import, use imported formula results instead of recalculating if the document was generated by LibreOffice. Still need to implement recalculating special cases such as NOW(). Change-Id: Ia54690224dc0d8f74b93cafd8d01b072e85c7416
2012-07-11Improve performance of data validity unit testDaniel Bankston
- Now using OStringBuffer instead of OString for multiple appends. - Simplified logic. Change-Id: I991c3e538439d68e242a7f97bab9c2d82631467e
2012-07-11Stop calculating row heights and instead use imported row heights onlyDaniel Bankston
Change-Id: I1a5e33c292fb915e61511efbdb9ce4a0cfd7265f
2012-07-11Add unit test for ODS row height importDaniel Bankston
Change-Id: If8535f80d2f2cd57132d9d694d6bb2535df31c80
2012-07-11Change sc subseq unit tests to use more appropriate cppunit assert macrosDaniel Bankston
-Changed where appropriate to use CPPUNIT_ASSERT_EQUAL_MESSAGE or CPPUNIT_ASSERT_EQUAL instead of always using CPPUNIT_ASSERT_MESSAGE. Change-Id: I1855b1b382f39f811905e18a8f24fb34a481031f
2012-07-11Replaced deprecated tools/String with OUString in sc/../chgvisetSören Möller
Added new TextSearch::SearchForward mirroring TextSearch::SearchFrwrd using OUString and sal_Int32 to make it possible to replace all uses of tools/String Change-Id: I260d8d3a23d634eab37f28a5ceaf61ace5040540
2012-07-11Use rtl_zeroMemory in place of rtl_fillMemory(..., 0)Christophe JAILLET
Change-Id: Idd83f6340d13a1d7111d0d5a7268f1aa8bf5c09e
2012-07-11Decrease header files dependenciesMatteo Casalin
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-10changes to "Replaced deprecated tools/String with OUString in ScAddInCol"Eike Rathke
Some further nitpicking changes to avoid a few more temporary conversion objects. Change-Id: I5faaa1f525aeafdc5004340a6cd05e0610c22182
2012-07-10Replaced deprecated tools/String with OUString in ScAddInColSören Möller
Change-Id: I7059f10617b9a33ba63690c980b96d95d9023c55
2012-07-10Remove unused SOT_FORMATSTR_ID_STARCALC_30Thomas Arnhold
Change-Id: I6efa95c07d524379ce1b14c85d897494509039a5
2012-07-10Remove unused include statementsThomas Arnhold
Change-Id: I2ff5fcfae2b9b638e0b39450fbedd77b111ec67c
2012-07-10removed deserted Lotus 1-2-3 export filterTakeshi Abe
which has never enabled so far since its birth at 2008 Change-Id: Ifd2e2f1108f44d5816783bf67f11e500eea0c170
2012-07-09Fix typoJulien Nabet
Change-Id: I0027a07aa3e1000a4fc1b8932ec24ff686cbc23f
2012-07-09resolved rhbz#838248 init filter criteria stringEike Rathke
In ScFilterDlg::Init() the string displayed as criteria was empty if query is ByValue or ByDate. From earlier times the dialog assumed that the query string was always set corresponding to the value, but internal handling was changed. Change-Id: I4f10654f4015b38f7ddba9d6727e06806f1d6b77
2012-07-09UNO API test for ScEditFieldObj wrt its properties.Kohei Yoshida
To detect a bug such as fdo#50587. Change-Id: I3822af8d592b8aca31c1d4fecc925d0df20d27da
2012-07-09Unit test for string input with custom string handling policy.Kohei Yoshida
Change-Id: I51e8fbe83e94ba66a0e2ef63aacf080ba0e50a9c
2012-07-09some UniString->rtl::OUStringCaolán McNamara
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09performance problem with this commitMarkus Mohrhard
Change-Id: I59bca684afcc1c51ecff3c6444ad1fd4b2b520e8
2012-07-09Revert "Revert "export all style information to xls/xlsx, fdo#46738""Markus Mohrhard
Lesson: Never trust that nobody was crazy enough to use my commits! This reverts commit 9e9e53a2d961d489440f4addc25af90d3a6b793b.
2012-07-09Revert "export all style information to xls/xlsx, fdo#46738"Markus Mohrhard
This reverts commit 5d123a0b0e827aba59ddb50ef1b961a529a34a15. Conflicts: sc/source/core/data/attarray.cxx Change-Id: Ie4bd09d2350faf0689c375d6a3f0f2b307cedcae
2012-07-09Replaced deprecated String with OUString in sc/../chgtrackSören Möller
There only was one use of EMPTY_STRING left in a call to a method that is already converted to OUString Change-Id: Iaeb273f68d1c76d1d40f903a3f782ba5bc75289d
2012-07-08fix layout issue on Data Bar dialogAndras Timar
Change-Id: I6bdc5bbbf5e48b5b62562c46afe7f76f3b21a60e
2012-07-08fix a few layout problems in Conditional Formatting dialogAndras Timar
Absolute pixel coordinates should not be used, because we work with font size dependent relative coordinates all over the place. Layout on Linux was OK, but controls were positioned partially outside the visible area on Windows. Change-Id: Iee417f57135ada7ea9cb73726c56f96b3154e0b8
2012-07-08removed unused includesTakeshi Abe
Change-Id: I248ef370c55c18d60a8ea32ef92f70734bffbaf2
2012-07-08we still need to pass the wrong number of read bytesMarkus Mohrhard
Somehow we rely in some cases on the invalid number of read bytes. Change-Id: I07e31c231cd96878da098f72cf3279da939da9c7
2012-07-08export all notes into odf, fdo#49924Markus Mohrhard
Change-Id: Ic3b9176b1b8da7663d1dc3c88a4d56cd794e0805
2012-07-07fdo#51830 order of OK and Cancel buttonsAndras Timar
Change-Id: Ia1df8361be359c2453a237de88e3dcc4daa76113
2012-07-07fdo#43109: Don't check for simple number when text format is requested.Kohei Yoshida
Change-Id: If8ec135f53ffb4a3f33c15c6f2a23a9d94a66d82
2012-07-06Test where the member count of a dimension changes after refresh.Kohei Yoshida
Change-Id: I20d2d269c2ba8468a6743c9145e1c8b3552d12b4