To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103340
User aw changed the following:
What |Old value |New value
================================================================================
Assigned to|aw |af
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Mon Nov 23 17:38:26 +0000
2009 -------
AW: Found. Reason is that MaskPrimitive2D has no getB2DRange() implementation.
The BoundRects are calculated based on primitives nowadays, and the object in
question has an animated text (scrolltext). That scrolltext contains the
animation primitive and timing and is itself embedded in a MaskPrimitive2D to
have the scrolltext clipped to the object.
With the missing that MaskPrimitive2D::getB2DRange() implementation the default
implementation from GroupPrimitive2D is taken which returns the range of the
child context, thus the current BoundRects get too big. This normally does not
show since a too big BoundRect normally is no problem.
In this case it is. What is needed:
in drawinglayer/inc/drawinglayer/maskprimitive2d.hxx:
/// get range
virtual basegfx::B2DRange getB2DRange(const
geometry::ViewInformation2D&
rViewInformation) const;
and in drawinglayer/source/primitive2d/maskprimitive2d.cxx:
basegfx::B2DRange MaskPrimitive2D::getB2DRange(const
geometry::ViewInformation2D& /*rViewInformation*/) const
{
return getMask().getB2DRange();
}
This fixes the BoundRect calculation.
AW->AF: Please add the code (or let me do in Your CWS of question). After that,
the scroll text works again as before.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]