[Libreoffice-bugs] [Bug 118032] FILESAVE: gradient not exported to PDF
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 2 11:17:12 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118032
--- Comment #2 from Bartosz <gang65 at poczta.onet.pl> ---
It seems that this document has PPT document inside.
The root cause of the issue is this part of code, which breaking clipping
target region:
const basegfx::B2DRange aMtfRange(aMtfTarget.Left(),
aMtfTarget.Top(), aMtfTarget.Right(), aMtfTarget.Bottom());
// tdf#113197 get content range and check if we have an overlap
with
// defined target range (aMtfRange)
if (!aMtfRange.isEmpty())
{
const basegfx::B2DRange
aContentRange(xRetval.getB2DRange(rViewInformation));
// also test equal since isInside gives also true for equal
if (!aMtfRange.equal(aContentRange) &&
!aMtfRange.isInside(aContentRange))
{
// contentRange is partly larger than aMtfRange (stuff
sticks
// outside), clipping is needed
const drawinglayer::primitive2d::Primitive2DReference
xMask(
new drawinglayer::primitive2d::MaskPrimitive2D(
basegfx::B2DPolyPolygon(
basegfx::utils::createPolygonFromRect(
aMtfRange)),
xRetval));
xRetval =
drawinglayer::primitive2d::Primitive2DContainer{ xMask };
}
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181102/12253e9b/attachment.html>
More information about the Libreoffice-bugs
mailing list