summaryrefslogtreecommitdiff
path: root/sc/source/filter
AgeCommit message (Collapse)AuthorFilesLines
2013-01-24import inherited number formats with cached values, fdo#59724Markus Mohrhard1-4/+10
Change-Id: I698f60daf4e591b57d8d99c130d2e524dc10c306
2013-01-22warning C4099: type name first seen using 'struct' now seen using 'class'Michael Stahl1-1/+1
Change-Id: I19cc56b0ab48435f1e20e03f23ed1bb0d984871d
2013-01-22blind fix for wae on macosNoel Power1-0/+1
Change-Id: Ib14021a2253fffd4badbf13db1f49a2309e4bb14
2013-01-22lose uno api for font related xlsx importNoel Power6-27/+141
also fixes a bug where the font format of the first portion of a rich text string gets to be set as the default cell style for that cell Change-Id: Ib2e85e6f2a971940b94100c2bf45d85d8afa2869
2013-01-21it's a column count, so MAXCOLCOUNT instead of MAXCOLEike Rathke1-2/+2
Number of repeated column styles were limited to MAXCOL effectively being MAXCOLCOUNT-1 and in an --enable-dbgutil build yielded lots of warnings when importing a document that has a style applied to all including the last column. For example see attachment of fdo#59583 https://bugs.freedesktop.org/attachment.cgi?id=73282 or fdo#59325 https://bugs.freedesktop.org/attachment.cgi?id=73014 Change-Id: I74dbbe3065a46015b0b7c8f61d58690a1c08c855
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac10-15/+15
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-20add missing data bar axis import, fdo#59578Markus Mohrhard1-0/+8
Change-Id: Id035741b2372c76f9afe54f59f2203c5edfbb0ae
2013-01-17Const correct-ness in one place...Kohei Yoshida1-1/+1
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-17Proper construction of the impl class, using initializer.Kohei Yoshida1-0/+1
And make sure the whole thing still builds. Change-Id: I49d3c01d288df800e3261ce7d4f07080be2a4098
2013-01-15also support showing the icons in reverse orderMarkus Mohrhard2-0/+2
Change-Id: I919895589025ea360448b742e5ec6d6de4ca964c
2013-01-15support to hide the value in icon sets also for OOXMLMarkus Mohrhard2-0/+2
Change-Id: I506b9e14166576ceced880e5032d492e83b7a52d
2013-01-15support to hide the cell value when using icon setsMarkus Mohrhard4-2/+17
Change-Id: I1ed002758a3c073f950cec2b2222cfc0d3684df7
2013-01-15fdo#46808, Adapt chart2::data::LabeledDataSequence UNO service to new styleNoel Grandin2-2/+3
Change-Id: I98bfbc8e143b9ad9d486f97380186fde9b4423ec
2013-01-15for error value in matrix force recalc, fdo#59293Markus Mohrhard1-6/+28
Change-Id: I202526bb3cf6e0f6c55913b44a15694e0794e273
2013-01-12fdo#59292 OOXML TDIST is ODF LEGACY.TDISTEike Rathke1-1/+1
Commit 3deb83d7a74a0fe026791e7a336ac6ffad9c0026 correctly renamed ODF TDIST to LEGACY.TDIST but did not adapt the OOXML filter mapping. Change-Id: I107859722ac0e9f7ff9725f1d55080340973d86e
2013-01-12OpCodeProviderImpl::initFuncOpCode: warn if there is no opcode mappingEike Rathke1-0/+4
During loading an xlsx document in an --enable-dbgutil build OpCodeProviderImpl::OpCodeProviderImpl() spits out a warning "OpCodeProviderImpl::OpCodeProviderImpl - opcodes not initialized" OpCodeProviderImpl::initFuncOpCode() now gives a clue which. Change-Id: Ia0bc53ce5a590e6904c660cd725d907efa5a731d
2013-01-12fdo#56124 IFERROR IFNA Excel import/exportEike Rathke2-4/+20
Change-Id: I796e99f8893cb48fa2351f7799bb247a3488ce69
2013-01-11Let's remove this underused bAlive flag....Kohei Yoshida2-2/+0
It's no longer that useful in today's pivot table design. Change-Id: I665a7707126793dfde17a2221ba563d22a59aad1
2013-01-11WaE: unused parametersTor Lillqvist1-3/+3
Change-Id: I8457b72f0f844fe9fb4bf5b670248224e7d60911
2013-01-11support saving/loading hyperlink cell attribute in extended odfNoel Power3-1/+113
style:table-cell-properties has new child element style:hyperlink which will store the hyperlink info in attributes xlink:href & xlink:type Change-Id: I184310d124c4242cd62fdabb45f9773094cfc229
2013-01-10handle shapes anchored to the wrong sheet without crash, fdo#58858Markus Mohrhard1-0/+3
Change-Id: I00d127dbb6151e3100be931079cbf8907ac69ddd
2013-01-09fdo#58539: Correctly set cached matrix formula result.Kohei Yoshida3-9/+40
During the import, a cached matrix value only has an empty matrix of correct geometry, plus the token type of the top-left cell. The rest of the elements are imported as hybrid values. For now, this seems to do the trick. In the future we may want to change it to fully populate the matrix cache value during the import, and skip setting the hybrid values for the non-top-left elements. This commit also make several other trivial changes: * Mark pRawToken mutable so that we can mark those IsFoo() methods const. * Move the ScCompiler instance from static instance to member of ScXMLImport. Since we don't need the instance to persist once the import is over, this is more appropriate. Change-Id: I1abde03c0fcd91b02ef4dbf8b5526f7965eaf19c
2013-01-09turn some OSL_ENSURE into SAL_WARN_IF to avoid warnings about unused variablesMatúš Kukan1-16/+16
And one OSL_ASSERT too. Change-Id: I51f0083b9b9336e80c3b6a898c295173ad48f77c Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-01-08Let's not have two variants of this getter. One is enough.Kohei Yoshida3-6/+4
And let's stick with the one that returns the data pointer. Change-Id: I931be0d73adcf6f3888d05ef58bc0f905f5a6958
2013-01-08DynamicErrorInfo objects must be allocated on the heapStephan Bergmann1-2/+2
cf. "delete pInfo;" in ErrorHandler::HandleError_Impl (tools/source/ref/errinf.cxx). This reverts the remaining (non UNO related) changes from e48d47469508dee55ae6abcb3988222b5612e1e9 "fix some memory leaks in sc" and 5ea7e74c29f7279b6c31d38185ace576f68f4fb2 "fix some memory leaks in sd" that had not already been reverted. Whether any of these instantiations are really leaked (i.e., never deleted again in calls to ErrorHandler::HandleError_Impl) is unclear to me, but that would need to be fixed in a different way. Change-Id: I6d9e7a2f6fce6d6a4d5d390c09a5a12f593028a6
2013-01-08support new hyperlink cell attributeNoel Power2-15/+30
Allows a hyperlink attribute to be set for a cell, allows for import of say a hyperlink associated with a formula cell. Since this patch does not add any file format support it is not possible to save such an imported hyperlink to ods. Note: such a hyperlink would not have been imported in the past so this should not be an issue Change-Id: Ieb234bb6e98e4a2630b596a90972a75be12a92d4
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin3-2/+3
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-06fix some memory leaks in scMarkus Mohrhard1-2/+2
Change-Id: I1e3b9a55561f941346cb9f553f960dc2bafbb1b6
2013-01-05don't set formula cells with possible error val clean, fdo#59039Markus Mohrhard1-2/+8
Change-Id: Ide96d7f052ee4c8f56b33629ae48c6425a8ca19f
2013-01-05Revert "workaround problems with row import, fdo#58539"Markus Mohrhard2-9/+0
This reverts commit 119483d9b0af6b4830733161fcf56cea10ed01d7.
2013-01-04Make LO buildable again after the GraphicFilter move.Jan Holesovsky3-3/+3
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04don't forget the dependency tree during OOXML import, fdo#58863Markus Mohrhard1-1/+2
Change-Id: I8863faddd1bca0b55764d09c4ef9f959264b53ae
2013-01-04don't forget the dependency tree during formula importMarkus Mohrhard1-3/+3
Change-Id: I0a9137e4f72477c0cffde6056d8952aa08e13f35
2013-01-04correct indentationMarkus Mohrhard2-8/+7
Change-Id: I9b57ac13a8d508c260666535ee60783dee889508
2013-01-04put the function in the anonymous namespaceMarkus Mohrhard1-2/+3
Change-Id: I8ee07fb9d6d9144ec981c2fabc17b4005ecc87bb
2013-01-04OSL_ENSURE -> SAL_WARN_IF in xmlcelli.cxxMarkus Mohrhard1-1/+1
Change-Id: Ia60e07dca17cbc728385c411f67bd3d9041b15ee
2013-01-04don't overflow SCCOL during repeated cell import, fdo#58539Markus Mohrhard1-1/+2
This is the fix for the third and last crash with gnome#627150 Change-Id: Iaf8611500fdb485017814b35789332c6c89530c0
2013-01-04add some more safety checks for row and column import from ODSMarkus Mohrhard3-1/+15
Change-Id: Ic714c65cfe93198c462ba55752223f4e60e5aad9
2013-01-04workaround problems with row import, fdo#58539Markus Mohrhard2-0/+9
This fixes another crash with gnome#627150 Change-Id: Ibd259c77f8df04b52c9fee0699e0edd1ad30e94e
2013-01-04initialize it irectly in the constructorMarkus Mohrhard1-2/+2
Change-Id: If3ad494073d3fb491a0f8e981a28db5bbb917661
2013-01-03make sure the column index is valid, fdo#58539Markus Mohrhard1-2/+2
This is the first part of the fix for gnome#627150 Change-Id: I02cd8c553dd6b9a026c0ea38d77c6831fef6498e
2013-01-03fdo#58539: Check for mxValueLink being NULL before dereferencing.Kohei Yoshida1-1/+1
Or else Calc would crash while loading the xls document from gnome519788. As an aside, this xls document appears to be corrupt. Trying to open it in Excel (XP and 2007) causes Excel to offer to repair it, while fails in both versions. Excel XP is somehow able to open it with some content preserved. No such luck with Excel 2007. Change-Id: I04616a4c926862461a2efdd99ccabe36122d6825
2013-01-02fdo#58539: Properly initialize a member pointer value.Kohei Yoshida1-0/+1
Or else it would crash when loading the doc from fdo#55174. Change-Id: I21eb77f97dcab467c185dacaf9f00753bb4fc18c
2013-01-03don't overflow column number during import, fdo#58539Markus Mohrhard2-1/+3
This should fix the crash with kde#245919 Change-Id: I7c3af01e27233d2f94d5585247c59e7d5b6ea8ca
2013-01-01remove use of #pragma optimizeLuboš Luňák1-4/+0
All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
2012-12-30Some cppcheck cleaning in scJulien Nabet2-2/+2
Change-Id: I620a9329d50397a7ea498dc4703978026ad337ae
2012-12-29callcatcher: update unused code listCaolán McNamara2-69/+0
Change-Id: I47467b53705f8059a829126a598e29a1105df13c
2012-12-22storing the chart doc while loading is a bad idea, fdo#57530Markus Mohrhard1-1/+0
There seems to be no obvious reason why we would need to store the chart doc during xls import. The chart test docs don't show any difference without this call. This speeds up xls chart import quite a bit. With the test doc from the bug report I'm able to open the doc nearly instantly now. Change-Id: I0b80462b9d1c405ab1d4cf456e12ebfe4428db98
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin1-2/+2
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-20Forgot to add checkbox to the dialog & saving the option when checked.Kohei Yoshida1-2/+2
Also remove a printf statement. Change-Id: I29c89a19f0c75b21f912d12903d1fceea535a6c7