diff options
author | Justin Luth <justin_luth@sil.org> | 2022-04-05 11:43:43 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-04-12 11:46:44 +0200 |
commit | 5453721050f1cad2951410cc8d5ebca19ea38294 (patch) | |
tree | 414922dc2686173ea5804164e7b9965f515dd861 /slideshow/README.md | |
parent | 4d27d087de2922f918a76437a1385dc4a287afc3 (diff) |
tdf#148380 docx export: support CREATEDATE without format
When CREATEDATE is given as a field command without the optional
format string, then export was treating it as bWriteExpand
(aka ww::eUNKNOWN) and just dumped out the field name.
Instead, accept an empty string as a valid number format
in order to maintain it as a field.
In order to do this, we have to also turn off write-expand
for fixed fields, since import always treats CREATEDATE as FIXED.
The other existing example is
writerfilter/qa/cppunittests/dmapper/data/create-date-preserve.docx
DOC: not yet importing as FIXED
RTF: seems to just ignore bWriteExpand and does the right thing anyway.
Change-Id: If0aef38f6730f55b5fa1be6a62e0b6a0b4871658
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132662
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'slideshow/README.md')
0 files changed, 0 insertions, 0 deletions