summaryrefslogtreecommitdiff
path: root/sw/UIConfig_swriter.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-05-25 09:58:28 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-05-25 11:52:02 +0200
commitce5d609da9d20b3c91f6f8eb4ee88451cbd55a9d (patch)
tree2aba1fb0c225d7b89d67e244e56d68220b041135 /sw/UIConfig_swriter.mk
parentd77db907465547f8704fd32b2c90165b54873dba (diff)
sw content controls, date: show a date picker on click
- add a new SwContentControl::GetDateString() that knows how to produce a formatted date, taking the language and the date format into account - add a new SwDateContentControlButton that knows how to open popup a calendar on click and that puts the selected date into SwContentControl::m_oSelectedDate - extend SwWrtShell::GotoContentControl() to consume that selected date & update the document text accordingly - in case SwSelPaintRects::HighlightContentControl() notices a date content control, create an instance of this newly introduced SwDateContentControlButton Change-Id: Ia2cb0fa3aefbf543b8dc2e96bcebb41408eb12c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134926 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/UIConfig_swriter.mk')
-rw-r--r--sw/UIConfig_swriter.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/UIConfig_swriter.mk b/sw/UIConfig_swriter.mk
index 012d86008b39..5dafec57ee88 100644
--- a/sw/UIConfig_swriter.mk
+++ b/sw/UIConfig_swriter.mk
@@ -121,6 +121,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/combobox \
sw/uiconfig/swriter/ui/comboboxfragment \
sw/uiconfig/swriter/ui/conditionpage \
+ sw/uiconfig/swriter/ui/contentcontrolcalendar \
sw/uiconfig/swriter/ui/contentcontroldlg \
sw/uiconfig/swriter/ui/contentcontroldropdown \
sw/uiconfig/swriter/ui/contentcontrollistitemdlg \