https://bugs.documentfoundation.org/show_bug.cgi?id=136434
--- Comment #24 from Christian Lehmann <[email protected]> --- I have finally gotten around to do the test. To my understanding, there are more than one issue involved here: 1) Can one shrink the size of an ODT file by saving it in ODF Format Version 1.3? 2) Does the content.xml of an ODT file contain redundant styles of the kind "<style:style style:name="T2375" ..."? Maybe two separate enhancement proposals should be created for discussion. Ad 1: Yes. The file I had been working with weighs 2.523 KB. Saved in Format Version 1.3, it weighs 2.016 KB. However: a) The Help function on Load/Save options does not even mention this menu item, let alone explain it. b) The menu item is provided with a warning "Not using ODF 1.3 Extended may cause information to be lost." Now this is malicious because the user is not told what kind of information is being meant. In the case of the test file, no losses are visible. Thus: i) Saving a complex file in 1.3 format and then go on working with it may imply an incalculable risk. ii) If no information is lost, then what is the advantage of working with the 1.3 Extended format? Ad 2: I will just mention two cases of style definitions and style marking in the content.xml of test_san.odt exported to 1.3 Format which seem redundant: a) <style:style style:name="T2373" style:family="text"><style:text-properties style:font-name="Cambria1" style:font-name-asian="MS Mincho1" style:language-asian="none" style:country-asian="none"/></style:style> <style:style style:name="T2374" style:family="text"><style:text-properties style:font-name="Cambria1" style:font-name-asian="MS Mincho1" style:language-asian="none" style:country-asian="none"/></style:style> <style:style style:name="T2375" style:family="text"><style:text-properties style:font-name="Cambria1" style:font-name-asian="MS Mincho1" style:language-asian="none" style:country-asian="none"/></style:style> <style:style style:name="T2376" style:family="text"><style:text-properties style:font-name="Cambria1" style:font-name-asian="MS Mincho1" style:language-asian="none" style:country-asian="none"/></style:style> <style:style style:name="T2377" style:family="text"><style:text-properties style:font-name="Cambria1" style:font-name-asian="MS Mincho1" style:language-asian="none" style:country-asian="none"/></style:style> <style:style style:name="T2378" style:family="text"><style:text-properties style:font-name="Cambria1" style:font-name-asian="MS Mincho1" style:language-asian="none" style:country-asian="none"/></style:style> [Paragraph breaks added for clarity!] b) Adjacent stretches of running text are separately formated by the same style, e.g.: <text:span text:style-name="T11515">xxx xxx xxx</text:span><text:span text:style-name="T11515">xxx xxx xxx</text:span> This should be: <text:span text:style-name="T11515">xxx xxx xxxxxx xxx xxx</text:span> I offer to continue this search for redundancies on condition that somebody is willing to take care of them. -- You are receiving this mail because: You are the assignee for the bug.
