https://bugs.documentfoundation.org/show_bug.cgi?id=94773
Bug ID: 94773 Summary: FILEOPEN: OOXML - Object fill patterns incorrectly imported as hatching Product: LibreOffice Version: 5.1.0.0.alpha0+ Master Hardware: Other OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: philip...@hotmail.com Created attachment 119295 --> https://bugs.documentfoundation.org/attachment.cgi?id=119295&action=edit sample Steps: 1) Open attached file 2) Notice that all three rectangles have a hatching fill, though they should have a pattern fill Version: 5.1.0.0.alpha1+ Build ID: 329496c1f75f97d2e6119ceb214a2ea1fbadb17a TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-10-03_02:47:24 Locale: en-US (en_US.UTF-8) /word/document.xml has entries similar to this <a:pattFill prst="pct5"> <a:fgClr><a:schemeClr val="accent1"/></a:fgClr> <a:bgClr><a:schemeClr val="bg1"/></a:bgClr> </a:pattFill> where "pct5" is the internal pattern name for the 5% pattern, "accent1" is a foreground color of #4F81BD found in /word/theme/theme1.xml (<a:accent1>) and "bg1" is the background color of #FFFFFF found in /word/theme/theme1.xml (<a:lt1>) through <w:clrSchemeMapping w:bg1> in /word/settings.xml. As LO doesnt have any inbuilt patterns to map to, it can utilize the pattern bitmap file with the <mc:Fallback> tag, similar to <v:fill r:id="rId6" o:title="" color2="white [3212]" type="pattern"/> where "rId6" is referenced in /word/_rels/document.xml.rels to /word/media/image1.gif. The only thing that needs to be done to the black and white pattern bitmap file is swap the colors with the foreground and background colors. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs