If the file is stored encrypted with a password then you do need the password to be able to open the file in LibreOffice.