summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-05-26 08:25:50 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-05-26 14:06:20 +0200
commitb3c6511659c58bcc75a9742e0ae0cc436b6f6825 (patch)
treeef019e6ae4c30833ce5642f2d4056528aa9105ca /sw
parent20deeb799a5298188eb967e3ba677b830c5a5d3c (diff)
sw content controls, date: add ODT filter
Map the Date, DateFormat and DateLanguage UNO properties to: <loext:content-control loext:date="..." loext:date-format="..." loext:date-rfc-language-tag="..."> And do the opposite on import. Change-Id: I16d3f755d77ed20380d877ba65dfe6d063f2bec2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134977 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/formatcontentcontrol.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/formatcontentcontrol.hxx b/sw/inc/formatcontentcontrol.hxx
index 5137037df62a..b7f3c02f9f04 100644
--- a/sw/inc/formatcontentcontrol.hxx
+++ b/sw/inc/formatcontentcontrol.hxx
@@ -130,8 +130,10 @@ class SW_DLLPUBLIC SwContentControl : public sw::BroadcastingModify
bool m_bDate = false;
+ /// If m_bDate is true, the date format in a syntax accepted by SvNumberFormatter::PutEntry().
OUString m_aDateFormat;
+ /// If m_bDate is true, the date's BCP 47 language tag.
OUString m_aDateLanguage;
/// Stores a list item index, in case the doc model is not yet updated.