XML API - pdx:setMarkAsFinal

pdx:setMarkAsFinal

Marks the Word document as final.

Note

You are reading the XML API documentation. For the PHP API method please go to setMarkAsFinal.

Description

Element definition

Sets the document as final by blocking the edition capabilities.

This can be easily revoked by the final user through the standard Word interface so it should only be used as an indication that the document is considered "final". If you really want to protect the document you should use the methods available in the Cryptophpdocx and Digital Signature packages.

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code

The resulting Word document looks like: