Bug 80473

Summary: Wrong style applied to DOCX paragraph when open in CJK UI (because of wrong style hereditability)
Product: LibreOffice Reporter: Kevin Suo <suokunlong>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: major    
Priority: medium CC: philipz85
Version: 4.1.6.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=76255
Whiteboard: PossibleRegression bibisectRequest
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 83066    
Attachments: another test docx file

Description Kevin Suo 2014-06-24 10:02:32 UTC
Description:

The docx document in ttachment 95916 was created by saving the doc doucment in attachment 95915 [details] of bug 76255 by libreoffice with non-english UI. 

When open the docx document with libreoffice non-english UI, paragraphs "A. Heading 2" and "B. Heading 2" are aligned centered, rather than left. (Please not that the original doc file - the source file where the docx file comes from - is showing these two paragraphs aligning left.)

The docx file open with Microsoft Office 2010 is showing these paragraphs aligning left as expected.

This bug is related with bug 76255, which is regarding the broken styles hereditability.
Comment 1 Jay Philips 2014-06-24 10:19:12 UTC
Confirmed attachment 95916 [details] has Headings centered in 4.1.6, 4.2.5 and 4.3.0 on Linux Mint with a zh-CN UI. This doesnt effect arabic or japanese UIs.
Comment 2 Kevin Suo 2014-10-01 13:02:54 UTC
Created attachment 107187 [details]
another test docx file

This is another test docx file.
* Style "大标题" (Title) should be based on "标题" (Headings), but now in LibreOffice 4.3.2.2 it's based on "默认样式" (Default Style).
* Style "标题 1" (Heading 1), "标题 2" (Heading 2), "标题 3" (Heading 3) and "分标题" (Sub-title) should be based on "标题" (Headings), but now in LibreOffice 4.3.2.2 it's based on ""大标题" (Title)"
* The above wrong style hereditability caused the text contents which have "标题 1" (Heading 1), "标题 2" (Heading 2) or "标题 3" (Heading 3) styles applied to be showing wrong paragraph format.
Comment 3 Kevin Suo 2014-10-01 13:11:38 UTC
Also reproduce with Japanese UI, version 4.3.2.2.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.