https://bugs.freedesktop.org/show_bug.cgi?id=70205
Marcel Waldvogel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME |--- Ever confirmed|0 |1 --- Comment #2 from Marcel Waldvogel <[email protected]> --- Today I had to open a LibreeOffice (4.2.0.2 and 4.2.1.1)-created .xlsx in Excel for Mac 2008 again. The colors were all messed up: bright pink became dull gray, bright green turned into a dark, dirty green etc. Looking at the unzipped .xlsx file, I noticed that all colors (color, fgColor and bgColor tags) written by LibreOffice into xl/styles.xml were defined by the rgb="AARRGGBB" (where AARRGGBB is the 32-bit color value in hex) attribute. However, Excel for Mac 2008 used indexed="i" (where i is the into the indexedColors' rgbColors; there "rgb="AARRGGBB" works interestingly). Changing the rgb="AAARRGGBB" attributes on the color, fgColor, and bgColor tags manually to the appropriate indexed="i" values fixed the colors. (They did not match exactly, but the amount of differences might be explained by some color profile application.) Could you please change LibreOffice to write font and fill colors indirectly, i.e., by reference into the indexed color tables (indexed="i" attribute) instead of explicitely specifying the RGB components (rgb="AARRGGBB"). This would increase compatibility with Excel for Mac 2008. Thanks! -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
