Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

One of the programs I use heavily in Ubuntu is Open/LibreOffice as part of my work specifically Draw.

I recently upgraded to Natty 11.04 (clean install) obviously this has meant switching to LibreOffice. I know I can go back to OpenOffice if I want to but Oracle seem to be more interested in lawyers than FOSS and I'm sure LO will be a lot better in a short period of time.

The only problem I have found switching is a strange (irritating) difference which doesn't seem to have a config setting that I can change. In OO When I select an image and insert a new one it will "replace" the original using the same dimensions in LO this is not the case the image is simply added to the page whether you select an image on the page or not.

I did find an OO extension which provides the same functionality

Change picture extension -

The main issue is the extension doesn't use the "working directory" of LO so you have to navigate to the correct directory each time (censored). As I will be doing this for 4 pictures per document and over 1000 documents and possibly many more in the future my sanity is at stake.

So if any one has any insights on the easiest way to solve this one thanks in advance.

share|improve this question
up vote 4 down vote accepted

LibreOffice is the same office suite that has been shipped in previous Ubuntu releases. Many of LibreOffice's first improvements were patches from the go-ooo project which were already being used in major Linux distributions. If expected and optimal behavior changed from one release to the next that is a regression and you should file a bug about it.

The OpenDocument Format is actually a zipped XML format. It may be possible to write a script to replace the images since you are having to repeat the action so many times.

share|improve this answer
Thanks Jeremy I will be reporting the bug I was kind of hoping that it was an option which had been defaulted to off position in the switch to Libre. I have tried looking for scripted/batch editing of OO documents before and haven't found anything if you have any examples could you drop a link? – Allan May 8 '11 at 11:44
Sorry, I haven't found any links nor have I ever done this. I was just pointing out that it's likely possible for a good scripter. – Jeremy Bicha May 8 '11 at 11:52
2 The bug refers to Impress but it seems the bug is in core thus effecting all parts of Libre Office. – Allan May 8 '11 at 13:10
I would like to add that an upstream bug with LO has been filed based on the LP report: – Glutanimate Mar 29 '13 at 6:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.