https://bugs.freedesktop.org/show_bug.cgi?id=72884

--- Comment #15 from Matthew Francis <fdb...@neosheffield.co.uk> ---
Results of similar analysis of the larger document:

Roundtrip by Save in LO (as .doc or .docx) -> Reopen -> Issue not present

Roundtrip by Open in Word (Mac, 2011) -> Save as .docx -> Reopen in Word ->
Save as .doc -> Reopen in LO -> Issue still present


Thus, comparing the OOXML saved by LO and Word to find the difference, it is
quickly apparent that where LO writes in document.xml:

        <w:p>
            <w:pPr>
                <w:pStyle w:val="Normal"/>
                <w:spacing w:lineRule="auto" w:line="360"/>
            </w:pPr>
            <w:r>
                <w:rPr>
                    <w:color w:val="000000"/>
                    <w:sz w:val="28"/>
                    <w:szCs w:val="28"/>
                    <w:lang w:val="uk-UA"/>
                </w:rPr>
                <w:t>Рoздiл 1. Прaвoвi зaсaди тa мeхaнiзми мирoтвoрчoї
дiяльнoстi ЛAД..............12</w:t>
            </w:r>
        </w:p>

The same line of text written by Word instead goes:

        <w:p w:rsidR="000137C5" w:rsidRPr="004F22BB" w:rsidRDefault="000137C5"
w:rsidP="000137C5">
            <w:pPr>
                <w:spacing w:line="360" w:lineRule="auto"/>
                <w:rPr>
                    <w:color w:val="000000"/>
                    <w:sz w:val="28"/>
                    <w:szCs w:val="28"/>
                    <w:lang w:val="uk-UA"/>
                </w:rPr>
            </w:pPr>
            <w:r w:rsidRPr="004F22BB">
                <w:rPr>
                    <w:color w:val="000000"/>
                    <w:sz w:val="28"/>
                    <w:szCs w:val="28"/>
                    <w:lang w:val="uk-UA"/>
                </w:rPr>
                <w:t>Р</w:t>
            </w:r>
            <w:r w:rsidR="0004393B" w:rsidRPr="004F22BB">
                <w:rPr>
                    <w:color w:val="000000"/>
                    <w:sz w:val="28"/>
                    <w:szCs w:val="28"/>
                    <w:lang w:val="uk-UA"/>
                </w:rPr>
                <w:t>o</w:t>
            </w:r>
            <w:r w:rsidRPr="004F22BB">
                <w:rPr>

                ...

...for a total of 42 <w:r> for one line of text, each with one or only a few
characters in it. LO appears to be merging these segments on load, while Word
does not.

In total, in the version of the OOXML saved by LO there are 1102 <w:r>, while
in the Word version there are 76028.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to