Created attachment 198813 [details] forum-mso-de-95557.docx: example document In this document, a bordered table contains a picture of a graph and another row with a caption. In 25.2, the table is gone and part of the caption is missing - and it is left aligned to the page, instead of being positioned underneath the picture, starting with commit 56588663a0fddc005c12afaa7d3f8874d036875f Author: László Németh on Fri Sep 13 09:02:08 2024 +0200 tdf#131728 sw inline heading: fix DOCX paragraph layout interoperability Steps to reproduce 1.) open forum-mso-de-95557.docx Notice that there is no table, there are no borders, there doesn't appear to be any caption, and the text does not contain " Abbildung 1- Grund der antibiotischen Therapie Test 1-2-3" Found by Collabora's mso-test
Created attachment 198814 [details] forum-mso-de-95557.docx_mso.pdf: how it looks without formatting marks in Word 2019
Created attachment 198815 [details] forum-mso-de-95557_CR.PNG: screenshot when formatting marks are displayed This was a very interesting document. The point of the commit is to make it looks like this image - where the "caption" is all on one line. But this document only looks like that when formatting marks are turned on. (I made a PDF while the formatting marks were on, but it still turned out like comment 1.) I would assume that some "hidden" aspect is coming into play here. Note that I only reference the initial commit. At least one other related commit has modified the layout. The caption itself was intact at comment 0's commit.
Created attachment 198816 [details] ooo124265-1.docx: multipage table (at page 40) is missing The same commit caused the loss of a table in this document also.
Created attachment 198832 [details] LO25.2.0.1 opening DOCX without (Left) and with (right) style separator Confirm: tables and frames are lost. Version: 25.2.0.1 (X86_64) / LibreOffice Community Build ID: ddb2a7ea3a8857aae619555f1a8743e430e146c9 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded There is also change that can be seen in the navigator. It looks like with commit 56588663a0fddc005c12afaa7d3f8874d036875f field is skipped, but there is a bookmark instead.
Proposed fix: https://gerrit.libreoffice.org/c/core/+/180925 (partial revert of 56588663a0fddc005c12afaa7d3f8874d036875f for floating tables).
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f1bbce4068828f3d1240afd50b228d820c17e848 tdf#164901 sw inline heading: fix lost floating tables It will be available in 25.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed in master, started back-porting. @Justin & Piotr: thanks for the detailed report and feedback!