summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2012-02-13fdo#45916: Ensure formula cell's pCode isn't NULL even when compilation fails.Kohei Yoshida
Signed-off-by: Ivan Timofeev <timofeev.i.s@gmail.com>
2012-02-08copy settings for RTL with sheets, fdo#45768Markus Mohrhard
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
2012-02-08we need to explicitly set the paste area in ScMarkData, fdo#45481Markus Mohrhard
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
2012-02-08fix problem with vba Range.Copy ( for multirange ) bnc#707486Noel Power
(cherry picked from commit b0602d2f179182de42bffb739252cc3f3705d18f) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-02-08make ctrl-shift-f2 change focus to the inputline fdo#40957Noel Power
(cherry picked from commit 09d7b5e6039827d0f02f424370f929caff179ac9) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-02-08add the "Send Feedback..." help menu itemIvan Timofeev
Signed-off-by: Thorsten Behrens <tbehrens@suse.com> Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com> Signed-off-by: Michael Meeks <MMeeks@suse.com>
2012-02-07fdo#45115: sc: fix setting bordersMichael Stahl
Same problem in ScHelperFunctions::GetBorderLine. (cherry picked from commit 697743161a6047902ee880851b23c9aef1bfa392) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-02-07fdo#45450: sc: ODF export: cell styles:Michael Stahl
Only write "style:vertical-justify" and "css3t:text-justify" in ODF extended mode. (regression from 7da57d17b6179e71c8b6d7549ad89eaf3a4a28c6)
2012-01-31clone token in ScFormulaResult copy-ctor instead of referringEike Rathke
Replaces commit e2b11f4fd79dce4116badb0ecf6477546ca5d0d4 Prevent excessive references to single token instance during fill. Because if not, we may run out of the 16-bit integer space to store reference count. Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
2012-01-30Make named ranges dialog more consistent, localizable (I+II+III)Stefan Knorr (astron)
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-01-27fdo#44143: Keep cells with broadcasters alive during deletion.Kohei Yoshida
Or else it would partially break formula reference chain. (cherry picked from commit 41e92ab2b7a8fcb7f5738f656bdac47bc0847f29) Signed-off-by: Eike Rathke <erack@redhat.com>
2012-01-26resolved fdo#38595 border width lost in ODF importEike Rathke
2012-01-26cast from BorderLine to BorderLine2 is not validEike Rathke
Don't access a css::table::BorderLine struct as if it was a css::table::BorderLine2 struct, which it isn't. A proper implementation would need to pass BorderLine2 structs around for which it would need a css::table::TableBorder2 struct that holds BorderLine2 instead of BorderLine, and adapt various places for API compatibility to support both. For now use the default table::BorderLineStyle::SOLID to set the line style at ::editeng::SvxBorderLine
2012-01-25ScTableSheetObj::findAll does not return the correct range, fdo#43462Markus Mohrhard
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
2012-01-25fdo#45067: Differentiate numeric and non-numeric field member values.Kohei Yoshida
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-01-24Fix refresh problem on pivot tables whose data cache have not been created.Kohei Yoshida
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-01-24fix ( hopefully ) viewing artifacts in input line fdo#44391Noel Power
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-01-23resolved rhbz#783556 crash in ScMatrix::GetDimensons() from ScInterpreterEike Rathke
* Interpreter tried to access a nonexistent matrix for external reference. * In ScInterpreter::PopExternalDoubleRef(ScMatrixRef& rMat) set error for unexpected conditions. In caller or descendants check for error or presence of ScMatrix. Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
2012-01-23resolved fdo#45032 Calc export to HTML with graphics failedEike Rathke
Fixed a misconception in transition from List to to ptr_vector of commit db599f64e63a3141159b7f0e59783197c39b3e02, List::Next() returned NULL when at end of list, mimic that. Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
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-20Grid lines should be immediately above or below the background.Kohei Yoshida
Especially grid lines should never be above cell borders.
2012-01-19Fix a crash when copying a sheet with drawing obj to a new document.Kohei Yoshida
2012-01-19ScGlobal::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. (cherry picked from commit 0e4b36269097f8865bdbc1b9d299a2776ae0cc06) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-01-18fdo#44896 accomodate localized text expansionAndras Timar
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
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-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-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-12fix prefix of command line switches (-- instead of -) fdo#40991Andras Timar
2012-01-12enlarge 'Reset' button for German translationAndras Timar
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-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.