summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xecontent.cxx
AgeCommit message (Collapse)AuthorFilesLines
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-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-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-17/+14
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-23fix above/below equal average ods import/exportMarkus Mohrhard1-1/+7
Change-Id: I1c305c67772b46cede6b4da3e79578f2f1a8ee89
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-2/+2
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-14fdo#38838: Replaced some (Uni)String to OUString in core/scelixir1-2/+3
Change-Id: I4fa27b933c5b3cf2645b139bf6349b90f613feab Reviewed-on: https://gerrit.libreoffice.org/2735 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir1-2/+2
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-17coverity: fix memory leakMarkus Mohrhard1-1/+1
Change-Id: Ice50e9b84a6666b4ce0d02072c5fb40ed313692b
2013-01-25resolved fdo#59819 write correct OOXML function name mappingEike Rathke1-6/+12
OOXML export so far used the internal English PODF symbols that worked only by accident. As soon as function names or operators differed it was plain wrong. Use the existing OOXML mapping instead that also the import uses. For example, in OOXML the IFNA function is stored as _xlfn.IFNA, Excel 2013 could not read the IFNA that we wrote. Also, do not write a <definedName> element in OOXML for new functions that in the binary format are written as macro calls and need a defined name entry. Change-Id: Ib6de1f8b65d0634c2d78229ddb4922778a33923b
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac1-1/+1
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-15also support showing the icons in reverse orderMarkus Mohrhard1-0/+1
Change-Id: I919895589025ea360448b742e5ec6d6de4ca964c
2013-01-15support to hide the value in icon sets also for OOXMLMarkus Mohrhard1-0/+1
Change-Id: I506b9e14166576ceced880e5032d492e83b7a52d
2012-12-04re-base on ALv2 code. Includes:Michael Meeks1-23/+14
Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
2012-11-28workaround Excel bug when importing OOXML documentsMarkus Mohrhard1-11/+1
Change-Id: Ifc3b56d081b1318a0e201cb6cd7fd85ce2dc2534
2012-11-26no need for this copyMarkus Mohrhard1-1/+1
Change-Id: I0c64a411926ea0de04d214acb993337a695f6acb
2012-11-26implement OOXML export for date cond formatsMarkus Mohrhard1-0/+65
Change-Id: I0485edfb6571ff9db9e52b54099a24c92f566dc9
2012-11-05fix several bugs around cond format export to ooxmlMarkus Mohrhard1-13/+52
Change-Id: I4d9c8ea0cc778f5620136548324054b625938887
2012-11-04add (no) error cond format export to ooxmlMarkus Mohrhard1-0/+4
Change-Id: I11537a22f72130d796887581611449c849ab0876
2012-11-03improve cond format export to ooxmlMarkus Mohrhard1-0/+34
Change-Id: Ie89d5595c528b546b5de870421bf7d27a928c739
2012-11-02fix unique/duplicate cond format export to ooxmlMarkus Mohrhard1-0/+4
Change-Id: Ie1ac8d8df351d149851cff8b7344335b30d46b83
2012-11-02start exporting the new cond formats to ooxmlMarkus Mohrhard1-3/+15
Change-Id: I8dbc07719263b17f2066c2dfd6e0bfef70630d53
2012-10-30export icon set data into OOXMLMarkus Mohrhard1-0/+59
missing are still the Excel2010 extLst entries Change-Id: Ic0c728613b1ee48482cbd9cef2aeccd0e0f25f72
2012-10-28UniString->rtl::OUStringBufferCaolán McNamara1-1/+1
Change-Id: I9938d7c4ab5594baeb10f405f0aa0964ef84d6c5
2012-10-10rename autoMin and autoMax to Automatic, disable it for color scalesMarkus Mohrhard1-10/+12
Change-Id: I1f92acfc5603d965b1bc84e7968da56901385eac
2012-10-06get rid of CREATE_OUSTRINGDavid Tardon1-6/+6
Change-Id: I67cd3213c7c92a4a782906a7250c176efeb01633
2012-10-06adpat ScTable methods to overlapping conditional formatsMarkus Mohrhard1-2/+1
Change-Id: I2f63ac7884f0897aa47fd4ee35b8af06553c311c
2012-09-30create guids that excel acceptsMarkus Mohrhard1-1/+9
Change-Id: I69868ad65b6eb6405d5723cb4d65d5e30c72e3ae
2012-09-11-Werror,-Wunused-private-field (various sc)Stephan Bergmann1-1/+0
Change-Id: Ia30a2bb6b1f36304a3c420db1d28d177d429a19b
2012-08-28hopefully a working version for databar ext guid creationMarkus Mohrhard1-2/+25
Change-Id: Ide7261955168dc13b47b29705e22eb2c3154d24e
2012-08-23support export of databar information to extlst for excel2010Markus Mohrhard1-5/+29
Change-Id: I1aaca6676bdbba1e8f365081e3f427fb67fd873e
2012-08-14remove some auto_ptr from xecontentMarkus Mohrhard1-6/+2
Change-Id: Idef77ba4ce419aec26476ed027ac1a3c3fc41eef
2012-08-14implement color scale and data bar export to xlsxMarkus Mohrhard1-16/+57
Only 2007 versions of DataBars supported yet Change-Id: Id1d10aae2bb5221246740defa3d4a97a1cd7c908
2012-08-13use an enum instead of several flagsMarkus Mohrhard1-9/+14
Change-Id: I93c7483c6ba91671515025cc3b365a68c45a395c
2012-07-09some UniString->rtl::OUStringCaolán McNamara1-1/+1
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-06-13reduce use of UniString ctor from null-terminated unicodearrayCaolán McNamara1-1/+1
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-11remove empty conditions for color format export to excelMarkus Mohrhard1-4/+0
Change-Id: I8b35869f3e4455bb8cb16d67bd9636462a24e26b
2012-06-11integrate color formats into conditional formatsMarkus Mohrhard1-12/+4
Change-Id: I3c235f6dd0b69d3fc560910fcc890d2c80c995c0
2012-06-11prepare cond format code for merge with color formatsMarkus Mohrhard1-3/+6
Change-Id: Id49eb1da20b75a9ab83d20c29ad8e976d46b9423
2012-05-24make color formats and conditional formats a sheet propertyMarkus Mohrhard1-9/+5
TODO: - UNO needs some love to accept this change - we need a new uno interface for conditional formats in 4.0 - copy/paste - undo/redo Change-Id: I2c8a233888a95c7298dfb151d1c12b6a6a58520d
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe1-1/+0
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-18restructure colorscale code a bit to allow adding databarsMarkus Mohrhard1-4/+7
This is just a first step. In a second step we need another layer to allow color scales and databars applied to the same range and finally merge them with normal conditional formatting. Change-Id: I0452ed12dd9b2d5395cf005d75a902fbb7a984ad
2012-05-15export color scales only to the correct sheetMarkus Mohrhard1-2/+6
Change-Id: I70c4d213fdd91f7032d637e93410add1f8266a3e
2012-05-15missing break (I suppose)Ivan Timofeev1-0/+1
Change-Id: I504cbe271ef4475963b8277a1ab7dcb09b0dda38
2012-05-13correctly export formulas in conditional formats to xlsxMarkus Mohrhard1-1/+6
Change-Id: I534fb55b735f47124cd9820ba0a986315e263112
2012-05-13save unique value conditional format to xlsxMarkus Mohrhard1-0/+2
Change-Id: Id126500d499e751c351d6ed499af96136039e1f1
2012-05-13support export of duplicate values conditional format to xlsxMarkus Mohrhard1-0/+2
Change-Id: I35266eabcba5e063bf296fa1d4b356f247458ea1
2012-05-13export color scales to xlsxMarkus Mohrhard1-0/+133
Change-Id: I251acbb66a4033f69515c1b078ed5a28d0f0cd76
2012-05-10WaE: unsafe mix of bool and sal_BoolCaolán McNamara1-10/+19
Change-Id: Ie2fcc1a5404c62dc15b98f99f89631795df91b01
2012-05-09DECL_PTRARR_SORT to ptr_set in conditio.[ch]xxMarkus Mohrhard1-11/+5
Change-Id: I I7de285ae784ae144a7d3190d4f99c1b38694da28
2012-04-20allow more complex conditional formats being exported to xlsxMarkus Mohrhard1-4/+11