Issue 7663 - Image cliped when resizeing borders and exporting to gif.
Summary: Image cliped when resizeing borders and exporting to gif.
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: Sun SunOS
: P3 Trivial (vote)
Target Milestone: ---
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: oooqa
: 8661 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-09-11 14:30 UTC by Unknown
Modified: 2003-09-08 16:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Drawing that does not export correctly to GIF (6.66 KB, application/octet-stream)
2002-09-15 02:15 UTC, prgmgr
no flags Details
Adjusted margins so that Drawing exports to GIF correctly. (6.45 KB, application/octet-stream)
2002-10-21 00:34 UTC, prgmgr
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-09-11 14:30:39 UTC
I create a Drawdocument and draws som object in the lower part of the document.
Then when I pull down the top margin to remove whitespace from the image, and
exports the image to a gif. The image will be correct size but it will clip the
image. This problem also happends when I do the same operations from 
the api interface.

A sxd document that have this error is located at.
http://www-und.ida.liu.se/~clamu955/testdoc.sxd
And the exported gif looks like this.
http://www-und.ida.liu.se/~clamu955/testdoc.gif
Comment 1 prgmgr 2002-09-15 02:14:53 UTC
Klas, thanks for taking the time to post this issue.

Thank you for using and supporting OOo.


Duplicated on Win NT 4.0 SP6a, OOo 1.0.1.

The next step is to isolate what is causing the OOo to create the bad 
GIF file.
Comment 2 prgmgr 2002-09-15 02:15:55 UTC
Created attachment 2841 [details]
Drawing that does not export correctly to GIF
Comment 3 prgmgr 2002-10-21 00:34:34 UTC
Created attachment 3248 [details]
Adjusted margins so that Drawing exports to GIF correctly.
Comment 4 prgmgr 2002-10-21 00:36:11 UTC
Duplicated on Win NT 4.0 SP6a, OOo 643.

7663testdoc.sxd does not export to GIF properly.

It seems to be caused by the vertical margin that the user as set in 
the drawing.

Increasing the vertical margin size results in a correct GIF export.

7663fixmargin.sxd has a vertical margin setting that allows the 
drawing to be exported to GIF correctly.
Comment 5 prgmgr 2002-10-26 04:05:46 UTC
*** Issue 8661 has been marked as a duplicate of this issue. ***
Comment 6 sven.jacobi 2002-10-28 09:38:40 UTC
This bug has been fixed now and will be available in srx644h.

The fix takes place in:
sd/source/ui/view/sdview.cxx (1.20)
sd/source/filter/grf/sdgrffilter.cxx (1.5)
Comment 7 wolframgarten 2003-01-08 14:05:02 UTC
Closed.