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

V Stuart Foote <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
          Component|Writer                      |filters and storage
         Resolution|---                         |NOTABUG
            Summary|FILESAVE:  Field "File name |ww8 filter handling of
                   |without extension"  does    |inserted Field value "File
                   |show extension when saved   |name without extension"
                   |as doc/docx                 |shows the extension on
                   |                            |roundtrip opening of .doc
                   |                            |or .docx

--- Comment #3 from V Stuart Foote <[email protected]> ---
This seems more like an ODF compatibility issue--ODF/LO supports the format of
the FILENAME field--MS Word does not.  In fact the only option for the FILENAME
in MS Word seems to be a /p to include the path, and font case formatting.  The
path setting survives round trip between the document formats.

Saving to MS Word 97-2003 .doc, or OOXML .docx the field is export filtered to
{FILENAME} in both formats. But the field content opens in Word 2007 matches
text as was saved in LO--not sure that is correct export filter behavior. 

And if the field insert includes the extension (default)--that is shown in Word
2007.

But then toggling field code in MS Word shows the fields (with or without file
extension) was exported as just {FILENAME}. If edit/saved/reopened in Word 2007
as either .doc/.docx, the {FILENAME} field asserts and changes the field text
that came from LO to what Word expects with extension.

So text of field reads as it was saved in LibreOffice--but on save/reopen in
Word, or round trip import back to LO the {FILENAME} field is parsed and shows
with extension.

Simply incompatible formats--and one could argue that we should not export a
field value with text that does not comply with MS formats.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to