summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2013-07-24fdo#67206: Don't forget to swap the broadcaster storage when swapping columns.Kohei Yoshida2-8/+45
And a new unit test case to catch this in the future. Change-Id: Ife7d0579849a769c23ace8bfd86a39892253a121 Reviewed-on: https://gerrit.libreoffice.org/5070 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
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) Reviewed-on: https://gerrit.libreoffice.org/5066 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-23resolved fdo#67094 handle <text:s> in <text:p> and <text:span>Eike Rathke4-2/+138
821521f757569c96ded6004bb2cb0d003481b55b introduced XML_SPAN but removed handling of XML_S repeated U+0020, SPACE Change-Id: Ic1b00c9dbc33c750b9a8cae910b4ca0bed42ab5a (cherry picked from commit be10607d358f7587f10e76084893ceed3a4c9215) Reviewed-on: https://gerrit.libreoffice.org/5051 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-15sc: fix Date/DateTime ambiguityMichael Stahl1-8/+8
(cherry picked from commit 585d4c165f25a6acb19b5f0d05cbb1623283717f) Change-Id: I99908a73d38b0d4b9919ac9c627b849b1d7de0d8 Signed-off-by: Eike Rathke <erack@redhat.com> Signed-off-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl1-1/+1
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 652ccbdf3111766fadc379a8cf4650b744e1e19c) i#108348: fix TimeZone -> Timezone in struct names (cherry picked from commit 604aae1fd240254fe851d93dc35b5408bd13296c) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu> Signed-off-by: Michael Meeks <michael.meeks@suse.com> Conflicts: forms/source/xforms/convert.cxx offapi/type_reference/offapi.rdb reportdesign/source/core/sdr/RptObject.cxx sc/source/filter/oox/unitconverter.cxx
2013-07-15fdo#63998: Filtering by page fields to work again.Kohei Yoshida3-116/+201
Change-Id: I267ccb30cfa6347313fa1de96e18731f0e22d57d (cherry picked from commit 76488b00ed75bf7915d6d57af9875c6434e740d6) Reviewed-on: https://gerrit.libreoffice.org/4894 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-13fdo#64448: Don't get type name from incorrect filter.Kohei Yoshida1-3/+2
This causes wrong format type to get "detected" when testing for a completely different file format type. Change-Id: I230759e2be432beeae2db24c12369ccb4585f334 Reviewed-on: https://gerrit.libreoffice.org/4876 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-07-12fdo#66655: Get GETPIVOTDATA to work again.Kohei Yoshida11-116/+114
1) Compare data field name as it is displayed in the table output. 2) In the result tree, store field member names as strings as displayed in the table output, instead of as ScDPItemData. GETPIVOTDATA operates on displayed cell values and do textural comparison. There is no use storing ScDPItemData which screws up value lookup in the result tree. Change-Id: I31bc03a6800f4fadf2ba1180d1958354d43e8a07 Reviewed-on: https://gerrit.libreoffice.org/4853 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-07-11WaE: pOldRanges may be used uninitializedIvan Timofeev1-1/+1
Change-Id: I22ff60e30b8c5697f648fcd6b7b22a302c6a2135 (cherry picked from commit 7c7ca0d0028cacad15a4fdc3dc02bc5f038c9f3c) Signed-off-by: Eike Rathke <erack@redhat.com>
2013-07-10fix for fdo#51990 process external refs for macrosNoel Power1-2/+18
(cherry picked from commit f3a0dd8fbc3ead1fe1ec1faec3377cedaacadd93) and also cherry pick from commit adab0134662562298ff13e7fe564623af4bc33da ) use GetMatrix instead of manually disambiguating External and normal refs and cherry-pick further tweak from commit 35f9cd513d6dd796a5bc54c51df3961a674addcb Change-Id: I4fe1d7240f277b532e11d2fbb5aa18f54f2c4695 4fe1d7240f277b532e11d2fbb5aa18f54f2c4695 Reviewed-on: https://gerrit.libreoffice.org/4800 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-10fix reading fonts from .odp using style::font-name (fdo#65338)Luboš Luňák1-1/+1
b40bcde076f9fabf24810d2520e878d604d99637 made writing .odp use style:font-name and office:font-face-decls, instead of using fo:font-family . But the reading back was broken, as xFontDecls is not set in XMLTextImportPropertyMapper::handleSpecialItem(), so the font data was ignored. And xFontDecls was not set because it's set while reading office:font-face-decls, which is at the top of the xml document, but even before the xml is parsed, the call to SdXMLImport::setTargetDocument() calls GetShapeImport(), which creates XMLShapeImportHelper instance, which calls XMLTextImportHelper::CreateParaExtPropMapper(), and XMLTextImportPropertyMapper is created with rImport.GetFontDecls() still being NULL at that point. And it actually doesn't seem to make any sense to just pass around all the pointers to XMLFontStylesContext, as eventually it's always just the one from SvXMLImport. So simply dump all that and make the one single place that actually uses it (i.e. XMLTextImportPropertyMapper::handleSpecialItem()) refer directly to SvXMLImport::GetFontDecls(). Change-Id: Ib1b3e4b1bcaf87ca3e4703d1cc1563ad6b3f9ce7 Reviewed-on: https://gerrit.libreoffice.org/4816 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-07-03the calculation of the progressbar leads to very slow savingLaurent Godard1-3/+3
Change-Id: Ibba31126161b77b499561c5a74c057a56c07a4a8 Reviewed-on: https://gerrit.libreoffice.org/4647 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Reviewed-on: https://gerrit.libreoffice.org/4698 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-07-03temporarily disable tests known to failChristian Lohmaier1-2/+2
Change-Id: I95c3c1af64b7d8b499c085c345b26d2df7e31965 Reviewed-on: https://gerrit.libreoffice.org/4700 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-07-03simplify AddPrintRanges calls at import timeLaurent Godard2-9/+10
- at import time, use directly core functions - honor IsUndoEnabled in uno calls Change-Id: If1e762df0ca9cfa22fa2c0e75518fe892be602b6 Reviewed-on: https://gerrit.libreoffice.org/4656 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-on: https://gerrit.libreoffice.org/4696
2013-07-03xls cells have all hard number format, fdo#66506Markus Mohrhard1-0/+1
Change-Id: Ia2dd206bd1e9a91bef0021a9317f0d6486b2f276 (cherry picked from commit f45c47af72369859d1937cb8b46cba370031509a) Reviewed-on: https://gerrit.libreoffice.org/4689 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-02don't crash during chart copying, fdo#66508Markus Mohrhard1-3/+3
(cherry picked from commit 92207231c3742873ad3b3a6fed2963d1bf924ad3) Change-Id: I3a4806fcae7b830e71cda0ab7e6d5ac6f180d4d3 Reviewed-on: https://gerrit.libreoffice.org/4688 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-07-02don't forget the formula cell style during xls/xlsx export, fdo#66242Markus Mohrhard2-3/+46
This reverts parts of commit 64223bda068cc6d82d3c5e359d465014568398bb. Change-Id: I6d5379aaedbf011b39a4cf076f0a43bc8a6cbc93 (cherry picked from commit 93a5b7ee36818d60963e4fbe21f9e6c43c7c5a80) Reviewed-on: https://gerrit.libreoffice.org/4670 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-02resolved fdo#35411 redefined MAXCODE 512 to FORMULA_MAXTOKENS 8192Eike Rathke2-4/+2
Also renamed MAXJUMPCOUNT to FORMULA_MAXJUMPCOUNT but without changing the value as the runtime array size of ocChose depends on it, should be changed before. Eliminated the duplicated and error causing redefinition of both in sc/inc/compiler.hxx Change-Id: I0e87d1439c9564a4f475fcb2870ab51c3b586942 (cherry picked from commit 9c1ca6dca3b553c302a635357e33591605343b99) Reviewed-on: https://gerrit.libreoffice.org/4667 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-07-01hide the style boxes to collapse the date entries fullyMarkus Mohrhard1-0/+2
Change-Id: I58f06a57a05ef007afc203c737acfe29df6ea6a3 (cherry picked from commit def32c7e14ad9743e2b55804442be5d596f6c21c) Reviewed-on: https://gerrit.libreoffice.org/4617 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01update all style lists when a new style is addedMarkus Mohrhard2-4/+67
Change-Id: Ib404958e2bc0e3bfe075d1c94f348e907ee004c8 (cherry picked from commit aa028cab4a72660c773a9eac0cd8a19a0d655c01) Reviewed-on: https://gerrit.libreoffice.org/4616 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01handle localized default style names, fdo#61339Markus Mohrhard2-4/+7
We need to map localized style names during import and export from and to ODF. The default styles are the only localized style names and are not imported with the name written into the file. Change-Id: Ibdc2f750b7a4b7ce6994b22248e237fe95ac638d (cherry picked from commit 5b9bad7482a98f2d0d37c4b75a13292abe653ea3) Reviewed-on: https://gerrit.libreoffice.org/4615 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01extract this functionality from the uno codeMarkus Mohrhard7-151/+190
we need this code in our next step for some mappings in the filters code Change-Id: I059d9d05877846215e1a967123dc253de605417e (cherry picked from commit b3aabf223ec7bc2678fd6dfbbbbb79ab7f079e5b) Reviewed-on: https://gerrit.libreoffice.org/4614 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01only clean the cond format if we want to write attribs, fdo#62267Markus Mohrhard1-1/+1
Change-Id: I2f4feecb3180b165f6b9b299ecb3dcdbb65f87e3 (cherry picked from commit d4f631e8ceb7f02a18565cf0470c8170215e69f8) Reviewed-on: https://gerrit.libreoffice.org/4613 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01use the local setting aware method for the UI, fdo#64754Markus Mohrhard1-11/+17
Change-Id: Ie3117c26b347e1a8996ef9cbcb8b0d6ee561b5b3 (cherry picked from commit a539cf2c09bdd62d1c4a0124ed536f88d4fd01d5) Reviewed-on: https://gerrit.libreoffice.org/4612 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-01Resolves: fdo#66263 calc's protect records doesn't do anything, sid collisionCaolán McNamara1-1/+2
Change-Id: I50c9f0bd28f17e5d56c6d6948871042ba64650ef (cherry picked from commit 257ba103fb9ffae87189eb5d435969961fe4e98c) Reviewed-on: https://gerrit.libreoffice.org/4651 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-06-28we don't need this hack without inherited number formats, fdo#66076Markus Mohrhard6-45/+2
Change-Id: If315ce28a4182019002141c7330475e0843f9a40 (cherry picked from commit 3f0b5770790dfcb408d169df1265546d6e8e3ece) Reviewed-on: https://gerrit.libreoffice.org/4593 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28unit test for commit:1680a8cd4f4393ec15c4f85cb63b6654117d56d1 (fdo#56960)Noel Power3-3/+22
expand the existing borders import check to cater for xlsx ( and testing for fine/hair border styles ) Change-Id: Ic5c3cd46e0049dbce9997f0881c4d98e0d64e00c (cherry picked from commit 69dcacedaccd1d698a54eed615ee8739747bc975) Reviewed-on: https://gerrit.libreoffice.org/4503 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fix hair & fine cell border export ( followon fix fdo#56960 )Noel Power5-10/+11
1) align excel binary and oox import filter border thickness values 2) use new fine-dash border style 3) detect & determine hair vrs fine borderline on export also squashed relevant part of commit ee51444ed1f7003dafc93c8181b5f8c1b0fd165b ( fix borders unit test ( test values have changed ) ) Change-Id: Ieb024bc6f4bfc87c525082c7b9a1f3c444f5c5ca (cherry picked from commit 1680a8cd4f4393ec15c4f85cb63b6654117d56d1) Reviewed-on: https://gerrit.libreoffice.org/4493 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fix for bnc#823935Noel Power1-0/+6
window network drive urls on import get internall converted to SMB (so it appears anyway) when exported the file:/// that was on the target ( in the relId ) for the hyperlink is dropped. Apparently the scheme isn't necessary for the binary import. If one of these strange 'detected as smb' window shares are exported make sure we add the file:/// (cherry picked from commit 8e33e95500c2f5edc91e853024a5c0fff285fcce) Change-Id: Id62e1f4845bfbc610f73499881dc33d3d955923b (cherry picked from commit 732640c353b39cff7a9d5b5906f8975102cbed11) Reviewed-on: https://gerrit.libreoffice.org/4484 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27fdo#65856 allow shift cells in paste special for copy-modeWinfried Donkers1-1/+1
Change-Id: I7a7e13104e7256da9a82e16e14ddfa04e35e7f8a Reviewed-on: https://gerrit.libreoffice.org/4525 Tested-by: Eike Rathke <erack@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit e513fffeac1f4a814f644f156d88fc8810af4e46) Signed-off-by: Eike Rathke <erack@redhat.com>
2013-06-24clang, -Wunused-private-fieldJulien Nabet1-1/+0
Change-Id: I8aa3d67c50a7b248cfdefb9a3152afd259b8ebbd (cherry picked from commit ac1cb18b82bbee3a2a54ce73480fdb3e2cbf4ab4) Reviewed-on: https://gerrit.libreoffice.org/4475 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-06-17resolved fdo#65082 RATE function should not find roots <= -1Eike Rathke1-13/+46
Limit RATE to roots > -1.0, which is what also Excel and now Gnumeric do. If the Newton goal seek fails for the default guess value 0.1 try other values. This now also calculates the few remaining error cases of i#15090 attachment https://issues.apache.org/ooo/attachment.cgi?id=6528 correctly. Change-Id: Ic62cc807626b4715035c3076f58f303b9020db5a (cherry picked from commit 9ee7be4efb494351c4be096ffa04cdbd85cdc3d4)
2013-06-14ditch dangling reference to com.sun.star.comp.oox.xls.FormulaParserEike Rathke1-3/+0
Change-Id: I185a9854ca2ce43f1f880f5ea2bb3b68a1757ca9 (cherry picked from commit f2fd2a66ee827024b31a310d67804cb7cb18d2da)
2013-06-09Remove remnants of help agentCaolán McNamara1-5/+1
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b but gobs of code (and UI) still existed to collect the help id and give it to the missing help agent with various UI visible options and buttons to control the help agent which isn't there Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
2013-06-07share spPaperSizeTable ( and associated access code ) in msfilterNoel Power2-210/+12
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 (cherry picked from commit c76974576aa5eec6b86af39eaaadc8e382f214bd)
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-07another attempt at followon patch for fdo#38385 attempt to detect rtlNoel Power2-4/+21
First attempt confused things ( and was error prone ) by introducing maStart and maEnd BorderLine members to BorderLine model. Better to just leave maLeft & maRight and attempt to swap if RTL. Of course tbh this is somewhat of an optimistic attempt to swap start and end borders if needed. I am not at all sure though that I am dectecting the RTL-ness of a cell in the correct way. There are some comments in the code in any case that reflect my uncertainty ( hopefully they will be of use if/when some tweak is needed ) Change-Id: Ie953d73067630f0041fa037c6120cdbda683e796 (cherry picked from commit 7ef1a64bdb8f9afaeb93e7a88219650381e0d323)
2013-06-07Revert "follow patch for fdo#38385 attempt to detect rtl"Noel Power2-39/+6
This reverts commit d2cccde341af33b72378f3e7b0e8dd9ff1cd5e65.
2013-06-07only reset marked area when using find/replace all, fdo#53106Markus Mohrhard1-5/+8
Change-Id: I151db5db7bcdf5295e1f67423de8926250ae8ea3
2013-06-07don't hide cell content behind pivot table buttons, fdo#60877Markus Mohrhard1-1/+1
Change-Id: I1508aafcc7046c576a4d6de87900dc66f32b2f97
2013-06-05Fixes for new-style service com.sun.star.sheet.GlobalSheetSettingsStephan Bergmann1-1/+4
...changed from old-style with a39c96af53ec3364de70012ebfa7c09c4a55a7c3 "fdo#46808, Convert sheet::GlobalSheetSettings service to new style." The XPropertySet can be treated as an implementation detail (but kept in the implementation for backwards compatibility). Also, this should arguably be a singleton rather than a service, like some related services (e.g., com.sun.star.sheet.RecentFunctions), too. Change-Id: Ibfe3254188aff91a08b39cbc295fb610ae0dfa5f (cherry picked from commit 33a4d7624fd30454306e659d24665fa251fc9eff)
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-06-05some systems seem to fail with the range geometry tests. Increase toleranceNoel Power1-0/+0
not really sure what is going on here, there is at least a reported difference between 32 & 64 systems ( 64 bit passes 32 bit doesn't ) and imported size and pos of Range is not expected. Testing for hard position and sizes in a unit test like this is not ideal ( this test should be rewritten ) because the imported geometry is dependant on available fonts ( and font selection ) We need a relative based test ( against known imported positions ) rather than against some hardcoded value. This patch just attempts to get us over the hump for that moment by increasing the fudge/tolerence we use. Change-Id: Id7c6cc0857ff9c79ea506904b4585fd746f7e8be
2013-06-04MPLv2 subset improvements.Michael Meeks6-4/+17
2013-06-04some systems seem to fail with the rangessize test increase toleranceNoel Power1-0/+0
not really sure what is going on here, there is at least a reported difference between 32 & 64 systems ( 64 bit passes 32 bit doesn't ) and imported size and pos of Range is not expected. Testing for hard position and sizes in a unit test like this is not ideal ( this test should be rewritten ) because the imported geometry is dependant on available fonts ( and font selection ) We need a relative based test ( against known imported positions ) rather than against some hardcoded value. This patch just attempts to get us over the hump for that moment Change-Id: I55ceb30b5bab7f8eed757825b39718b751ea1812
2013-06-04use better values for OOXML border width, fdo#56960Tim Richardson1-4/+4
Change-Id: Id735c7ef89411581f7bc8d7f10b3edfe8aba0c72
2013-06-04remove inherited number formats, fdo#60215Markus Mohrhard30-378/+357
Change-Id: Ia8199bdc63ee732bada51687df195c9ab9cae9aa Reviewed-on: https://gerrit.libreoffice.org/4147 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-06-03restore old codeMarkus Mohrhard1-2/+2
There is some strange handling for row 0 in the calc core code. Without a very deep inspection I can't decide whether the test or my change is the problem but for now we can live with the old behavior. Change-Id: I69615349f5b46856aba36dada235a49c84eb03af
2013-06-03And this one has the same potential to crashFridrich Štrba1-1/+1
Change-Id: Icd2b2f2c11b7e86a10cae887b96f96a6fbe8a44e (cherry picked from commit cacc516693b879c08bd3b1963eeed9c38928615f)