summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2011-12-09fixed Calc unit-test crashesFridrich Štrba
Wrong offset and count constants caused properties' string array out-of-bounds access.
2011-12-08bnc#656073: Allow filtering by error value.Kohei Yoshida
The old way was that an error cell was evaulated as having a value of 0. The error cell also showed up as blank in the popup. Using the error string is much more intuitive (and some users apparently want this behavior).
2011-12-08bnc#727504: Correctly convert chart data ranges.Kohei Yoshida
We were supported to convert XML chart data range representations with a hard-coded ';' as the range union operators, but incorrectly using UI configurable range separators. This caused charts with series that consisted of multiple ranges to be imported correctly in locales where the range separator (which re-uses the function argument separator) was something other than ';'. BTW I plan to remove this "always use Calc A1 syntax" restriction in future versions.
2011-12-09fixed fdo#43614 Crash when closing document and several Spreadsheet ↵Eike Rathke
documents open During Paint() in ScMultiTextWnd::InitEditEngine(), ScTabViewShell::GetActiveViewShell() may return a view shell that does not correspond with the document to be repainted if another document was opened or when switching between documents. Prevent creating an EditEngine with wrong SfxItemPool.
2011-12-08Fix for bug fdo43586, need more room for localized stringOlivier Hallot
This patch fixzex bug fdo43586, more room needed for localized strings in named range dialog.
2011-12-08We need to set the current cell range object regardless of style name.Kohei Yoshida
Otherwise we would fail to import the cell contents of those documents that don't include table styles at all. Some hand-crafted ods documents don't provide table styles, which 3.4 imported just fine.
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-07fdo#43534: Reset tab index for SingleRefToVars() call.Kohei Yoshida
Otherwise that method will set #REF! to the cell when it sees the tab index being -1. We don't use that index in that code, so it's safe to do this.
2011-12-07i#106210 store proper ODFF names, accept aliasesEike Rathke
Older releases stored a few function names not defined by ODFF, namely EASTERSUNDAY instead of ORG.OPENOFFICE.EASTERSUNDAY, TDIST instead of LEGACY.TDIST and B instead of BINOM.DIST.RANGE. Since OOo/LibO 3.3 the proper function names can be read, additionally to the "wrong" names. Now it's time to write the proper names and still accept the incorrect ones. Test cases are attached to AOOo issues: ORG.OPENOFFICE.EASTERSUNDAY https://issues.apache.org/ooo/show_bug.cgi?id=112882 LEGACY.TDIST and BINOM.DIST.RANGE https://issues.apache.org/ooo/show_bug.cgi?id=110229 Note that the FALSE in A2 and A3 is a result of the string comparison of the actual formula, that differs in separators (, vs ;) only.
2011-12-07fdo#42259: Fixed RTF import crash etc.Kohei Yoshida
This is also another unfortunate bug due to the logic change caused by the DECLARE_LIST removal. There was one crasher due to out-of-bound array access, plus one incorrect behavior concerning cell content placement. Both are now fixed.
2011-12-07fdo#43534: Partially support external refs in CELL function.Kohei Yoshida
For now, only COL and ROW are supported. More on the way. Note that we can't support all the information types that we do for internal references.
2011-12-07remove unused variableNoel Power
2011-12-07better sizing of inputbar ( removed weird calculations I didn't understand )Noel Power
gsoc input bar now (should) snuggly wrap the text when collapsed, if multilines exist then scrolling with the keys should be clean and no spill from upper or lower lines visible. Removed some strange ( pseudo padding ) apparently for taking into account the window border and reorganized the resize logic so the padding is added ( and commented why ) in just one place.
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen
2011-12-07normalize Red Hat, Inc.Caolán McNamara
2011-12-07normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara
2011-12-07Use configmgr directly in SvxAsianConfig.Stephan Bergmann
2011-12-07Moved modifications.xcu to test, used from multiple modules.Stephan Bergmann
2011-12-07Removed unnessecary tools/table.hxx includesMarcel Metz
2011-12-07fdo#43308: Set the logic straight for "center across selection" setting.Kohei Yoshida
Another unfortunate logic change introduced via DECLARE_LIST removal. Reverting the logic to the original one.
2011-12-07old class Stack pop'ed 0 from empty stack, which std::stack doesn'tEike Rathke
Some places in the code assumed that if the stack is empty a null pointer is returned by top() (or old Pop()), this doesn't work anymore with ::std::stack that instead has undefined behavior in that case, so check !stack.empty() first before accessing top.
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-06impress210: #i117133# put new drawing layer fill and stroke styles in pool ↵Christian Lippka ORACLE
only for newly created documents # HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1299763312 -3600 # Node ID 6b1140cdac81a77836e5be80033f328a0956c94a # Parent 8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
2011-12-06calcGlueState(): move State enum to file-global anonymous namespaceLionel Elie Mamane
so that it can be used in templates in strict C++98. C++11 allows local types (i.e. without linkage) to be used in templates.
2011-12-06refactor media embedding completely:Michael Stahl
Do the tempfile handling in SdrMediaObj, not in the window; this has the advantage that it works even in the presence of clipboard documents without SfxBaseModels and thus without storage (sc, sw). The SdrMediaObj instances share ownership of a temp file.
2011-12-05fdo#39847: Shrink chart's source ranges to data area.Kohei Yoshida
Otherwise setting data area to e.g. the entire sheet, or even just entire columns would freeze Calc as it tries to parse the entire data range faithfully.
2011-12-05A little more annotation.Kohei Yoshida
2011-12-05Added comment describing what we are doing here...Kohei Yoshida
It's not very obvious from the code alone.
2011-12-05Use enum over integer constant for type safety.Kohei Yoshida
2011-12-05Separate method for code that determins glue state from referenced cells.Kohei Yoshida
2011-12-05Annotated code and a little cleanup to improve readability.Kohei Yoshida
2011-12-05Empty data sequence backend no longer used. Let's purge it.Kohei Yoshida
2011-12-05Use boost::scoped_ptr in lieu of std::auto_ptr (where we can).Kohei Yoshida
2011-12-05Make the class officially non-copyable.Kohei Yoshida
2011-12-05std::auto_ptr is deprecated. Let's use boost::scoped_ptr.Kohei Yoshida
2011-12-05Let's not create unnecessary duplidate.Kohei Yoshida
These ref tokens are only read, not modified. Taking a const reference is sufficient.
2011-12-06WaE: uninitialized valueMarkus Mohrhard
2011-12-05add tests for new bitshift functions to scWolfgang Pechlaner
2011-12-05enable sc's c++ subsequenttests related to fdo#43308Markus Mohrhard
2011-12-05Remove unused tools/stack.hxxMarcel Metz
2011-12-05Replace ScHTMLAdjustStack with std::stack< ScHTMLAdjustStackEntry* >Marcel Metz
2011-12-05Replace ScHTMLTableStack with std::stack< ScHTMLTableStackEntry* >Marcel Metz
2011-12-05Replace XclExpChTrActionStack with std::stack< XclExpChTrAction* >Marcel Metz
2011-12-05Replace Stack with std::stack< std::pair< XclObj*, XclEscherHostAppData* > >Marcel Metz
2011-12-05Replace Stack with std::stack< bool >Marcel Metz
2011-12-05Replace ScChangeTrackMsgStack with std::stack< ScChangeTrackMsgInfo* >Marcel Metz
2011-12-05Remove Large Handles optionStefan Knorr (astron)
This patch removes the option Large Handles everywhere and makes LibO use the larger 9px handles always.
2011-12-05enable gsoc multi line inputbar featureNoel Power
2011-12-05add subsequenttest for failing test CellPropertiesMarkus Mohrhard
share test between all services which share the implementation in ScCellRangesBase
2011-12-05adjust sc's c++ subsequenttest conceptMarkus Mohrhard
create one test suite per implementation class: move xcellrangesquery into ScCellRangesBase