Nearing the "do what I mean" principle..
* key date on time cell => current date + time of cell => date+time formatted cell
* unless time cell was empty or 00:00 time => current date => date formatted cell
* key date on date+time cell => current date + 00:00 time => date+time formatted cell
* unless date was current date => current date => date formatted cell
* key date on other cell => current date => date formatted cell
* key time on date cell => date of cell + current time => date+time formatted cell
* unless date cell was empty => current time => time formatted cell
* key time on date+time cell => current time => time formatted cell
* unless cell was empty => current date+time => date+time formatted cell
* key time on other cell => current time => time formatted cell
Change-Id: I5025e0d0ea9ac83d1b9e0b130262df6db4693a56
Let Ctrl+; current date and Shift+Ctrl+; (Ctrl+:) current time behave more
flexible, depending on the formatting (and as such the type) of the existing
cell content.
key date on time cell => current date + time of cell => date+time formatted cell
key date on other cell => current date => date formatted cell
key time on date cell => date of cell + current time => date+time formatted cell
key time on other cell => current time => time formatted cell
Change-Id: I2ccbfbab3c50c36a72c4db4696520e32f94caefa
COL_AUTO is the default value which is treated as color not being set. The
old code would export it as a white color which is not correct.
Change-Id: Ib68fccfb228333f2059edc4cfffeed90880ebc60
Previously, we would incorrectly export a sheet tab without any color set
as a tab with white color.
Change-Id: I97e59a0d8e2fba6db64149f53acfe4331a5ce2ba
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1 "Remove unused ctors" and
68969cc61a "Consistency around SdrMetricItem."
Change-Id: I7ecf827a0713efaecb4b0eb49f9f8c06f8c59091
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1 "Remove unused ctors" and
68969cc61a "Consistency around SdrMetricItem."
Change-Id: Ib461b5d3702e00a9d7cef3229c44e3328c776e1d
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1 "Remove unused ctors" and
68969cc61a "Consistency around SdrMetricItem."
Change-Id: I3734cb14b6ed8f556af85b234968682a55ac8a4c
Instead of a mix of sal_uIntPtr, sal_uLong, int, and so on.
Also change CONTAINER_ENTRY_NOTFOUND=ULONG_MAX to SAL_MAX_SIZE as
return value in case of failure and in the related tests.
Change-Id: Ie778a849253b4be84fbcdab9557b7c4240233927
This patch adds three short cut buttons to the calc paste special
dialog: paste values only (numbers, strings, dates), paste values and
formats, and paste transposed.
Change-Id: Ie70fbaa28976b2311b1d9cf53b094a5083fb42d4
Reviewed-on: https://gerrit.libreoffice.org/10928
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
5c6ee09126 introduced a different
algorithm for reference handling during sort. Unfortunately that clashed
with the SC_CLONECELL_ADJUST3DREL introduced a little earlier resulting
in relative 3D references effectively being "adjusted" twice.
Furthermore, in-sort-range range references to one row (or column) were
not adapted to the move at all if the formula within the range listened
only to ranges and not a single cell. Added collecting and adjusting
area listeners for this.
Last but not least, external (relative) references need to be treated
the same as internal 3D references, making them point to the same
location after the sort.
Change-Id: I492768b525f95f1c43d1c6e7a63a36cce093fa5a
...'com::sun:⭐:sheet::XSpreadsheets2::importSheet', previous versions of
the compiler did not override when parameters only differed by const/volatile
qualifiers.
XSpreadsheets2.hdl defines this as:
virtual ::sal_Int32 SAL_CALL importSheet( const ::css::uno::Reference< ::css::sheet::XSpreadsheetDocument >& srcDoc, const ::rtl::OUString& srcName, ::sal_Int32 nDestPosition )
Change-Id: I286fa542a2124a85d7b835f257865f8a05c23f96