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

          Priority: medium
            Bug ID: 63603
          Assignee: [email protected]
           Summary: FILEOPEN regression: .doc style named "Default"
                    confused with default style
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.0.2.2 release
         Component: Writer
           Product: LibreOffice

Created attachment 78079
  --> https://bugs.freedesktop.org/attachment.cgi?id=78079&action=edit
DefaultStyle.doc

Steps to reproduce:
1) Open the attached DefaultStyle.doc file in LibreOffice. Observe the font is
Arial 11pt.
2) Save as DefaultStyle2.docx, close
3) Open DefaultStyle2.docx in either LibreOffice or Word.  The font has become
Times New Roman italic underlined 18pt.

This problem does not occur with LibreOffice 3.6.6, but it does occur in 4.0.2
and git master(4.1alpha).

The key feature of this Word document is that it contains:
- the "Normal" style set to Arial 11pt, which maps to the LibreOffice default
style
- another (unused) style named "Default" set to Times New Roman italic
underlined 18pt

Interestingly the symptom is not visible when saving as .doc, however when the
resultant doc is then converted to docx using MS Word, the problem appears! 
Again this only occurs using LO 4.0.2 not 3.6.6

A clue: using LibreOffice to save the original document as ODT shows a
difference between the working and the broken versions:
- LO 4.0+: styles.xml within the ODT contains both a <style:default-style>
element and a <style:style style:name="Default"> element.
- LO 3.6.6: styles.xml contains only the <style:default-style>, not the
<style:style style:name="Default"> element.

This difference in ODT suggests the change occurred at import time rather than
export time.

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

Reply via email to