#
4e7b0f82 |
| 02-Mar-2024 |
Damjan Jovanovic |
Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we can open such password-protected OOXML files. Adds all the Agile encryption XML tokens and namespaces, and pa
Implement the (MS Office 2010+) OOXML "Agile encryption" support, so that we can open such password-protected OOXML files. Adds all the Agile encryption XML tokens and namespaces, and parses the XML from EncryptionInfo stream, gets OpenOffice to recognize the file is encrypted and ask for a password, and successfully decrypts the file if password is correct. Also a number of other fixes and improvements: - Sorted main/oox/source/token/tokens.txt so it's in alphabetical order (wrong order might have broken certain tokens?). - Refactored how OOXML encryption is generally handled. It's now in its own file. - Added logging to the FilterDetect class. It logs to the office-wide default logger. - Added a flush() method to the BinaryXOutputStream class. - Changed FilterDetect to use XMultiComponentFactory and XComponentContext instead of the deprecated XMultiServiceFactory. - Error handling was generally improved. - Exception safety and some memory safety (::std::vector instead of new[]) in all the new code. Memory leaks should not be possible. Much of the code involved in the decryption was ported from the excellent Apache POI project, so it's been credited in our NOTICE file. Patch by: me (cherry picked from commit 506fa58b1970084a0caacb50b3a805e469be4756)
show more ...
|
Revision tags: AOO420-Dev5-m5, AOO4115-GA, AOO4114-GA |
|
#
f42644c3 |
| 08-Jan-2023 |
Damjan Jovanovic |
Add support for the new XLSX date type in cells, denoted with attribute t="d", used by Excel 2010. Also refactor the code so the datetime attribute in pivot tables is also parsed by
Add support for the new XLSX date type in cells, denoted with attribute t="d", used by Excel 2010. Also refactor the code so the datetime attribute in pivot tables is also parsed by the same function, and increase the parsing accuracy to the maximum (HundredthSeconds, instead of just Seconds). Fixes: #127034 - xlsx file: imported DateTime cells are empty (Excel 2010 compatible) Patch by: me (cherry picked from commit 9621e552cdf723df9a998b3af4218407d6c66e37)
show more ...
|
Revision tags: AOO420-Dev4-m4, AOO4113-GA, AOO4112-GA, AOO4111-GA, AOO420-Dev3-m3, AOO4110-GA, AOO419-GA, AOO418-GA, 420-Dev2-m2, AOO417, AOO420-Dev-m1, AOO416, AOO416-RC1, AOO415, AOO414, AOO413 |
|
#
b63233d8 |
| 07-Aug-2016 |
damjan |
Merge branches/gbuild-reintegration to trunk. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1755455 13f79535-47bb-0310-9956-ffa450edef68
|