XmlApi - pdx:setMarkAsFinal

pdx:setMarkAsFinal

Marks the Word document as final.

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: