On 25.12.2015 06:08, Zhang, William wrote: > > Does anyone know how to decrypt an encrypted Libreoffice Calc file with > Java or other languages? Or even some workarounds. Thanks a lot!
the Apache ODF Toolkit ODFDOM library supports ODF encryption, at least with the "old" Blowfish/SHA1 algorithms that were used in LO <= 3.5 (i'm not aware if anybody has added support for AES, which is used since LO 3.5). http://incubator.apache.org/odftoolkit/odfdom/index.html see the "password" parameter on the constructor of class org.odftoolkit.odfdom.pkg.OdfPackage _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice