Created attachment 184450 [details] Example file from Word 2016 This may or may not be the same as bug 137335 and may be boiling down to bug 127368 - but opening just in case RTF is different somewhat. Attached file has a hidden character with char size 13 pt and a 1 pt char size CR in Word. When the formatting marks, including hidden characters are hidden in Word, the table below the first paragraph jumps closer to the top of the page. This is because the row height is no longer defined the 13 pt tall hidden character, but the 1 pt CR mark. In Writer the row height stays the same, thus changing the layout in print preview / actual print. Also happens if the example document is saved to docx in Word. 1. Open attached document 2. In Options - Writer - Formatting Aids make sure the Hidden characters option is checked 3. Press the PI button on the Standard toolbar and notice the page layout does not change. In Word the table would jump closer to the top of the page. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 44355a90b3450111ad87ad4b6607a564e41d7b54 CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (hu_HU); UI: en-US Calc: threaded Also in older versions to 3.5, this behaved always the same.
If "PI button on the Standard toolbar" ist the Print Preview button, I confirm the behaviour with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b4dc43b6d01d85802d5674c3a27789d6354e39a8 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (de_DE); UI: en-GB Calc: CL threaded but I don't understand, why this is the wrong behaviour. If I hide the character, result is the same.
Created attachment 184899 [details] Formatting marks visible Sorry, forgot the screenshots here.
Created attachment 184900 [details] Formatting marks hidden - table moves closer to border only in Word
(In reply to Gabor Kelemen (allotropia) from comment #3) > Created attachment 184900 [details] > Formatting marks hidden - table moves closer to border only in Word Yes I understand, but I'm still not sure, that this is the expected behaviour. Think about 10 paragraphs with hidden chraracters. Layout would be changed totally, if it doesn't take into account "space" of hidden characters.
Created attachment 191085 [details] Updated example file
The content of attachment 184450 [details] has been deleted for the following reason: User's request
Confirmed Arch Linux 64-bit, X11 Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 88a7384edcd8f4240a659f2c2c7c1258471341f4 CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 17 January 2024