Created attachment 119295 [details]
1) Open attached file
2) Notice that all three rectangles have a hatching fill, though they should have a pattern fill
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
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 " 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.
Win 7 Pro 64-bit, Version: 188.8.131.52 (x64)
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: fi-FI (fi_FI)
We now have the MSO patterns (bug 94547), so it is now possible to map the prst attribute value to the presets found in standard.sop file.
As Luke mentioned in bug 94547 comment 16, we correctly utilize the gif file when it is in the old mso format (e.g. attachment 127146 [details]).
Created attachment 146328 [details]
Sample file correctly exported to .odt with Word 2016
LO uses 8x8 pattern, while MSO uses 32x32. The dots patterns do map well, but this is not true for many others. A universal fix would be to import patterns the same way MSO exports them to ODF, by converting the pattern to a tiled bitmap.