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

--- Comment #2 from Eyal Rozenberg <[email protected]> ---
So, what do we have in there?

1. An opening XML header with 42 attributes, 40 of which are xmlns values. The
other two are "office:version" and "office:mimetype".
2. A 30-line <config:config-item-set config:name="ooo:view-settings"> element
3. A ~115-line <config:config-item-set
config:name="ooo:configuration-settings"> element.
4. A 4-line <scripts> element, linking to an ooo:libraries-wrapped URL.
5. A 9-line <font-face-decl> element, which declares 7 fonts, while only one is
used
6. ~105-line <styles> element, containing 17 distinct styles, including a
graphics style, outline numbering, footnote and endnote configuration, a color
scheme that's unused, 
7. A 13-line <body> element, mostly containing a 7-line <text:sequence-decls>
element with unused sequences. 


(In reply to Mike Kaganski from comment #1)
> Why?

For several reasons:

1. Much of that is not necessary to reproduce the document as created and
entered.
2. Some of that has no effect even in principle and is just redundant
3. The user may not intend for all of this information to be embedded into the
document.

Now, reason (3.) is only true sometimes / for some users. And, in fact, the
question of whether to include unnecessary information, but which, when used,
will make additional edits to the document feel more like they would have on
the original author's machine - that's another matter users might have a
preference about. Pure redundancies are separate, and I believe we are also see
a few of those.

> it must have all the metadata (including styles).

Why must it, for example, have meta-data that's not used, e.g. styles that
aren't used?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to