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

--- Comment #7 from Jacobo Aragunde PĂ©rez <jaragu...@igalia.com> ---
The cause of the bug is the same as the following one:

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

OOXML documents may contain a theme file that specifies a list of preset
styles, colors, etc. Changing the theme in MSO would change the format for any
objects that are related to it.

The purpose of the set of commits that bc0a9076aa4 belongs is to preserve the
assignment of theme colors. Previously to that commit, theme colors were
converted to plain colors by LO on save, so when the document was opened back
in MSO it remained unaffected by theme changes.

Unfortunately, the theme file (which is an XML file that is part of the OOXML
document) is lost in the save process of XLSX or PPTX files. It only survives
in the case of DOCX. That's why colors are lost, the shape refers to a theme
color and the theme file doesn't exist.

The proper way to fix this bug is making sure the theme file is preserved on
save. It should be detected on open, stored somewhere and written back to the
file on save.

-- 
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