summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2012-07-31warning: statement has no effectMichael Stahl1-2/+2
Change-Id: I06a26ebd1703e1d753e35daeed610671fc451a8f (cherry picked from commit 114ccd28e09f0fd13c8ff4e61e82e3f13198febf) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-07-31added back a missing elseEike Rathke1-1/+2
c75e2ed27d5da71891ed7a148ff9603c58eaa58e (merge of OOo filter rework) omitted an else of a condition. Change-Id: I6f342a48938aaf4090fc738afc6cf551a083b4fc (cherry picked from commit b06d679eb3d8190a470f7640740571f388106605) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-07-31Lotus WK: fix warningsEike Rathke [er]14-477/+553
2012-07-31StarCalc 1.0: fix memory leaksEike Rathke [er]2-90/+136
2012-07-31QuattroPro warningsEike Rathke [er]2-8/+22
2012-07-15fdo#47947 Data Form dialog layout fixAndras Timar3-31/+35
Change-Id: Ifa1689ff9be7afa14f5694825c506f7c8c3eff43 (cherry picked from commit c61e3c941d46fe1ae6066f31e01786100e39da56) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-07-15prevent double delete in calc's html parser, fdo#52107Markus Mohrhard1-0/+1
Change-Id: I0a203a39697d3b12304e4b9dc99714cd7b2a008c (cherry picked from commit 0d21d9ddbe0561f45419ae4fc376c312565b413b) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-07-13fdo#35953 resize controls on Solver dialog of CalcAndras Timar1-42/+42
Change-Id: Ia1130d241f6c01079449e670e26054bbc1a798ea (cherry picked from commit 7444b258df32638876257bab588f8d3513602781) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-07-09resolved rhbz#838248 init filter criteria stringEike Rathke1-1/+25
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 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-07-03check for invalid tab number, fdo#51667Markus Mohrhard1-2/+2
Change-Id: I9aebfafb68850130088658535f289f66d49f1741 Signed-off-by: Eike Rathke <erack@redhat.com>
2012-07-03resolved fdo#51601 do not attempt to compile running formula cellEike Rathke1-7/+4
2fb377c19f8ae38e7ec649af1343bbd64b70a16b introduced compilation of a formula cell while it is interpreted, ignoring the comment just above why that does NOT work ... This removes the portion that is responsible for the crash as a quick fix, a more sophisticated solution might be needed to make the original intention work. Signed-off-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Noel Power <nopower@suse.com> Signed-off-by: Muthu Subramanian K <sumuthu@suse.com> (cherry picked from commit be67632e9eb298af8a5582c0e06cad9218fa5b71)
2012-06-26Revert "export all style information to xls/xlsx, fdo#46738"Petr Mladek9-24/+10
It caused huge slow down and even errors when exporting XLS (fdo#49582). The original problem was less serious because it was old regression from LO-3.3. There is not easy fix. => reverting is the best solution according to Markus. This reverts commit 6c6a4ed070acc0b106e951864fa5d20927f5c1e0. Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-06-21fdo#51249 Disable stream copy when saving a file with 'Changes Record' activePierre-Eric Pelloux-Prayer1-2/+3
Change-Id: Id06caa5d0552e4f3695244de4f6096f80885a783 (cherry picked from commit d212cbd96e648c10d875161b8ab1fc67ae509bd7) Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-06-11fix excel row height export problems ( I hope ) fdo#50304Noel Power1-15/+38
Change-Id: I43ddb32ecba36107f5973fa5dcf2499cd1330668 Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-11better import xlsx heightsNoel Power1-4/+0
don't call UpdateAllRowHeights when IsAdjustHeightEnabled property is set an d additionally set manual heights for *all* imported row heights ( same afaics x ls import does ) - certainly this improves import ( also see documents attached in i#94028, i#93609 ) Change-Id: I19d46753cf692bc9768512a2267e03a7a75a0f6e Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-11Revert "Fixed #i116848# Shapes are at wrong position"Fridrich Štrba3-3/+3
This reverts commit 31012ab9d7035f942486c87ecc1a79b4d6579975. Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-11Revert "calc69: #i118068# handle all-hidden case in ScDrawUtil::CalcScale"Eike Rathke1-12/+0
This reverts commit 8a838b9fbf46ece9680824cd3a044ab7338bf306. Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-05-18ensure that number of tabs is correctly set in ScViewData, fdo#45987Markus Mohrhard1-0/+3
Change-Id: Ia77ea939f6ce9301afeabe1d1679998ce34b397e Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-05-18WaE: is abstract but has non-virtual destructorTor Lillqvist1-0/+1
(cherry picked from commit 470036efe4db4e9773825c1277a659f3b50c5b48) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-05-18WaE: has virtual functions but non-virtual destructorTor Lillqvist1-0/+1
(cherry picked from commit 351e3d492778d3bb0f9a1fd758674c58c50c402d) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-05-18WaE: abstract but has non-virtual destructorTor Lillqvist1-0/+1
(cherry picked from commit 99a579d00def43c6d8e30fd8da2644aa85bcbbc4) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-05-18WaE: converting ‘false’ to pointer typeDavid Tardon1-1/+1
(cherry picked from commit 68fa70c3000a624a4235d933d7ba8cbc993bb931) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-05-18WaE: converting ‘false’ to pointer typeDavid Tardon1-1/+1
(cherry picked from commit cf780fa48d432216ad717003547a29c157051905) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-05-11resolved fdo#49639 import .xls with HTML as such, not CSVEike Rathke1-2/+4
This restores the previous behavior for this content type, regression introduced with the fix for fdo#40021 c2a26cf9dab637c292e431d5cdf7bab5bbda571d Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-05-11fix initial height of multiline input windowNoel Power2-7/+13
There is a hardcoded preferred height for the input window that was getting picked up becuase the result of GetTextHeight was just '1' ( due to no font being set up ) We shouldn't use a hardcoded value, we should always use the proper text height e.g. the result of a successfull call to GetTextHeight() ( the patch makes sure we get a decent result from this call ) (cherry picked from commit 7580fff93292d08bc6f42792f256b832f5c4bad6) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-05-08resolved rhbz#819118 catch exception from VBA lib containerEike Rathke1-6/+12
If in an imported Excel document with VBA a sheet to be copied does not have a document object in the VBAProject container (whyever that may be the case) the getByName() rightly throws a NoSuchElement exception. Catch that. Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-05-07string result of formula is also valid, fdo#49052Markus Mohrhard1-1/+9
Change-Id: I I0beb439381a0d01b27d219b148c47839055b6f62 (cherry picked from commit c0ca1ef1990226cd5d7af6c1f76872e9ad8711f2) Signed-off-by: Eike Rathke <erack@redhat.com> Backported to use the older void ScFormulaCell::GetString(String&)
2012-04-20resolved fdo#48856 update sheet-local named expressions correctlyEike Rathke5-43/+42
This combines from master: 44481da569df85aa91455fdc2892a4e0c5818e6c Author: Markus Mohrhard <markus.mohrhard@googlemail.com> update relative local range names, fdo#48856 Signed-off-by: Eike Rathke <erack@redhat.com> 409f11ae387c859dcf9275c08093649a676e1f9e Author: Eike Rathke <erack@redhat.com> fdo#48856 update sheet-local named expressions correctly * Named expression must be updated before any formulas that would access them. * Handle all ocName tokens differentiating between global and sheet-local names. Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-04-18fdo#44861 make "Replace All" work with REsDavid Tardon1-2/+2
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-04-17resolved rhbz#813280 the current document is not always the first in listEike Rathke2-10/+19
i.e. if more than one document open and dialog invoked on any but the first document. Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-04-17fdo#46983 Macros: Macro to set filter in Calc does not work with .StringValueTakeshi Abe1-1/+1
this fixed a regression slipped into 8808d77f199720be596a09084fbc36569ed2f1f1 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-04-17fdo#48431: More reliable way to check for RTL text.Kohei Yoshida2-26/+35
This is probably more reliable way to fix fdo#32530 such that it won't cause the regression in rendering Thai texts as reported in fdo#48431. Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-04-05resolved fdo#40021 CSV import got confused by erroneous HTML detectionEike Rathke1-15/+24
HTMLParser::IsHTMLFormat() is convinced that anything containing a valid HTML tag would indeed be HTML, which is a rather idiotic assumption for us in the case of "foo <br> bar" with a preselected CSV filter. So keep this detection to the end. The original order where preselected CSV had precedence over others was changed with 9f1cc58c20ee365ff2a158ad69c1091e6ad11ac6 (cherry picked from commit a5eadc6aaafec92df23c57e258882a2c98ece0ad) Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com> Conflicts: sc/source/ui/unoobj/scdetect.cxx
2012-04-02use same border width information for xls import and export, fdo#44742Markus Mohrhard3-26/+29
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-04-02this hack in no longer needed, fdo#44337Markus Mohrhard1-4/+1
excel import now uses the stored row height and we should go back to a symetric default margin Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-27export all style information to xls/xlsx, fdo#46738Markus Mohrhard9-10/+24
Fixes that if more than 84 empty but formatted rows at the end of a file have been found the export skipped those rows. Signed-off-by: Noel Power <noel.power@novell.com>
2012-03-26prevent update during init in new autofilter dlg, fdo#45679Markus Mohrhard2-0/+4
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-03-23cache calls to mdds:mixed_type_matrix::size, related fdo#47299Markus Mohrhard1-17/+16
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-23increase nCol before next iteratation to prevent loop, fdo#46220Markus Mohrhard1-0/+4
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-22Make sure one base class does not use another one after destructionStephan Bergmann1-3/+6
The original code lead to invoking a pure virtual function in Calc when doing Ctrl-F2, ESC. Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-03-20check for negative sheet number here too, fdo#47503Markus Mohrhard1-1/+1
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-19only shrink to used area in text export, fdo#46230, related n#677811Markus Mohrhard2-9/+14
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-19add all imported properties to ScDBData, fdo#40426Markus Mohrhard2-3/+9
(cherry picked from commit ed88b144ce24b9a733d4a9ab6614307c96537baa) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19also shrink used area for HTML in some cases, fdo#46230, n#677811Markus Mohrhard1-1/+14
Hopefully this will allow pasting to external applications with whole column/row selected while not affecting calc itself. (cherry picked from commit 0ee518863337fba9bce019e05e24f527617a4321) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-17i#84393 Fix title field in header, footerSzabolcs Dezsi3-3/+19
According to help Title should be the Title property of the document, not the file name without extension. If that property is missing, we fall back to file name without extension. Signed-off-by: Andras Timar <atimar@suse.com>
2012-03-16fix to update inputbar when setting a range for a formula fdo#46809Noel Power1-1/+1
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-16don't paste content if user cancels html import, fdo#47393Markus Mohrhard1-1/+7
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-16update the relatice refs after the absolute refs, fdo#47285Markus Mohrhard1-3/+3
The algoithm for updating absolute refs needs to calculate the old position based on the information before any updates to the RefData Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-16ScNameMgrTable takes a reference, fdo#47307Markus Mohrhard2-3/+3
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-16Resolves: fdo#46728 reference count the overlay managersCaolán McNamara2-29/+27
Signed-off-by: Michael Meeks <michael.meeks@suse.com>