[Libreoffice-bugs] [Bug 128460] New: Exported Writer input fields are not imported correctly from docx

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 29 14:16:28 UTC 2019


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

            Bug ID: 128460
           Summary: Exported Writer input fields are not imported
                    correctly from docx
           Product: LibreOffice
           Version: 6.3.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: glogow at fbihome.de

Description:
This bug is about the import side of bug 125103. The patch for bug 125103
changed the format type from FORMTEXT to FILLIN for Writer input fields. But
when importing these fields the current text is lost, because Writers' input
fields just allow text, but Words FILLIN field allows formatted text.

So to be at least consistent with the patch for bug 125103, LO should import
the FILLIN value as plain text (simply ignore all the formatting) and assign
its value to the import field.

All this handling is kind of a stretch, but I coudn't find any non-formatting
fields in the DOCX specs, so this is probably the least problematic conversion.
Interestingly FILLIN is used for mail merge in DOCX, which eventually might
lead to interesting side effects.


Steps to Reproduce:
1. save a copy of the ODT document from bug 125103 as DOCX
2. open the created DOCX

Actual Results:
Two form fields are imported, but both have no content.

Expected Results:
The 2nd input field has the content "text" and the reference "fieldinput".


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20191029/0d29f8fa/attachment.html>


More information about the Libreoffice-bugs mailing list