[Libreoffice-bugs] [Bug 132807] New: FILEOPEN DOCX Auto value of Spacing Before from numbered list style becomes 0.49 cm

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 7 11:10:55 UTC 2020


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

            Bug ID: 132807
           Summary: FILEOPEN DOCX Auto value of Spacing Before from
                    numbered list style becomes 0.49 cm
           Product: LibreOffice
           Version: 7.0.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org
            Blocks: 108770

Created attachment 160492
  --> https://bugs.documentfoundation.org/attachment.cgi?id=160492&action=edit
Example file from Word (extended version of the #122342 bugdoc)

If we set a Spacing before paragraph property in a style that also contains
numbering, the Auto value is interpreted as 0.49 cm in some cases where it
should be 0.

Steps to reproduce:
    1. Open attached document. It contains a CustomStyle applied to some
paragraphs. This style contains numbering and Spacing before is set to Auto.

Actual results:
The Spacing before should be 0 in these cases:
- If the paragraph is following another paragraph with the same numbered style
(#2, #3 #5 – bad)
- If the paragraph is the first paragraph in a table (#4 #6 #7 - good) 

The spacing should not be 0 if:
- The paragraph is following a non-numbered paragraph (#1 - good)
- The paragraph is following a numbered paragraph with the CustomStyle, but the
numbering is removed from it (the ones after #6 and #8 - good)
- The paragraph is after a table (#8 – good)

Expected results:
Same appearance as in Word.

LibreOffice details:
Version: 7.0.0.0.alpha1+ (x86)
Build ID: 7e257697f0006d8247a23ac91...
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108770
[Bug 108770] [META] DOCX (OOXML) bullet and numbering list-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200507/7fcd5c6b/attachment.htm>


More information about the Libreoffice-bugs mailing list