There is a silly bug when exporting OOo Draw document into GIF and BMP. It is ment to export the content of the page that is within margins (I suppose) wheras it makes a small mish-mash over there. The part of the picture that is actaully being exported has a size of the the part of page constrained with margins, however it starts in the top-left corner of the page (not the margined part of a page).
To make it more clear for programmers I would say it is like this
w = MarginMaxX - MarginMinX; h = MarginMaxY - MarginMinY; ExportImage(PageMinX, PageMinY, w, h);
instead of:
w = MarginMaxX - MarginMinX; h = MarginMaxY - MarginMinY; ExportImage(MarginMinX, MarginMinY, w, h);
I don't have time right now to look in the code personally because it's the exam rush at my University right now, however I hope to make it in near future. Hope this e-mail helps You...
Michal Tomczewski
PS. I did not test with other graphic formats (only these two) however I believe it would be the same...
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
