Frequently asked questions - Writer
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
How do I protect (block) part of my document so that its content cannot be modified?
You can use a protected section.
Protecting a section of text
- select the text that you want to protect;
- go to ▸ ;
- in the Write protection area of the dialog, check Protect;
- give a name to the section (or keep the default name); and
- click on the Insert button.
You can also create a password for this section. Those who do not know the password will not be able to remove the protection.
Assigning a password to a protected section
- go to ▸ ;
- select the desired section name;
- check the box With password;
- in the dialog that appears, enter a password and confirm it (minimum length of password: 5 characters);
- click OK in the password dialog; and
- click OK in the Edit section dialog.
Editing a previously protected section
If you try to modify the content of a protected section, a message box will inform you that this is impossible: Read-only content cannot be changed. No modification will be accepted.
- go to ▸ ;
- select the desired section name;
- uncheck the Protected box;
- if necessary, enter your password in the dialog that appears and click on OK;
- click on OK in the main dialog;
- make the desired modifications to the text; and
- follow the stages "Protecting a section of text" described above to reprotect the section.