[Libreoffice-bugs] [Bug 133661] New document created using Explorer New context menu (ShellNew) must match LibreOffice's new document settings
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 18 07:39:37 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=133661
Mike Kaganski <mikekaganski at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #164392|0 |1
is obsolete| |
--- Comment #6 from Mike Kaganski <mikekaganski at hotmail.com> ---
Created attachment 164399
--> https://bugs.documentfoundation.org/attachment.cgi?id=164399&action=edit
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200818/0b87719e/attachment.htm>
More information about the Libreoffice-bugs
mailing list