Bug 161714 - FILEOPEN DOCX Grouped shape vertical position incorrect if set to "Below line"
Summary: FILEOPEN DOCX Grouped shape vertical position incorrect if set to "Below line"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Grouped-Shapes
  Show dependency treegraph
 
Reported: 2024-06-20 12:56 UTC by Gabor Kelemen (allotropia)
Modified: 2024-06-21 01:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word 2016 (105.80 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-06-20 12:56 UTC, Gabor Kelemen (allotropia)
Details
The position settings of the grouped shape in Word and Writer (111.25 KB, image/png)
2024-06-20 12:57 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-06-20 12:56:52 UTC
Created attachment 194855 [details]
Example file from Word 2016

Attached example file contains some text and a grouped shape whose vertical position is set as Absolute position of 0.35 cm "Below line".

In Writer it opens somewhat closer to the top of the page than in Word, so it covers more of the right-aligned XXX characters.

1. Open attached file
-> Grouped shape covers the text above it more than in Word.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d7aeaeafc32f78ca38942868f965bae0e6c376b1
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

and in older versions as well, it used to be differently bad before 6.0 or so.

Setting is imported as "From bottom" 0.35 cm to "Line of text".
However, if I change it to be -0.35 cm, it seems to jump to the correct location.
Comment 1 Gabor Kelemen (allotropia) 2024-06-20 12:57:34 UTC
Created attachment 194856 [details]
The position settings of the grouped shape in Word and Writer
Comment 2 m_a_riosv 2024-06-21 01:17:16 UTC
Reproducible with
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d7aeaeafc32f78ca38942868f965bae0e6c376b1
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Inherited form AOo

Some improvement had happened, similar to the result with dev version
Versión: 5.4.7.2
Id. de compilación: c838ef25c16710f8838b1faec480ebba495259d0
Subprocs. CPU: 16; SO: Windows 6.2; Repres. IU: predet.; 
Configuración regional: es-ES (es_ES); Calc: CL