[ 'true'|'false'|'toggle' ]? [
Changes the state of specified document from read-only to editable or the other way round.
setReadOnly, this command also acts on the write lock, if any, of specified document:
When the state of a locked document is changed from editable to read-only, the lock is automatically removed.
When the state of a document is changed from read-only to editable (and the user wishes her/his documents to be locked), a lock is automatically added.
Ensures that specified document is in read-only state.
Ensures that specified document is in editable state.
Changes the state of specified document from read-only to editable or the other way round. This is the default option.
Specifies document location. By default, applies to the current document.