[Libreoffice-bugs] [Bug 137335] New: FILEOPEN DOCX Whitespace should not define paragraph height

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Oct 8 12:27:09 UTC 2020


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

            Bug ID: 137335
           Summary: FILEOPEN DOCX Whitespace should not define paragraph
                    height
           Product: LibreOffice
           Version: Inherited From OOo
          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: 107830

Created attachment 166186
  --> https://bugs.documentfoundation.org/attachment.cgi?id=166186&action=edit
Example file from Word

Attached docx file was minimized from attachment #166180 of bug #38575
This has some paragraphs that contain TAB or space characters that has
different font size than the paragraph ending pilcrow.
In Word the pilcrow has 5 pt character size and the TAB character 12 pt. The
paragraph height is matching the pilcrows font size while in Writer it matches
the TAB characters set size. 
The same happens with a paragraph containing 12 pt spaces and 8pt pilcrow.
This does not happen if there is only an empty paragraph.
In the original document this causes the last empty paragraph of the first page
to 

Steps to reproduce:
    1. Open attached document.
    2. Compare the empty paragraph heights in Word and Writer

Actual results:
The paragraph after “Herrn / Frau” is taller than in Word because it is matched
to the 12 pt formatting of the TAB character.
The paragraph after Telefon-Nr is also taller because it is matched to the 12
pt formatting of the spaces.
The empty paragraphs before “Herrn / Frau” and after “wohnhaft” are the same
height as in Word, similarly to the non-empty ones.

Expected results:
If a paragraph only has whitespace characters its height should match the
ending pilcrows font size.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: a883002d8e2fd77f80c43b7b2e6ac329d83d929d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

Also happens in:
Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)

Verzió: 4.0.0.3 (Build az.: 7545bee9c2a0782548772a21bc84a9dcc583b89)

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107830
[Bug 107830] [META] DOCX (OOXML) paragraph-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/20201008/4e005f9d/attachment.htm>


More information about the Libreoffice-bugs mailing list