summaryrefslogtreecommitdiff
path: root/sc/inc
AgeCommit message (Collapse)AuthorFilesLines
2011-09-07don't extend the merged area by one for shadowsMarkus Mohrhard4-6/+6
Signed-off-by: Eike Rathke <erack@erack.de>
2011-09-06crash when modifing a named rangeEike Rathke1-0/+7
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2011-09-06Speed up range name lookup by index.Kohei Yoshida1-0/+9
This should speed up formula calculations considerably during xls import since shared formulas are also stored in ScRangeName and they are looked up by index. (bnc#715104) Signed-off-by: Eike Rathke <erack@erack.de>
2011-08-30use boost::intrusive_ptr::get() instead of operator->()Eike Rathke1-1/+1
Old intrusive pointer in operator->() simply returned a NULL pointer if so, boost::intrusive_ptr asserts on that. If explicitly used to obtain the pointer use get() instead. Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
2011-08-10Correctly import from Excel charts with multiple ranges.Kohei Yoshida1-1/+1
This was "fixed" in i#107275, but the fix only worked in locales where the range/argument separator was ';' (e.g. German locale). This is the correct fix that works in all locales regardless of the separator. Signed-off-by: Noel Power <noel.power@novell.com>
2011-07-19fix for fdo#39333: database ranges don't work in formulasMarkus Mohrhard1-1/+1
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
2011-07-15fdo#37767: Fix broken refresh() from UNO API (and Basic).Kohei Yoshida1-0/+2
We now need to clear the cache before running DataPilotUpdate() in order to re-populate the cache from the source data. Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2011-05-20Let's not change the signature of UNO call & prefer static_cast.Kohei Yoshida1-1/+1
2011-05-13Properly initialize and copy fValKohei Yoshida1-20/+11
This fixes the empty value check during unit test for the debug build on (32-bit) Windows. Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
2011-05-09use sheet local db data in ScVbaRange::AutofilterMarkus Mohrhard1-0/+1
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
2011-05-09add implementation for new uno interface XUnnamedDatabaseRangeMarkus Mohrhard1-0/+30
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
2011-05-06Explicitly specify less function object for map, to get it to build with MSVC.Kohei Yoshida1-1/+6
2011-05-03fdo#36051: Eliminated the hang due to removal of autofill undo object.Kohei Yoshida3-5/+0
An artifact of the old code, which appears to do nothing meaningful today was performing an incredibly slow operation upon destruction of the autofill undo object. Removed it, and also removed several other methods and data members that were used only in that removed code.
2011-05-03fdo#36771: Treat filter by "filter" and filter by "page" separate.Kohei Yoshida1-3/+9
The new datapilot cache implementation mixed these two up. I guess it's best to have two separate flags for these.
2011-05-02Let's not friend a class just because of one private method.Kohei Yoshida1-2/+1
2011-05-02Pass const reference.Kohei Yoshida1-2/+2
2011-04-29Removed unnecessary virtual-ness from the destructor.Kohei Yoshida1-1/+1
2011-04-29A bit of cleanups & annotation of data members.Kohei Yoshida1-7/+28
I'm trying to understand what ScDPCache does exactly.
2011-04-29Manage data caches for named range data source separately.Kohei Yoshida1-0/+16
Without this, updating the named range and refreshing would fail to remove the old cache, which is no longer referenced. Very bad for memory footprint.
2011-04-28Centrally manage cached grid data for data pilot tables.Kohei Yoshida6-18/+65
This prevents cached data from getting re-generated everytime ScDPObject gets copied, which happens quite often. Without this, the performance of datapilot would really really suffer.
2011-04-26killed sal_Bool and tabs.Kohei Yoshida1-5/+5
2011-04-26make excel binary import use anonymous db dataMarkus Mohrhard1-1/+1
2011-04-26make VbaWorksheet Autofilter work with sheet local DBDataMarkus Mohrhard1-2/+2
2011-04-19fdo#33341: Copy print ranges when copying sheet.Kohei Yoshida1-0/+2
2011-04-16fdo#36124: Fix relative/absolute toggling in R1C1 mode.Kohei Yoshida1-3/+2
2011-04-13Convert OLE links from XLS doc into external ranges on import.Kohei Yoshida1-1/+1
Linked cell ranges that are OLE links to other Excel documents were previously ignored on import. Let's import them but convert them into external references which are more robust than OLE links.
2011-04-13Silly indentation errors, remove friend statement, bool over sal_Bool.Kohei Yoshida2-2/+2
2011-04-12fdo#35345: Don't overwrite hidden cells in drag-fill operationKatarina Machalkova3-0/+5
Also i#89232. Extracting relevant parts from 'calc66' CWS
2011-04-01Extend data area for standard and special filters as well.Kohei Yoshida1-0/+2
2011-04-01Removed the dynamic row bits from the db range. It was a hack.Kohei Yoshida3-11/+4
This concept was there before the Hamburg added their own mechanism to allow dynamic expansion of db ranges. There is no need to have two of them, or it would cause weird problems.
2011-04-01Prefer bool over sal_Bool in ScDBData.Kohei Yoshida1-51/+50
2011-04-01Added container to store global anonymous db ranges.Kohei Yoshida1-8/+17
This is needed to support multiple subtotal ranges.
2011-04-01Moved up the user index data member.Kohei Yoshida1-1/+1
2011-04-01Cleaned up ScSortParam.Kohei Yoshida1-26/+25
Tabs and sal_Bool madness.
2011-04-01First cut on exporting sort parameters.Kohei Yoshida1-1/+1
2011-04-01Initial cut on trying to import the filtering properties of anonymous db.Kohei Yoshida1-0/+4
Still not quite working right. Something must be broken.
2011-04-01First cut on getting ODS import/export of sheet-local anonymous ranges.Kohei Yoshida1-1/+1
The punch lines is that we don't use UNO API to handle sheet-local anonymous ranges during ODS import and export. Eventually we should import the named database ranges using the internal API too, but for now we keep the current code (that uses the UNO API) for those.
2011-04-01We need to delete the old instance before setting a new one.Kohei Yoshida1-2/+2
Not doing so will leak.
2011-04-01Let's use a different prefix for sheet-local anonymous ranges.Kohei Yoshida1-1/+1
2011-04-01Support sheet-local anonymous database ranges.Markus Mohrhard5-2/+53
This is for an Easy Hack to allow one autofilter per sheet, not per document.
2011-03-29drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito1-0/+0
2011-03-29switch sc to gbuildNorbert Thiebaud1-48/+0
2011-03-29Fix Windows build of SCFridrich Štrba1-1/+1
2011-03-28Moved SvxBorder* into editeng namespace to avoid duplicate DOUBLE on windowsCédric Bosdonnat6-18/+22
2011-03-26fix debug build. use OSL_DEBUG_LEVEL instead of DBG_UTIL macroNorbert Thiebaud1-1/+1
2011-03-24WaE: consistent struct/class declarationCaolán McNamara1-1/+1
2011-03-24ScDBData now stores ScSubTotalParam as member.Kohei Yoshida1-16/+5
This cleans up its implementation quite a bit.
2011-03-23Moved ScSubTotalParam from global.* into own files.Kohei Yoshida3-33/+68
2011-03-23Removed unused code.Kohei Yoshida2-7/+0
2011-03-23Cleaned up ScSubTotalParam.Kohei Yoshida1-25/+25