In C #, the file is closed (open only for reading) by the Document.Protect() command.

Is it possible to somehow determine whether the file is closed in PHP?

In essence, Document.Protect() changes the internal attributes of a file, and using PHPDOCX you can read them and determine whether the file is closed or not. But what attributes should be read - without a clue.

    0