To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=48495
------- Additional comments from [EMAIL PROTECTED] Mon Jul 4 09:24:51 -0700
2005 -------
AW: Tried a simple fix, just cropping the output when a quadraticpixel size
value is reached (a fixed one for now). Code is:
// #i48495#
// When this is done on a very fine resolutin
OutputDevice (e.g. PDF export)
it may lead
// to problems since huge bitmaps may be
created. Sizes need to be cropped
here. Later
// it may be nice to have the quadratic pixel
size configurable somewhere.
const sal_uInt32 nMaxBitmapPixels(800L * 800L);
const sal_uInt32
nAllPixels(aPixelSize.getWidth() * aPixelSize.getHeight());
if(nAllPixels > nMaxBitmapPixels)
{
const double
fScale(sqrt(nMaxBitmapPixels) / sqrt(nAllPixels));
aPixelSize.setWidth(FRound(aPixelSize.getWidth() * fScale));
aPixelSize.setHeight(FRound(aPixelSize.getHeight() * fScale));
}
and needs to be put between
Size aPixelSize(aSnapRectPixel.GetSize());
and
BitmapEx aTempBitmapEx =
aTempGraphic.GetBitmapEx(&aPixelSize);
in SdrGrafObj::ImpDoPaintGrafObjShadow.
---------------------------------------------------------------------
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]