[Libreoffice-bugs] [Bug 123476] Detect 0-byte files based on extension

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 15 07:57:39 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123476

--- Comment #3 from Mike Kaganski <mikekaganski at hotmail.com> ---
Regarding the initialization: should something specific be done with the new
document depending on the filter? E.g., for a 0-byte .docx, should we simply
create a new Writer document (using default template) and set its filter to
DOCX, or should we initialize it as if that is a DOCX - which would mean
different default fonts, compatibility options, etc. (whatever is done in DOCX
importer when a valid DOCX is imported, before actual DOCX data is read)?
Should all filters be modified to be able to do that then? Would that require
to have own default templates for all filters, of should the one default
template for the module be used anyway, with application of filter-specific
modifications (with a risk of the resulting new document to differ from the
template as used in normal new document creation)?

-- 
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/20190215/9362d6a3/attachment-0001.html>


More information about the Libreoffice-bugs mailing list