summaryrefslogtreecommitdiff
path: root/sc/inc
AgeCommit message (Collapse)Author
2012-01-30Option to set tab prefix for new worksheetsAlbert Thuswaldner
2012-01-23Fix refresh problem on pivot tables whose data cache have not been created.Kohei Yoshida
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-21Oops I shouldn't have erased names directly.Kohei Yoshida
We always need to remove the index map when removing a name.
2012-01-21fdo#44831: Named range should overwrite existing name.Kohei Yoshida
When inserting a new named range, it should overwrite any existing name if one exists. That was the old behavior in 3.3 prior to my range name rework, and because of ptr_map not overwriting existing key, that behavior had changed unintentionally. Let's revert to the old behavior.
2012-01-20Prefer using back() to access the last element.Kohei Yoshida
2012-01-20Added 'm' prefix for a data member.Kohei Yoshida
2012-01-20Replace open-coded array with std::vector in ScColumn.Noel Grandin
2012-01-17Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz
2012-01-17remove unused methodsThomas Arnhold
2012-01-17remove unused ScDP* methodsThomas Arnhold
2012-01-16Replaced DBG_ERRORFILE with SAL_INFO.Marcel Metz
2012-01-13Avoid double deletion during data cache object destruction.Kohei Yoshida
2012-01-12Test the new logic of our pivot data cache life cycle.Kohei Yoshida
2012-01-12fdo#43077: Finally, remove data cache when nobody references it.Kohei Yoshida
Also, removed unnecessary reloading of the whole table data when reference is updated.
2012-01-12fdo#43077: Now, refreshing a table should refresh all linked tables.Kohei Yoshida
For efficiency reasons. Otherwise, refreshing n tables individually would require reloading the same data cache n times.
2012-01-12fdo#43077: Have cache instance keep track of who is referencing it.Kohei Yoshida
With this change, ScDPCacheTable should never clear pointer to the data cache instance; it should keep the same data cache instance that it is instantiated with.
2012-01-12fdo#43077: Copy pivot tables when a sheet is copied.Kohei Yoshida
2012-01-11Test code for sheet source data cache relocation.Kohei Yoshida
2012-01-11New test for pivot tables with named source ranges.Kohei Yoshida
2012-01-11fdo#44661: Properly update range keys for pivot cache.Kohei Yoshida
When the internal data source range gets modified, we should also update the affected range keys that are used to look up pivot caches. Otherwise we'll end up creating a brand new cache, without removing the old one that's no longer referenced.
2012-01-11ScGlobal::GetAutoFormat not always required to create fresh instance.Stephan Bergmann
...at least in ~ScAutoFormatObj it appears unnecessary and can lead to crashes during Desktop::DeregisterServices (when ScGlobal::ppRscString is already null and ScAutoFormat ctor calls ScGlobal::GetRscString). Therefore split GetAutoFormat in two, GetOrCreateAutoFormat for cases that probably need a non-null return and GetAutoFormat for those that are OK with a null return.
2012-01-10callcatcher: update listCaolán McNamara
2012-01-09fdo#44545: Skip filtered cells during auto-fill.Kohei Yoshida
Regression from 3.4.5.
2012-01-08limit the number of sheets again to 10000Markus Mohrhard
Our 32bit builds have problems to generate more sheets and crash with a std::bad_alloc Increase this limit again as soon as we can handle std::bad_alloc
2012-01-07Mark detective arrows clearly since we need to treat them differently.Kohei Yoshida
Otherwise it gets confused with normal arrow objects during re- positioning.
2012-01-06Removed unnecessary tools/debug.hxx includes.Marcel Metz
2012-01-06Removed unnecessary tools/link.hxx includes.Marcel Metz
2012-01-06Fix re-calculation of the position of circular drawing objects.Kohei Yoshida
Cell-anchored circular drawing objects would get distorted whenever its bounding rectangle changes, either via insertion / removal of columns / rows, or changing the row height / column width. This commit fixes it by differentiating the validation circles, which needs its own re-calc algorithm, from the normal circular drawing objects.
2012-01-06add warning message if you close unsaved referenced documentMarkus Mohrhard
2012-01-06correctly update absolute refs in range names if pointing to copied areaMarkus Mohrhard
2012-01-05getPropertyMap can return a reference instead of a pointerCaolán McNamara
2012-01-05simplify code a bitMarkus Mohrhard
2012-01-05handle relative refs in name dialogs correctlyMarkus Mohrhard
2012-01-05Removed unnecessary tools includes.Marcel Metz
2012-01-05add mode-lines to some new filesCaolán McNamara
2012-01-04Register chart data ranges via tokens rather than string.Kohei Yoshida
Doing it this way avoids having to re-generate the data ranges in Calc A1 before passing it to the chart backend in Calc. We need this in order to remove the silly restriction that forces us to always pass data range strings in Calc A1 format, which is error-prone. This is also necessary in order to fix the bug that prevents editing data ranges of an existing chart when the formula syntax is something other than Calc A1.
2011-12-23adjust absolute refs to copied areas correctlyMarkus Mohrhard
2011-12-22remove some unused codeCaolán McNamara
2011-12-21fdo#38832 Replace ScChangeActionTable with std::mapMarcel Metz
2011-12-21callcatcher: remove unused Find1RefWindow variantCaolán McNamara
2011-12-20another "ScToken::GetDoubleRef: virtual dummy called"Eike Rathke
When checking for svSingleRef or svDoubleRef, also check for svExternalSingleRef or svExternalDoubleRef. Otherwise the dummy reference is treated.
2011-12-20improve the handling of range names while copy between different docsMarkus Mohrhard
we now behave nearly the same way as excel does
2011-12-20add a warning dialog if we have ext refs to unsaved docsMarkus Mohrhard
2011-12-19Copy absolute refs between different docs: Part IIIMarkus Mohrhard
support copying from an unsaved document and some improvements still problems with MoveTab and missing dialog box if we have external refs to unsaved docs while we save
2011-12-17Copy Absolute Formulas between documents: Part IMarkus Mohrhard
Copying absolute sheet references between different documents now transforms absolute sheet references into external references if the refered range is not copied. Working: References to already saved documents work already with: -only transform reference into an external reference if range is not in the copied range -don't transform relative references Missing: handling for copying from not yet saved files idea: - add handling of external references to open documents that are not yet saved through the temporary document name - transform the url to the correct file url as soon as the source document is saved - if target document is saved first show warning message to the user and save with temporary name as file url
2011-12-13fdo#39917: Use correct address convention during search and replace.Kohei Yoshida
2011-12-07fdo#43534: Fully support external references in CELL function.Kohei Yoshida
Some parameters don't work with external references, however, such as PROTECT, PREFIX and WIDTH.
2011-12-06bnc#733864: Make sure to adjust the sheet index of drawing objects.Kohei Yoshida
For cell-anchored drawing objects. Failing to do so would result in either one of 1) write error during file save, 2) drawing object disappearing upon reload, or 3) drawing object relocated to a wrong sheet, with wrong position and size upon reload.
2011-12-05Empty data sequence backend no longer used. Let's purge it.Kohei Yoshida