How can I change all images' size in one go?

asked 2016-11-17 17:32:45 +0100

dvadell gravatar image

updated 2016-11-17 17:51:05 +0100

Hi evrerybody!

I'm using LibreOffice 5.2.3.3.

I have a writer document with about 100 images. I want them to have a width of 100%, preserving the ratio. I would rather not go one by one to change it.

I tried changing the "Graphics" style, but it only updates the image when I select it and doulbe click on the style. I'm using F11 to open the style window. I tried resizing the frame style, but it just... reisized the frame.

I tried using the Alternative Find&Replace extension, and I can change the width and height with it, but I can't preserve the ratio of the images.

I found https://forum.openoffice.org/en/forum... (I supposed OpenOffice is more or less similar), but it didn't worked. Not even those workarounds.

Does anibody knows to change all the images I have? I'm open to editing styles.xml, or any other file. Maybe opening the file and using the "convert" utility (part of ImageMagick) to reize all the images?

Alternative Edit&Replace changes the properties (like FillBackground = False, or Width = 130000). Is there a property like that that would preserve the aspect ratio?

Thanks in advance,

edit retag flag offensive close merge delete