summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2012-01-13ditch unused defineDavid Tardon
2012-01-13change debug statements to fix buildMarkus Mohrhard
2012-01-12Removing debug statement.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-13Don't mention fields location, as they vary between LTR and RTL interfacesLior Kaplan
2012-01-12Missing component dependency.Stephan Bergmann
2012-01-12add test for range name import, related fdo#42624Markus Mohrhard
this adds range names referencing range names that are loaded after the referencing range name
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-11Unit test for repositioning of cell-anchored line objects.Kohei Yoshida
Preivously, before my fix, relocating a cell-anchored bottom-left to top-right line object would get flipped when its position changed. This is a test for that use case.
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-11fix prefix of command line switches (-- instead of -)Andras Timar
2012-01-11ignore the (unsupported ) group customshape when exporting xlsxNoel Power
currently the xml export code in oox doesn't handle grouped shapes very well, it produces an extra twoCellAnchor entry for the group ( which is incorrect ). This causes mso2010 to reject the content as corrupt. We need to handle grouping correctly ( e.g. a twoCellAnchor entry for the group and separate drawing shape (xdr:sp) elements for the shapes that are elements of the group ). As a stop gap we can just export the individual shapes of the group ( but not the grouping itself )
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-11adapted test case cell input to new date acceptance realityEike Rathke
Cell input in testDataPilotLabels() like 1.2.3 was prefixed with single quote / apostrophe to not form a date input but string instead. With the new date acceptance, in en-US locale 1.2.3 isn't a date anymore and the quote becomes part of the cell content, so the test checking for 1.2.3 failed because the result was '1.2.3
2012-01-11enlarge 'Reset' button for German translationAndras Timar
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-10Remove _SVSTDARR_STRINGSISORTDTORAugust Sodora
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-10callcatcher: update listCaolán McNamara
2012-01-10force users of horrific ReadUniOrByteStringLine to provide the charsetCaolán McNamara
2012-01-10simplify LocalFileHelper::ConvertURLToPhysicalNameCaolán McNamara
2012-01-09fdo#44545: Skip filtered cells during auto-fill.Kohei Yoshida
Regression from 3.4.5.
2012-01-09simplify CharClassCaolán McNamara
multiple variants of toUpper (etc) some that take a non-const OUString or String and modify it some that take a const OUString or String and return a new one some that take part of a const OUString or String and return a new one
2012-01-09callcatcher: Remove unused codeAugust Sodora
2012-01-09did not want to move that to the in-build targetMarkus Mohrhard
2012-01-09add some tests related to fdo#42624Markus Mohrhard
see fdo#44587 for problems with range names in matrix formulas during xlsx import/export
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-08Kill SvNullStream duplicationMiklos Vajna
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-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-07More unit test code to test copying a sheet with drawing object.Kohei Yoshida
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-07another missing null pointer check in multilinebar, fdo#44518Markus Mohrhard
2012-01-07Remove superfluous _ZFORLIST_DECLARE_TABLE definition.Marcel Metz
2012-01-07Fix for fdo43460 Part XXX getLength() to isEmpty()Olivier Hallot
Part XXX Modules sc
2012-01-07Removing debug statements.Kohei Yoshida