At 13:44 25/01/2016 +1100, Wayne Olling wrote:
I am sorry to be a bother.

There's no indication you have been.

Since the beginning of this year I am not able to convert an odt. or doc. file to pdf when I click on the pdf icon in the tools gallery. When I click on the icon it produces the intended question of saving the file as a pdf by title but when I click on that I get a message saying the file already exists and asks do I want to replace it. When I click 'yes' I get a message saying that there was a write error and the file could not be written.

OpenOffice has a strange option in both the Save As... and Export dialogue boxes. Near the bottom, you will see an "Automatic file name extension" tick box. Has this become unticked? If it has, you will be saving documents in the correct format, but the file names will not be getting the proper extension. So a text document will be called just "name" rather than "name.odt": you will have a valid file but without the correct extension. Like this, the documents will not open in the correct application when they are double-clicked, but they can be opened in other ways.

If you attempt to export such a file as PDF, the tick box will still be empty, so you will be trying to create a file named "name" instead of "name.pdf". But that means, of course, that you are saving the PDF copy over the original ODT document - also now called just "name". The error message you see is because the ODT version (albeit also without the appropriate extension) is locked by the fact that you have it open in OpenOffice.

All you need to do is to replace that tick in "Automatic file name extension". Once you have done this, it will stick - just as the absence did.

This occurred with Open Office 4.1.1 from early January 2016 and even after I converted to 4.1.2 late last week.

This setting will be saved in your OpenOffice user profile, and this is intentionally preserved across any upgrade in order to maintain your choices. So yes: it makes sense that upgrading will not have affected matters.

I trust this helps.

Brian Barker


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org

Reply via email to