/aoo42x/main/oox/source/helper/ |
H A D | openssl_wrapper.cxx | 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
H A D | binaryoutputstream.cxx | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
/aoo42x/main/oox/inc/oox/core/ |
H A D | encryption.hxx | 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
H A D | filterdetect.hxx | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
/aoo42x/main/oox/inc/oox/helper/ |
H A D | openssl_wrapper.hxx | 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
H A D | binaryoutputstream.hxx | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
/aoo42x/main/oox/source/core/ |
H A D | encryption.cxx | 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
H A D | filterdetect.cxx | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
/aoo42x/main/oox/ |
H A D | Library_oox.mk | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
/aoo42x/main/oox/source/token/ |
H A D | tokens.txt | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
H A D | namespaces.hxx.tail | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
H A D | namespaces.txt | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|
/aoo42x/main/ |
H A D | NOTICE | diff 4e7b0f82 Sat Mar 02 16:47:05 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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)
|