Description
Mike Kaganski
2020-06-04 07:54:44 UTC
+1 *** Bug 133678 has been marked as a duplicate of this bug. *** *** Bug 133689 has been marked as a duplicate of this bug. *** *** Bug 135853 has been marked as a duplicate of this bug. *** Created attachment 164392 [details] A *very* empty ODT, suitable for solution #1 This is an example of an ODT manually cleared to the extent it has ~nothing inside. I am not sure it is ODF-compliant, but it opens in Writer OK. It might be suitable for the 1st solution mentioned in comment 0. The other kinds of documents (spreadsheet, ...) are left as easy hacks. Created attachment 164399 [details] A *very* empty ODT, suitable for solution #1 A better empty ODT. It was created from the respective sources using this python code: > from zipfile import ZipFile, ZIP_STORED, ZIP_DEFLATED > > with ZipFile('path/to/empty.odt', 'w') as myzip: > myzip.write('path/to/mimetype', 'mimetype', ZIP_STORED) > myzip.write('path/to/META-INF/manifest.xml', 'META-INF/manifest.xml', ZIP_DEFLATED) > myzip.write('path/to/content.xml', 'content.xml', ZIP_DEFLATED) And the result passes https://odfvalidator.org. The other ODF documents (ODS, ...) are left as easyhack. https://gerrit.libreoffice.org/c/core/+/100899 is the sample change for soffice.odt. Marking this easyhack, so that people could work on other template documents. Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3a7a06067e545670ef64367ef602469f507a3df7 tdf#133661: make soffice.odt a bare minimal ODT, with no data at all It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Ezinne Nnamani committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ba0f4652b6743b3de6d692f87f688238a0eee9ce tdf#133661 Modified soffice.odp/ods/odg files to empty bare minimal ODF files It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. *** Bug 136769 has been marked as a duplicate of this bug. *** *** Bug 140790 has been marked as a duplicate of this bug. *** |