How secure is password protection for documents?

I was unable to find any indication to the security of the password protection feature on LibreOffice. How secure are password protected documents? Does it use mainstream encryption protocols, such as AES, or something else to secure the documents?

https://wiki.documentfoundation.org/ReleaseNotes/3.5#Different_Encryption_Algorithm

See my technical analysis in this question.

Thanks man!