[Libreoffice-bugs] [Bug 138895] New: FILEOPEN DOCX Shape distance from text imported with rounding error

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 14 13:38:03 UTC 2020


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

            Bug ID: 138895
           Summary: FILEOPEN DOCX Shape distance from text imported with
                    rounding error
           Product: LibreOffice
           Version: 5.0.0.5 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org, vmiklos at collabora.com
            Blocks: 104442

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

Attached file was reduced from the attachment #130189 of bug #105134
This document has some textboxes that have different values set for distance
from text.
These values are imported to Writer with a tiny rounding error.

Steps to reproduce:
    1. Open attached file

Actual results:
The last line of the bulleted paragraph is below the textbox with red text.
This is because the distance from text values are a bit incorrectly imported:
- Left: 1.27 cm -> 1.32 cm
- Right: 0.76 cm -> 0.84 cm
- Top and Bottom: 0.51 cm -> 0.56 cm

Expected results:
Same values as in Word.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 61d07657caab5e0fb8ec4446f67a7044e14dae4b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Also in:
Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: en-US (hu_HU); Calc: CL

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

Not yet in:
Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: hu_HU
The textbox was imported as shape, with correct distance values. The last line
of the previous paragraph was not broken below the shape, just like in Word.

Additional Information: 

Bibisected using bibisect-win32-5.0 to:
URL:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=a5a836d8c43dc9cebbbf8af39bf0142de603a7c6 
author  Miklos Vajna <vmiklos at collabora.co.uk>  2014-12-04 10:42:40 +0100
committer       Miklos Vajna <vmiklos at collabora.co.uk>  2014-12-04 11:25:38
+0100

DOCX filter: effect extent should be part of the margin

Adding CC to: Miklos Vajna


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104442
[Bug 104442] [META] OOXML shape (DrawingML and VML) 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/20201214/e8fb8182/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list