To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=48495


User sj changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|RESOLVED                  |REOPENED
--------------------------------------------------------------------------------
                Resolution|FIXED                     |
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Fri Jul  1 07:58:48 -0700 
2005 -------
sj->thb: The reason for the crash I fixed first was the graphic in the bugdoc
with zero size.

But there are more pitfalls awaiting, if you are exporting the bugdoc, a lot of
memory is consumed so that the office might crash on some computers. Another
problem is the time it last to store the document, this is definitely too long.

I think is the shadow on the filled graphic leads to the first problem, in the
method SdrGraphObj::ImpDoGrafObjShadow following code is executed:

...
if(IsObjectTransparent())
{
  // object which casts the shadow is somehow transparent, create a transparent
  // shadow
  Rectangle aSnapRect(GetSnapRect());
  aSnapRect.Move(nXDist, nYDist);
  const Rectangle aSnapRectPixel(pOutDev->LogicToPixel(aSnapRect));

  // get BitmapEx
  Graphic aTempGraphic = GetTransformedGraphic();
  Size aPixelSize(aSnapRectPixel.GetSize());
  BitmapEx aTempBitmapEx = aTempGraphic.GetBitmapEx(&aPixelSize);
....

The result from LogicToPixel is definitive too big to be used for bitmaps if the
device is having such a high resolution as it is having in pdf devices.

The second problem seems to be a similar problem, when painting the fill bitmap
intersect clip region with a rectangle is executed, and in this case the region
is creating too many RegionBands.

I think this issue is in good hands now as I am on vacation next monday and this
issue has to be fixed for OOo2.0 

re-open issue and reassign to [EMAIL PROTECTED]

---------------------------------------------------------------------
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]

Reply via email to