Ask Your Question

How to enable edit-mode by default?

asked 2016-08-02 16:51:12 +0200

ftftft gravatar image

I have an .xls spreadsheet which was created by, and is opened with, LibreOffice 5 under Windows 10.

The file is intentionally set to read-only, however I would like to be able to edit it as read-only with no save permissions (in the same way as VIM handles read-only files).

When I open the file, LibreOffice keeps it locked to changes by default and I have to manually turn on Edit Mode.

I would like to have edit-mode enabled by default for all read-only files I open with LibreOffice. I do not want to use the File>Properties>Security options, because I want the OS to handle the file's read-only properties.

Is this possible?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-08-23 21:57:14 +0200

mark_t gravatar image

You could open the documents as a template, this creates a new read/write file with a copy of the existing read only document. If you need to save changes you have to write to a new file and then resolve differences with the original.

On windows using a batch file, you can use open with and select the batch file as an easy way to open a document as a template.

"C:\Program Files\LibreOffice 5\program\soffice" -n %1

I've been thinking to expand this to check if a document is open, if it is then warn user and give option to open as a template. I don't have that working so just using the above simple bat file for now.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2016-08-02 16:51:12 +0200

Seen: 3,068 times

Last updated: Aug 23 '16