Apache OpenOffice (AOO) Bugzilla – Issue 119086
Write-protected document cannot be modified by API
Last modified: 2013-02-24 21:08:32 UTC
Since OpenOffice.org version 3.3 it is possible to have a password protecting a Calc or Writer document from modifications. Such document can be read, not modified. See http://www.openoffice.org/dev_docs/features/3.3/#Increased_Document_Protection_in_Writer_and_Calc The API aspect has been forgotten in the development. The consequence is that such documents cannot be created or modified by program. It should be possible, by API : - to create a document and save it with a password for write-protection - to open a write-protected document, modify it if the password is provided, and save it keeping the write-protection.