[Libreoffice-bugs] [Bug 129367] FILESAVE An exported XLSX contains too long font name, and can't be opened in Excel

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 15 06:12:46 UTC 2019


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

Aron Budea <baron at caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|calc creates a wrong XLSX   |FILESAVE An exported XLSX
                   |file that opens with an     |contains too long font
                   |error in MS Excel           |name, and can't be opened
                   |                            |in Excel
                 CC|                            |baron at caesar.elte.hu

--- Comment #4 from Aron Budea <baron at caesar.elte.hu> ---
The font for B3 is: 'Liberation Mono;Courier New;DejaVu Sans Mono;Lucida Sans
Typewriter'

Open XML SDK 2.5 complains that this is longer than MaxLength, which is 31. I
don't know the exact specs, but unzipping the XLSX and trimming this very long
font name inside xl/styles.xml, and then rezipping it produces a correct XLSX
file.

-- 
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/20191215/314e3e65/attachment.htm>


More information about the Libreoffice-bugs mailing list