diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-27 11:38:42 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-05-31 14:40:45 +0200 |
commit | d0ebc93087975ce361b618512548bc05b5b95c8b (patch) | |
tree | 4e0b22ca7cd62610e519f2bf4650b4f08d5af431 /sw/inc/viewopt.hxx | |
parent | c04e1a32a1610c735ef2de6e8fde107abb1b66ae (diff) |
sw content controls, date: add current date handling
While working on the DOCX import for dates, it turns out there is a need
to store the selected date in machine-readable format as well. This is
useful, because once the timestamp is formatted, the user is allowed to
hand-edit the result, so otherwise the selected date would be lost.
This commit adds:
- doc model & UNO API
- click handler (store the selected date, default to the current date in
the date picker if possible)
- ODT filter
- DOCX export
And tests for all these.
(cherry picked from commit 79baafccf3d390810f516b2cf9cb3ad2b4e9e63b)
Change-Id: I00f4e87ebfe0e8a19486367c32d472ccd2ff16a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135150
Tested-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc/viewopt.hxx')
0 files changed, 0 insertions, 0 deletions