506fa58b | 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
show more ...
|
Revision tags: AOO420-Dev5-m5, AOO4115-GA, AOO4114-GA |
|
01172de6 | 14-Jan-2023 |
Damjan Jovanovic |
rtl's round function is in the namespace ::rtl::math. Patch by: me |
669616fc | 12-Jan-2023 |
Damjan Jovanovic |
Use our own round() function declared in rtl's math.hxx, instead of the system round() function only available in C99 compilers. Patch by: me |
a2fc620d | 12-Jan-2023 |
Damjan Jovanovic |
Windows is missing the round() function, try include <math.h>. Patch by: me |
9621e552 | 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
show more ...
|
0f42b9a0 | 06-Jan-2023 |
Damjan Jovanovic |
Some 3rd party applications write OOXML files whose ZIP entries have filenames in different casing than their XML files specify, eg. sharedStrings.xml is actually stored in the ZIP file as Sh
Some 3rd party applications write OOXML files whose ZIP entries have filenames in different casing than their XML files specify, eg. sharedStrings.xml is actually stored in the ZIP file as SharedStrings.xml. Thus, when we can't find files with their intended casing, do a case-insensitive search within their ZIP directory instead. Fixes: https://bz.apache.org/ooo/show_bug.cgi?id=126720 - no text imported from xlsx Patch by: me
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 |
Revision tags: AOO4121, AOO412, SNAPSHOT, AOO411, AOO410, AOO410_Beta, AOO401, AOO400, AOO340 |
|
0c336801 | 27-Sep-2012 |
Wang Lei |
#i119415 VBA code can't load after open in AOO3.4 Patch by: Chen Peng Review by: Wang Lei git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@13
#i119415 VBA code can't load after open in AOO3.4 Patch by: Chen Peng Review by: Wang Lei git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1390869 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
79aad27f | 15-Feb-2012 |
Herbert Dürr |
remove svn:executable properties from more source files git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1244544 13f79535-47bb-0310-9956-ffa450edef68 |
752c0af7 | 15-Feb-2012 |
Herbert Dürr |
remove svn:executable properties from make and pack files git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1244512 13f79535-47bb-0310-9956-ffa450edef68 |
7871dc3e | 11-Jan-2012 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1229815 13f79535-47bb-0310-9956-ffa450edef68 |
ca5ec200 | 06-Nov-2011 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1198266 13f79535-47bb-0310-9956-ffa450edef68 |
cdf0e10c | 16-Aug-2011 |
rcweir |
Initial import of the old OOo hg repository tip revision. .../trunk/main is a copy of (currently tip-most) http://hg.services.openoffice.org/OOO340/rev/c904c1944462 .../trunk/
Initial import of the old OOo hg repository tip revision. .../trunk/main is a copy of (currently tip-most) http://hg.services.openoffice.org/OOO340/rev/c904c1944462 .../trunk/extras/l10n is a copy of (currently tip-most) http://hg.services.openoffice.org/master_l10n/OOO340/rev/af6bc9467af5 Note that the following files with line-end and/or encoding anomalies were left out (they will need to be to be checked in separately): /ooo/trunk/core/dictionaries/de_DE/README_hyph_de_DE.txt /ooo/trunk/core/dictionaries/de_CH/README_hyph_de_CH.txt /ooo/trunk/core/dictionaries/de_AT/README_hyph_de_AT.txt /ooo/trunk/core/gettext/gettext-0.18.1.1.patch /ooo/trunk/core/apache-commons/patches/codec.patch /ooo/trunk/core/libcroco/libcroco-0.6.2.patch /ooo/trunk/core/testautomation/writer/optional/input/import/mactext.txt /ooo/trunk/core/graphite/graphite-2.3.1.patch /ooo/trunk/core/hwpfilter/source/hwpeq.cpp /ooo/trunk/core/solenv/bin/cwstouched.pl /ooo/trunk/core/readlicense_oo/html/THIRDPARTYLICENSEREADME.html /ooo/trunk/core/writerfilter/source/doctok/escher.html /ooo/trunk/core/writerfilter/source/odiapi/qname/resource/office2003/WordprocessingML Schemas/xsdlib.xsd /ooo/trunk/core/writerfilter/source/odiapi/qname/resource/office2003/WordprocessingML Schemas/wordnetaux.xsd /ooo/trunk/core/filter/source/xslt/odf2xhtml/export/common/body.xsl /ooo/trunk/core/filter/source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl Also: Repository.mk from the l10n toplevel git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1162288 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|