Bug 142798 - FILEOPEN DOCX "Alignment relative to Margin" is wrongly rendered
Summary: FILEOPEN DOCX "Alignment relative to Margin" is wrongly rendered
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
Reported: 2021-06-11 13:06 UTC by Regina Henschel
Modified: 2023-09-11 19:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Textbox with fat border (43.88 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-06-11 13:06 UTC, Regina Henschel
Screenshot Word - LibreOffice side by side (46.69 KB, image/png)
2021-06-11 13:07 UTC, Regina Henschel

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-06-11 13:06:18 UTC
Created attachment 172821 [details]
Textbox with fat border

Open attached document. It has a text box with fat border and is positioned with "Alignment relative to Margin" horizontally and vertically.
In the lower part of the page is a screenshot how it look in Word.

1) Word aligns the outer edge of the border, LibreOffice the snap-rectangle, to the edge of the page text area.
2) Word measures the text padding from the inner edge of the border, LibreOffice from the snap-rectangle.
Comment 1 Regina Henschel 2021-06-11 13:07:13 UTC
Created attachment 172822 [details]
Screenshot Word - LibreOffice side by side
Comment 2 Dieter 2021-06-28 05:09:29 UTC
I confirm it with

Version: (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

in comparison with Word 2016
Comment 3 Justin L 2023-06-08 15:47:06 UTC
repro 7.6