[Libreoffice-bugs] [Bug 100961] After inserting Fixed Date, and saving in DOC format, the date is not fixed anymore
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 13 07:09:07 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=100961
Justin L <jluth at mail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.documentfounda
| |tion.org/show_bug.cgi?id=59
| |886
CC| |jluth at mail.com
--- Comment #18 from Justin L <jluth at mail.com> ---
OK - there are a lot of different parts to this bug. Things act differently
depending on if the field was inserted via the UI/ODT, or imported from .doc.
Confirmed that the .doc imported date field round-trips always as a variable
field (since at least 3.5). [Ahh - of course, because the imported field is
variable, and the ODT one is fixed. Duh. Confirmed that if you CHANGE the .doc
imported time to FIXED, then 3.5-4.4 export as plain text.]
In 5.0 DOC/RTF start exporting as a field with bug 59886's
commit a072b3533f44730565f42b45cfd9f77f44f506a9
Author: Eilidh McAdam on Dec 19 16:56:58 2014 +0000
fdo#59886 export fixed date and time fields to docx.
Fixed date and time fields are supported in OOXML by adding the
attribute fldLock="true" to the fldChar element. This applies only
to the first instance of fldChar in a field (i.e. when fldCharType
is "begin").
--------------------------------------------------------------------------------
Import WIP started at https://gerrit.libreoffice.org/c/core/+/113986.
BTW, what GOOD is a const date field? Why shouldn't it just be turned into
plain text on import?
+ if (pF->nOpt & 0x10) // E_locked field option - do not recalculate
+ return eF_ResT::TEXT;
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210413/bfe5d7b2/attachment.htm>
More information about the Libreoffice-bugs
mailing list