summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)Author
2012-01-16make adjusting formulas possible for TransferTabMarkus Mohrhard
2012-01-14refactor slightly to avoid link problems with gcc 4.7David Tardon
Signed-off-by: David Tardon <dtardon@redhat.com>
2012-01-13Avoid double deletion during data cache object destruction.Kohei Yoshida
2012-01-13Use a copy; the container gets modified during iteration.Kohei Yoshida
2012-01-13Make sure no live ScDPObject instances hold reference to the deleted cache.Kohei Yoshida
2012-01-13Fix MinGW build.Jan Holesovsky
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-12enlarge 'Reset' button for German translationAndras Timar
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-11fdo#44661: No need to update the source range when it's a named range.Kohei Yoshida
Otherwise deleting a sheet that shifts the position of the pivot table would turn the named range into the raw range that the name references.
2012-01-11Avoid iterating beyond the last existing drawing page.Kohei Yoshida
2012-01-10fdo#44147: Sheet 0 is selected by default.Kohei Yoshida
ScViewData's default ctor sets current sheet to 0, but its selected sheet data didn't have it selected which meant that the two data were out-of-sync when created. This affected entering data into cell when the sheet was embedded (because no sheet was "selected"). In reality at least one sheet is selected at all times. The above bug was present before, but was masked by a hack in ScTabView which always selected sheet 0 when activated. I removed that because it was interfering with syncing the sheet selection data before and after print preview. And removing that hack exposed this. This commit is the right fix.
2012-01-10fdo#44616: drop attributes FRAME and RULES of <table> for HTML 3.2Takeshi Abe
This fixes fdo#44616. HTML 3.2 does not have these attributes: http://www.w3.org/TR/REC-html32
2012-01-10fdo#42624: Do the same for BIFF5 and earlier.Kohei Yoshida
2012-01-10fdo#42624: Defer formula token conversion for defined names (xls import).Kohei Yoshida
This is necessary for handling names that cross-reference each other.
2012-01-09fdo#44545: Skip filtered cells during auto-fill.Kohei Yoshida
Regression from 3.4.5.
2012-01-08Handle resizing of cell-anchored polyline objects as well.Kohei Yoshida
This should take care of correctly resizing cell-anchored polyline objects when resizing row height / column width.
2012-01-08Mark 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-08another missing null pointer check in multilinebar, fdo#44518Markus Mohrhard
2012-01-08don't set document modified for copy and select all, fdo#44423Markus Mohrhard
2012-01-08return earlier from ScInterpreter::GetDBParams on error, fdo#44442Markus Mohrhard
2012-01-07More unit test code for drawing objects. Found another bug & fixed it.Kohei Yoshida
Inserting a new sheet would not update the anchored sheet index. Fixed.
2012-01-07Reset sheet index of drawing objects when moving sheet too.Kohei Yoshida
If not, cell-anchored objects would get stuck on the old sheet position, which is not good.
2012-01-07Better to internalize the sheet ID reset within ScDrawLayer...Kohei Yoshida
2012-01-07Reset sheet ID of cell-anchored drawing objects when deleting sheet(s).Kohei Yoshida
This prevents drawing objects from disappearing on file reload.
2012-01-07Removing debug statements.Kohei Yoshida
2012-01-06fdo#36387: Get external references to work with AND and OR.Kohei Yoshida
2012-01-06fdo#44467: Deleting sheets should adjust drawing object pages as well.Kohei Yoshida
Good thing we caught this, because we were also leaking memory by not deleting the deleted sheet instances.
2012-01-07handle relative refs in name dialogs correctlyMarkus Mohrhard
2012-01-07improve copy/paste between different documentsMarkus Mohrhard
Absolute sheet refs are transformed to external references pointing to the old document
2012-01-06Fixed the validation message popup disappearing when scrolling etc.Kohei Yoshida
When the popup goes outside the visible area & get scrolled back in, it would disappear. Also, when setting the hint message on in the dialog and clicking OK should show the popup right away.
2012-01-06Fixed a crash-on-exit, when the validation message is up when closing.Kohei Yoshida
Delete the hint window instnce before the grid windows get deleted, since the hint window is now a child window of one of the grid window instances.
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-06Revert this to build on msvc 2008Korrawit Pruegsanusak
2012-01-06Limit the number of initial sheets to 1 to 1024 in the UI.Kohei Yoshida
Note that you can still have more than 1024 sheets afterwards. This only applies to new and empty documents.
2012-01-06The data range may not always start at row 0, use 'n' prefix for int.Kohei Yoshida
2012-01-06Update behavior and translation last record to prev recordLior Kaplan
2012-01-06gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO'Matúš Kukan
Signed-off-by: David Tardon <dtardon@redhat.com>
2012-01-05fdo#36851, bnc#737190: Make the data validation popup more reliable.Kohei Yoshida
Previously, the data validation message popup was not sticking on reliably on Linux, and flickers very bad on Windows. That was due to the painting conflict between the top-most frame window and the grid window. By making the message popup window a child window of the grid window, it paints more reliably.
2012-01-05WaE: invalid conversion from 'const ScToken*' to 'ScToken*'David Tardon
Signed-off-by: David Tardon <dtardon@redhat.com>
2012-01-05Removed the restriction to always pass Calc A1 formatted data ranges.Kohei Yoshida
This change also fixes the bug where changing data series ranges was impossible to do when the formula syntax was not Calc A1.
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.
2012-01-04move static casts outside loopsLaurent Godard
some little perf. improvements on saving spreadsheets
2012-01-04Get the reference jump feature to work with relative references.Kohei Yoshida
By 'reference jump feature' I mean Ctrl-[ and Ctrl-].