https://bugs.documentfoundation.org/show_bug.cgi?id=100961

Justin L <jl...@mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=59
                   |                            |886
                 CC|                            |jl...@mail.com

--- Comment #18 from Justin L <jl...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to