Bug 138366 - Vertical space after text is ignored when v-aligned to bottom of textbox
Summary: Vertical space after text is ignored when v-aligned to bottom of textbox
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, implementationError
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2020-11-20 10:08 UTC by Hannes
Modified: 2023-09-16 21:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Steps to reproduce and comparision between LibreOffice and Microsoft Word (121.53 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-11-20 10:13 UTC, Hannes
Details
Sample DOCX from MSO (15.54 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-01-24 10:17 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hannes 2020-11-20 10:08:04 UTC
Description:
In Libre Office Writer, the spacing after a text within a text box is ignored when the text is vertically aligned at the bottom of the text box.

Steps to Reproduce:
1. Open Microsoft Word. 
2. Insert a Text Box into the document.
3. Insert any text into the Text Box (e.g. Text)
4. Change the "Spacing After" of the paragraph of the inserted text (e.g. Spacing After = 10pt).
5. Change the "Verical alignment" of the Text Box to "Bottom"
6. Save the document.

Actual Results:
In Microsoft Word you can see that the text is vertically aligned at the bottom of the text box, but there is a gap at the bottom due to the "Spacing after" of the paragraph. 

In Libre Office Writer you can see that the text is vertically aligned at the bottom of the text box BUT there is NO gap at the bottom, because the "Spacing after" of the paragraph is NOT considered.

Expected Results:
Libre Office Writer should consider the "Spacing after" of the paragraph when the text is aligned at the bottom of the text box.


Reproducible: Always


User Profile Reset: No



Additional Info:
see attachment
Comment 1 Hannes 2020-11-20 10:13:26 UTC
Created attachment 167414 [details]
Steps to reproduce and comparision between LibreOffice and Microsoft Word
Comment 2 Xisco Faulí 2020-11-30 12:34:21 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2021-07-27 17:14:49 UTC
Bug 103611 was fixed, so could you please re-test with 7.1.x? If the problem still occurs, can you attach an example file produced by Word, so we can easily confirm?
Comment 4 QA Administrators 2022-01-24 03:35:48 UTC Comment hidden (obsolete)
Comment 5 Timur 2022-01-24 10:17:29 UTC
Created attachment 177740 [details]
Sample DOCX from MSO

Repro 7.4+. I set New.
Comment 6 Justin L 2023-06-08 00:29:24 UTC
repro 7.6