https://bugs.documentfoundation.org/show_bug.cgi?id=94731
--- Comment #2 from Yousuf (Jay) Philips <[email protected]> --- Created attachment 119249 --> https://bugs.documentfoundation.org/attachment.cgi?id=119249&action=edit master vs 3.3 (In reply to Regina Henschel from comment #1) > ODF is very clear, how draw:style="square" should look. Read section > 19.218.2<draw:gradient>, item 'square', > "square: defines a gradient that produces a square blend, imitating the > visual perspective in a corridor or the aerial view of a pyramid. Also known > as "box gradient" and "pyramidal gradient". The center of the square is > defined with the draw:cx and draw:cy attributes. The width and height of the > square is the minimum value of either the width or the height of the filled > area. The outside of the square is filled with the end color." If the ODF was very clear, calligra and MSO would show it the same way as LO currently shows it. When i read this, "The width and height of the square is the minimum value of either the width or the height of the filled area.", LO doesnt seem to follow this, as it doesnt alter the minimum square to the minimum width or height, as seen in the attached screenshot. It keeps the square as large as the maximum value of either the width or height. > OOXML import and export should be an own issue, but nevertheless a comment: > OOXML has only the gradient types 'linear' and 'path based'. For 'path' it > has the values 'circle', 'rect' and 'shape'. So there exists no direct > mapping for ODF draw:style="square". Read annex L.4.8.4.2, and section > 20.1.10.38 ST_PathShadeType, and section 20.1.8.33 gradFill; all in > ECMA-376, 4th Edition; Office Open XML File Formats — Fundamentals and > Markup Language Reference; December 2012. The nearest mapping would be to > 'rect' and calculate its corner positions based on the current shape in a > way, that the gradient area is a square. Would be great if you could provide a link to this, so i could read more about it. Word 2010 imports both ODF draw:style="square" and draw:style="rectangular" as rectangular gradient. -- 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
