diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-05-26 08:25:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-05-26 14:06:20 +0200 |
commit | b3c6511659c58bcc75a9742e0ae0cc436b6f6825 (patch) | |
tree | ef019e6ae4c30833ce5642f2d4056528aa9105ca /sw | |
parent | 20deeb799a5298188eb967e3ba677b830c5a5d3c (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.hxx | 2 |
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. |