https://bz.apache.org/ooo/show_bug.cgi?id=127464

--- Comment #23 from Regina Henschel <[email protected]> ---
The parts with oBitmaps look suspicious. An object
("com.sun.star.drawing.BitmapTable") is used for background filling. But it
looks as if you only want to add an image to the draw page of the sheet, not to
use this image as background. Try to comment out statements, which use
oBitmaps. You might need to adapt pathes, from where the images are loaded by
the macro.

As a general rule for huge images, only work with linked images and do not
manipulate the images in OpenOffice but use a dedicated application for that.
For example, do not rotate an image in OpenOffice, but rotate it outside and
then insert the rotated image into OpenOffice as link.

[Work on a copy of the file!] If you need to remove the images from an existing
file, then you can unpack the file. It is actually a zip-container. Then open
the sub-document styles.xml in an editor and remove all the <draw:fill-image
... lines.
Open the subfolder Pictures and remove all pictures. After that mark all the
content and pack it.
You might want to use the scripts (Linux or Cygwin) posted in
https://lists.oasis-open.org/archives/office/201706/msg00001.html to unpack and
pack it.

Using linked images needs to load at least those images, which are currently
visible. Have you already adapt the settings in Tools > Options > OpenOffice,
item Memory, to your huge amount of images and to the huge size of the images?

Do you need all of these images at the same time? Perhaps you can divide the
problem in smaller tasks?

For to learn Basic use the book from Andrew Pitonyak.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to