3

I have a certain template file for LO Writer.

How can I edit that file directly, i.e. not by creating a new .odt file and saving it as a .ott file again?

This question is based on the following experience: under Windows, it is possible to right-click the file and choose something along the lines of Edit this file, which then open the .ott-file itself instead a blank new document.

4

Like most LibreOffice file formats, the .ott file is just a compressed archive. Rename it to filename.zip and open it with the archive manager. You will find several files and folders in it. Most likely you want to edit the contents.xml file. When you're done, compress the files and rename the file to newfilename.ott. Unless you have made a mistake somewhere, you can open this file with LibreOffice. LibreOffice is not very lenient towards errors in the XML markup, and will refuse to open the file if you forget to close a tag, for instance.

  • This does not help. I amended my op to clarify the issue. – henry Feb 5 '15 at 16:10
2

Select

  1. File -> Templates -> Manage

  2. Click on the template of interest.

  3. Click the 'Edit' button that appears in step 2).

If your template doesn't appear in the list of templates then you may need to import it.

  • File -> Templates -> Manage

  • Click the 'Import' button.

1

The best solution I've found is to open the template file you want to edit; this gives you an "Untitled 1" document.

However, you can edit this and save it over the old template file.

It's not as slick as using Microsoft Word on Windows, but it accomplishes essentially the same thing.

  • This works but is not intuitive at all. I recall some menu option to "edit as template" or similar, but it seems to have vanished... – holmb Jun 14 '17 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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